ArduPilot / ardupilot

ArduPlane, ArduCopter, ArduRover, ArduSub source
http://ardupilot.org/
GNU General Public License v3.0
11.09k stars 17.66k forks source link

Copter: log GPS and Baro glitches #2729

Open rmackay9 opened 9 years ago

rmackay9 commented 9 years ago

Since moving to the EKF in AC3.3 we've lost the logging of barometer and GPS glitches. We should get these back because they help with support if they appear as Errors in the logs so that the support person can easily see that the GPS or Baro quality was bad.

peterbarker commented 6 years ago

We do long GPS glitches again now.

peterbarker commented 3 years ago

@rmackay9 how did baro glitch detection work?

rmackay9 commented 3 years ago

@peterbarker,

Inertial nav had a gate within which the baro sensor values would need to fall in order to be fused. After a certain amount of time a reset to the baro's latest value would happen. The EKF does the same thing I think. The glitch and the eventual reset are a bit like bookends to these events and we should be logging the resets as well... maybe it would be sufficient just to log the resets.