Compass variance on Copter 3.4-rc1 on Navio 2

@george.staroselskiy
Okay, see below. I did what I could before my laptop died. I will provide information about the setup of each flight ABOVE the individual logs. Anywhere where it maps the quad outside of that parking pull-off or over the road is NOT accurate. The flights remained over the pull-off and the road only. Throughout all of these were various EKF Velocity errors, EKF horiz position erros, EKF vert postion errors, and of course EKF compass errors. I could not get a stable Loiter in ANY of these flights. ALT hold was bouncing around too. It’s a struggle to varying degrees to keep the quad where I want it in stab mode (and I know how to fly RCs). Sometimes in loiter mode the quad would only drift by a few meters, whereas other times it would have SERIOUS errors and start to fly away (of course I switch it to STAB mode at this point). The last Navio2 3.4unstable flight resulted in a crash IN stab mode (only from a meter up). Just a broken landing gear leg, nbd.

Navio+ AC3.3 – Stock params except rc cal, accel cal, mag cal, compassmot, various camera trigger params, batt volt and curr params, etc. I only altered the mag/compass information for each of them. The params that should remain the same did remain the same.

Compassmot was applied to this run. Live mag calibration at the flight sight.

Compassmot was NOT applied to this run. Live mag calibration occurred after the previous flight and after compassmot params were set back to default. Mag cal at flight sight. I could not get a GPS fix for this flight despite JUST having one (along with a good sky view). Not sure what’s going on with that… Connection was fine. I always get a quick fix here.

Navio2 3.4 rc1 – These Navio2 runs (rc1 and unstable) shared all the same basic params: rc cal info, accel cal info, battery and camera trigger info, etc. Again, the differences here lie in the various mag/compass params. See below. I couldn’t do the compassmot in the field due to time constraints.

Onboard mag cal at field sight with Compass2 enabled. Basically setup how the docs says to. No compassmot.

Same onboard mag cal as above but with Compass1 enabled. No compassmot.

FLIGHT3: New onboard mag cal at field sight with Compass1 enabled. No compassmot. I could not get a GPS fix on this flight, and I always get a fix with the Navio2 board, even in my bedroom…
FLIGHT4: Same setup as Flight3 (above) but a GPS fix all of a sudden…

Navio2 – 3.4 unstable

Live mag cal at flight sight with Compass1 enabled. No compassmot.

New live mag cal at flight sight with Compass2 enabled and Roll_180 selected. No compassmot.

Also, maybe it’s my setup (see picture)? Is it the Reach (the onboard Reach wifi is connected to my laptop…)? I’m running 2x 3s batteries in parallel. They are as far away from the board as I can get them. Maybe it’s the servo wires? I don’t know. I disabled the camera wife that’s mounted underneath. The Navio+ and Navio2 are using RPI3’s with identical hardware setups (except the SBUS to PPM converter). Using the 20160408 image. Navio+ is running AC3.3. Navio2 is running AC3.4Unstable or AC3.4-rc1. AC3.4Unstable was not updated or upgraded in the terminal. Straight-up 20160408 image. AC3.4-rc1 was compiled from source a few days ago.

Nothing is really working. Short of installing this 3DR GPS/compass combo that’s coming today, I’m not really sure what to do…

Also, I forgot to set armed logging for the Navio2 runs (I use a different Mission Planner for Navio+ and Navio2).

If anyone (that reads down this far) has a working quad with no EKF issues with great loiter capabilities, can you send me a recent dataflash log so that I can compare.

*apologies for any typos.

Austin M

Edit: Should we look into EKF1 v EKF2…?



1 Like