Skip to content

Commit

Permalink
[fw ahrs] no need to update old fixed wing estimator
Browse files Browse the repository at this point in the history
  • Loading branch information
gautierhattenberger committed Aug 21, 2012
1 parent 2e097ad commit 5ab06a9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions sw/airborne/firmwares/fixedwing/main_ap.c
Expand Up @@ -685,7 +685,6 @@ static inline void on_gyro_event( void ) {

ahrs_propagate();
ahrs_update_accel();
ahrs_update_fw_estimator();

#ifdef AHRS_TRIGGERED_ATTITUDE_LOOP
new_ins_attitude = 1;
Expand Down Expand Up @@ -725,8 +724,6 @@ static inline void on_gyro_event( void ) {
ahrs_update_accel();
}

ahrs_update_fw_estimator();

#ifdef AHRS_TRIGGERED_ATTITUDE_LOOP
new_ins_attitude = 1;
#endif
Expand Down

0 comments on commit 5ab06a9

Please sign in to comment.