Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EKF2 skipping magnetometer axes upon other axis failure #13912

Closed
peterbarker opened this issue Mar 27, 2020 · 1 comment
Closed

EKF2 skipping magnetometer axes upon other axis failure #13912

peterbarker opened this issue Mar 27, 2020 · 1 comment
Assignees

Comments

@peterbarker
Copy link
Contributor

Bug report

Issue details

This branch abort()s the simulation if we skip an axis. If you are flying past the 60 second mark you can expect it to do so:

https://github.com/ArduPilot/ardupilot/compare/master...peterbarker:wip/ekf2-magfusion-issue?expand=1


https://github.com/ArduPilot/ardupilot/compare/master...peterbarker:wip/ekf2-magfusion-issue?expand=1 <- that branch shows the EKF2 issue I was muttering about yesterday.  My understanding is that our handling of each axis is supposed to be independent (assumed no coupling between them).  Those hacks seem to show that a failure on one axis will cause us to skip the next axis.  So if x fails we go straight to z.  You can test that in SITL with "arm throttle; rc 3 2000; rc 3 1500"... and then wait.  Suitable pauses required so you're actually flying, of course :-)
  You can expect it to abort at the 60 second mark when we actually force-fail the mag.

Paul: If we fail one, we should fail all three or only the affected axis.

Version
master

Platform
[ X ] All
[ ] AntennaTracker
[ ] Copter
[ ] Plane
[ ] Rover
[ ] Submarine

Airframe type
All

Hardware type
SITL

Logs
n/a

@peterbarker peterbarker changed the title EKF2 skipping axes upon other axis failure EKF2 skipping magnetometer axes upon other axis failure Mar 27, 2020
@peterbarker
Copy link
Contributor Author

@priseborough fixed this :-)

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants