Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Commit

Permalink
Merge pull request #158 from CarlOlsson/act_ars_off_by_default
Browse files Browse the repository at this point in the history
activate tas fusion, off by default
  • Loading branch information
priseborough committed Jun 8, 2016
2 parents e72788b + eded0a8 commit 2024252
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions EKF/ekf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -365,9 +365,8 @@ bool Ekf::update()
_fuse_flow = false;
}

// TODO This is just to get the logic inside but we will only start fusion once we tested this again
//if (_airspeed_buffer.pop_first_older_than(_imu_sample_delayed.time_us, &_airspeed_sample_delayed)) {
if (false) {
// If we are using airspeed measurements and data has fallen behind the fusion time horizon then fuse it
if (_airspeed_buffer.pop_first_older_than(_imu_sample_delayed.time_us, &_airspeed_sample_delayed)) {
fuseAirspeed();
}
}
Expand Down

0 comments on commit 2024252

Please sign in to comment.