Browse Source

follow-me: formatting

release/1.12
Alessandro Simovic 4 years ago committed by Daniel Agar
parent
commit
48f3bd4078
  1. 1
      src/modules/navigator/follow_target.cpp

1
src/modules/navigator/follow_target.cpp

@ -161,6 +161,7 @@ void FollowTarget::on_active() @@ -161,6 +161,7 @@ void FollowTarget::on_active()
_est_target_vel(0) = _current_target_motion.vx;
_est_target_vel(1) = _current_target_motion.vy;
_est_target_vel(2) = 0.0f;
} else {
_est_target_vel = _target_position_delta / (dt_ms / 1000.0f);
}

Loading…
Cancel
Save