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?
-
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. -
@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.@Eric-Katzfey Ok, also is there a way to buy the GPS chip since I did not see it on the available products?
-
@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.@Eric-Katzfey Also, for EKF2_MASG_TYPe, my options are Automatic, Magnetic Heading, 3-axis, VTOL custom, MC custom, and None, which corresponds to 5?
-
@Eric-Katzfey Also, for EKF2_MASG_TYPe, my options are Automatic, Magnetic Heading, 3-axis, VTOL custom, MC custom, and None, which corresponds to 5?
@Nitin-Varma-Vegesna None
-
@Eric-Katzfey Ok, also is there a way to buy the GPS chip since I did not see it on the available products?
@Nitin-Varma-Vegesna I think it's this one: https://store.3dr.com/mini-gps-ublox-max-m10s/
-
@Nitin-Varma-Vegesna I think it's this one: https://store.3dr.com/mini-gps-ublox-max-m10s/
@Eric-Katzfey Ok, thank you!
-
@Eric-Katzfey Now, it arms successfully, even though it says Preflight Fail: heading estimate not stable and Preflight Fail: Yaw estimate error. Is this an issue?
-
@Eric-Katzfey Now, it arms successfully, even though it says Preflight Fail: heading estimate not stable and Preflight Fail: Yaw estimate error. Is this an issue?
@Nitin-Varma-Vegesna If you are just flying in manual or altitude hold modes then those shouldn't be an issue.
-
@Nitin-Varma-Vegesna If you are just flying in manual or altitude hold modes then those shouldn't be an issue.
This post is deleted! -
[[topic:post-is-deleted]]This post is deleted!
-
@Nitin-Varma-Vegesna If you are just flying in manual or altitude hold modes then those shouldn't be an issue.
@Eric-Katzfey What about autonomous control indoors, and how could that be fixed if it's an issue? This is with a new GPS as well. Do I have to configure anything? Also, for the EKF2_GPS_CTRL, I reset to default: 7
-
@Eric-Katzfey What about autonomous control indoors, and how could that be fixed if it's an issue? This is with a new GPS as well. Do I have to configure anything? Also, for the EKF2_GPS_CTRL, I reset to default: 7
Here is an image of when I start autonomous exploration (not flying yet) but moving it with hand, I am getting these preflight errors that I used to not get.
This is with SYS_HAS_GPS, and SYS_HAS_MAG to 1, EKF2_MAG_TYPE = Automatic, EKF2_GPS_CTRL = 7
Also, voxl-inspect-gps is saying NO GPS for fix type:
dt(ms) |fix type|Sats|Latitude(deg)|Longitude(deg)| Alt(m) |Vel(m/s)|HorErr(m)|AltErr(m)|
129.5 | NO GPS | 0 | 0.0000000 | 0.0000000 | -17.0 | 0.00 | 4294967.295 | 4092465.408 |^C -
Here is an image of when I start autonomous exploration (not flying yet) but moving it with hand, I am getting these preflight errors that I used to not get.
This is with SYS_HAS_GPS, and SYS_HAS_MAG to 1, EKF2_MAG_TYPE = Automatic, EKF2_GPS_CTRL = 7
Also, voxl-inspect-gps is saying NO GPS for fix type:
dt(ms) |fix type|Sats|Latitude(deg)|Longitude(deg)| Alt(m) |Vel(m/s)|HorErr(m)|AltErr(m)|
129.5 | NO GPS | 0 | 0.0000000 | 0.0000000 | -17.0 | 0.00 | 4294967.295 | 4092465.408 |^C@Nitin-Varma-Vegesna If you re-install or update your SDK to the latest it will properly set all of the parameters.
-
@Nitin-Varma-Vegesna If you re-install or update your SDK to the latest it will properly set all of the parameters.
@Eric-Katzfey I would rather not delete everything outside of /data/, is there a way to reset the params of px4 another way? This issue only happens when I start exploration, and I move the drone up with my hand slightly, but why do I get FCU: Vision Failure.
-
@Eric-Katzfey I would rather not delete everything outside of /data/, is there a way to reset the params of px4 another way? This issue only happens when I start exploration, and I move the drone up with my hand slightly, but why do I get FCU: Vision Failure.
@Nitin-Varma-Vegesna You can set parameters via
voxl-configure-px4-params. -
@Nitin-Varma-Vegesna You can set parameters via
voxl-configure-px4-params.@Eric-Katzfey That is what I did to reset the params prior to this happening.
-
@Eric-Katzfey That is what I did to reset the params prior to this happening.
@Nitin-Varma-Vegesna Well, that's why I asked you to do the full SDK installation. If you install the SDK and set it up as we do from the factory then it should be working like when you first got it. If it doesn't then that potentially points to some damage caused by the crash and not some configuration change you have made since then.
Reading along? Create a free ModalAI Forum account to join in.
With an account you can reply, ask your own question, get an email when a ModalAI engineer answers, and mark the reply that solved it. Your place in each thread is saved between visits.
Questions about VOXL, Flight Core, ESCs and ModalAI drones are answered here by the engineers who build them.
Register Login
