Browse Source

EKF: remove redundant code

master
Paul Riseborough 7 years ago
parent
commit
5fd006ca48
  1. 6
      EKF/control.cpp

6
EKF/control.cpp

@ -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;
}
} }
} }

Loading…
Cancel
Save