mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-18 16:20:34 +08:00
EKF: remove redundant code
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user