Add filter control logic

This commit is contained in:
Paul Riseborough
2016-01-30 09:01:48 +11:00
parent 9236f11c80
commit 46b0e9654c
10 changed files with 309 additions and 84 deletions
+1 -1
View File
@@ -561,7 +561,7 @@ void Ekf::fuseHeading()
// if we are in air we don't want to fuse the measurement
// we allow to use it when on the ground because the large innovation could be caused
// by interference or a large initial gyro bias
if (_in_air) {
if (_control_status.flags.in_air) {
return;
}