mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-01 01:21:35 +08:00
FlightTaskAuto: override default constraints
This commit is contained in:
committed by
Lorenz Meier
parent
962c2eff61
commit
4d6539b076
@@ -70,7 +70,8 @@ public:
|
||||
bool updateInitialize() override;
|
||||
|
||||
protected:
|
||||
void _updateSetpointLimits() override;
|
||||
void _setDefaultConstraints() override;
|
||||
float _getMaxCruiseSpeed() {return MPC_XY_CRUISE.get();} /**< getter for default cruise speed */
|
||||
|
||||
matrix::Vector3f _prev_prev_wp{}; /**< Pre-previous waypoint (local frame). This will be used for smoothing trajectories -> not used yet. */
|
||||
matrix::Vector3f _prev_wp{}; /**< Previous waypoint (local frame). If no previous triplet is available, the prev_wp is set to current position. */
|
||||
|
||||
Reference in New Issue
Block a user