Browse Source

AP_AHRS: re-run update_trig() after EKF AHRS update

mission-4.1.18
Andrew Tridgell 11 years ago
parent
commit
801ceacaf2
  1. 1
      libraries/AP_AHRS/AP_AHRS_NavEKF.cpp

1
libraries/AP_AHRS/AP_AHRS_NavEKF.cpp

@ -77,6 +77,7 @@ void AP_AHRS_NavEKF::update(void) @@ -77,6 +77,7 @@ void AP_AHRS_NavEKF::update(void)
yaw_sensor = degrees(yaw) * 100;
if (yaw_sensor < 0)
yaw_sensor += 36000;
update_trig();
}
}
}

Loading…
Cancel
Save