EKF: Don't print navigation lost message on startup

This commit is contained in:
Paul Riseborough 2017-12-04 09:30:21 +11:00 committed by Lorenz Meier
parent e3da71c89d
commit 83b765f707
1 changed files with 3 additions and 1 deletions

View File

@ -1336,7 +1336,9 @@ void Ekf::controlVelPosFusion()
_last_known_posNE(1) = _state.pos(1);
_state.vel.setZero();
_fuse_hpos_as_odom = false;
ECL_WARN("EKF stopping navigation");
if (_time_last_fake_gps != 0) {
ECL_WARN("EKF stopping navigation");
}
}