mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 13:58:53 +08:00
follow-me: formatting
This commit is contained in:
committed by
Daniel Agar
parent
5f19eeaaa5
commit
48f3bd4078
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user