forked from Archive/PX4-Autopilot
EKF: remove redundant code
This commit is contained in:
parent
01d68ef67c
commit
5fd006ca48
|
@ -167,12 +167,6 @@ void Ekf::controlExternalVisionFusion()
|
|||
} else {
|
||||
resetPosition();
|
||||
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;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue