Skip to content

Commit

Permalink
keep ev timeout sign always positive
Browse files Browse the repository at this point in the history
  • Loading branch information
EliaTarasov authored and LorenzMeier committed Jun 10, 2018
1 parent a8b73bd commit 26dcf05
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions EKF/control.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,7 @@ void Ekf::controlExternalVisionFusion()
}

} else if (_control_status.flags.ev_pos
&& (_time_last_imu >= _time_last_ext_vision)
&& (_time_last_imu - _time_last_ext_vision > (uint64_t)_params.no_gps_timeout_max)) {

// Turn off EV fusion mode if no data has been received
Expand Down

0 comments on commit 26dcf05

Please sign in to comment.