MRO m10038 heading drift woes
We are using the MRO m10038 GPS unit with mag. We are getting a lot of heading drift which is causing the drone to be quit unstable/not flyable.
ModalAI had recommended us to use the mRO line of products. Is there a setting/configuration that we can use to get this compass wandering down?
Chad Sweet last edited by
We have tested connectivity with the mro GPS, but do not have much flight time. Generally though compass performance comes down to a few things:
- Proximity to magnetic interference. Both the motors and the high-speed electronics are common sources of magnetic interference.
Do you have the magnetometer mounted far enough away from the motors and electronics?
@Chad-Sweet Because of our airframe we are a bit closer than we would like to be. However, we have been trying to use mu-metal to block out interference with limited success.
When we try to place the mu-metal a half-inch beneath the mag and calibrate we get "large offset" errors.
We have tested on another flight controller and have not seen the same drift issues. That is why we are thinking it is interference.
However, it is so bad we can not even take off and keep position.
Is there anything on the VOXL Flight, Microhard, or stereo, tof, hires camera, that we should be shielding?
@Chad-Sweet We have VIO on the voxl turned on, but our EKF2 is set to only pay attention to GPS (bitmask 1).
Could our VIO still be feeding yaw and messing up the heading?
So, here is how we solved our issue.
Even though EKF2 bitmask was set to only listen to GPS, heading still appeared to take VIO into consideration.
After turning off VIO on VOXL we got MUCH better readings. Then, after we realized this, we changed out bitmask to 329 (which is in the instructions for flying outdoors without GPS here: https://docs.modalai.com/flying-without-gps/
So, our problem appears to be resolved right now. We just need to test repeatability for this solution