mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 17:28:54 +08:00
FlightTaskManaulAltitude: fix activation
This commit is contained in:
committed by
Beat Küng
parent
0ec312ef3d
commit
1ddcc7a3ee
@@ -50,7 +50,7 @@ FlightTaskManualAltitudeSmooth::FlightTaskManualAltitudeSmooth(control::SuperBlo
|
||||
bool FlightTaskManualAltitudeSmooth::activate()
|
||||
{
|
||||
_vel_sp_prev_z = _velocity(2);
|
||||
return FlightTaskManualStabilized::activate();
|
||||
return FlightTaskManualAltitude::activate();
|
||||
}
|
||||
|
||||
void FlightTaskManualAltitudeSmooth::_updateSetpoints()
|
||||
|
||||
Reference in New Issue
Block a user