Preflight Fail: Compass Sensor 0 missing
-
Hello, the top of the starling2 that holds the gps broke off and now I get the error Preflight Fail: Compass Sensor 0 missing. How do I fix this? I still have the gps, but did something else get lost or get loose? What exactly is the compass sensor in the starling 2. Also, for my endeavors, I don't need gps, so is there a way to prevent this error?
-
@Nitin-Varma-Vegesna In
/etc/modalai/voxl-px4.confset GPS to NONE. Then set the PX4 parameters SYS_HAS_GPS, and SYS_HAS_MAG to 0. Set EKF2_MAG_TYPE to 5. Set EKF2_GPS_CTRL to 0. Then reboot and see if the preflight error is cleared.