Disable GPS and compass
-
I tried unplugging the GPS module but got an error in qgroundcontrol that the compass is missing. Looks like there's one on the GPS board. What parameters do I need to change in qgc to disable GPS and the compass so I can arm and fly with the GPS module unplugged?
-
I tried unplugging the GPS module but got an error in qgroundcontrol that the compass is missing. Looks like there's one on the GPS board. What parameters do I need to change in qgc to disable GPS and the compass so I can arm and fly with the GPS module unplugged?
@Hunter-Scott , please try setting the following PX4 params to disable magnetometer :
- SYS_HAS_MAG to 0
- EKF2_MAG_TYPE to 5
-
@Hunter-Scott , please try setting the following PX4 params to disable magnetometer :
- SYS_HAS_MAG to 0
- EKF2_MAG_TYPE to 5
Thanks, this worked!
-
A Alex Kushleyev referenced this topic on
-
Thanks, this worked!
Good tip. For anyone testing without the GPS module attached, setting SYS_HAS_MAG=0 and EKF2_MAG_TYPE=5 seems to be the key part since the compass is on the GPS board. I was also looking at some compass-related references on 123compass.org while trying to understand the magnetometer side of it.
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