mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-06 10:58:52 +08:00
FlightTaskManualAltitude: fix update
This commit is contained in:
committed by
Beat Küng
parent
6a639373ae
commit
0ec312ef3d
@@ -56,7 +56,7 @@ bool FlightTaskManualAltitudeSmooth::activate()
|
||||
void FlightTaskManualAltitudeSmooth::_updateSetpoints()
|
||||
{
|
||||
/* Get yaw, thrust */
|
||||
FlightTaskManualStabilized::_updateSetpoints();
|
||||
FlightTaskManualAltitude::_updateSetpoints();
|
||||
|
||||
/* Smooth velocity setpoint */
|
||||
float vel_sp[2] = {_vel_sp_z, _vel_sp_prev_z};
|
||||
|
||||
Reference in New Issue
Block a user