mc_pos_control: timestamp fix for vel_sp

This commit is contained in:
Dennis Mannhart
2017-02-01 17:54:02 +01:00
committed by Beat Küng
parent a66a25b884
commit 299c40f627
@@ -1692,6 +1692,7 @@ MulticopterPositionControl::control_position(float dt)
_vel_sp_prev = _vel_sp;
_global_vel_sp.timestamp = hrt_absolute_time();
_global_vel_sp.vx = _vel_sp(0);
_global_vel_sp.vy = _vel_sp(1);
_global_vel_sp.vz = _vel_sp(2);