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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login