EKF: remove redundant code

This commit is contained in:
Paul Riseborough 2017-11-11 07:06:01 +11:00
parent 01d68ef67c
commit 5fd006ca48
1 changed files with 0 additions and 6 deletions

View File

@ -167,12 +167,6 @@ void Ekf::controlExternalVisionFusion()
} else { } else {
resetPosition(); resetPosition();
resetVelocity(); resetVelocity();
// we cannot use an absolue position from a rotating reference frame
if (_params.fusion_mode & MASK_ROTATE_EV) {
_fuse_hpos_as_odom = true;
} else {
_fuse_hpos_as_odom = false;
}
} }
} }