Skip to content

Commit

Permalink
Remove not used code
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilritz authored and priseborough committed Aug 24, 2020
1 parent 0fafd4d commit 4872f2a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions EKF/ekf_helper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,6 @@ void Ekf::resetHorizontalVelocityToOpticalFlow() {

void Ekf::resetVelocityToVision() {
ECL_INFO_TIMESTAMPED("reset to vision velocity");
Vector3f _ev_vel = _ev_sample_delayed.vel;
if(_params.fusion_mode & MASK_ROTATE_EV){
_ev_vel = _R_ev_to_ekf *_ev_sample_delayed.vel;
}
resetVelocityTo(getVisionVelocityInEkfFrame());
P.uncorrelateCovarianceSetVariance<3>(4, getVisionVelocityVarianceInEkfFrame());
}
Expand Down

0 comments on commit 4872f2a

Please sign in to comment.