mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-01 13:40:35 +08:00
FlightTasks: remove updateFinalize() concept because it got obsolete
This commit is contained in:
committed by
Daniel Agar
parent
9eac0edbc0
commit
35d4986ea7
@@ -214,17 +214,13 @@ bool FlightTaskAuto::update()
|
||||
// update previous type
|
||||
_type_previous = _type;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
bool FlightTaskAuto::updateFinalize()
|
||||
{
|
||||
// All the auto FlightTasks have to comply with defined maximum yaw rate
|
||||
// If the FlightTask generates a yaw or a yawrate setpoint that exceeds this value
|
||||
// it will see its setpoint constrained here
|
||||
_limitYawRate();
|
||||
|
||||
_constraints.want_takeoff = _checkTakeoff();
|
||||
return true;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
void FlightTaskAuto::_prepareLandSetpoints()
|
||||
|
||||
Reference in New Issue
Block a user