mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-31 04:11:35 +08:00
FlightTaskManualAlt/Position/Sport: replace limits with constraint member structure
This commit is contained in:
committed by
Lorenz Meier
parent
6f704bd1e4
commit
9e740f1aff
@@ -45,8 +45,8 @@ class FlightTaskManualAltitude : public FlightTaskManualStabilized
|
||||
{
|
||||
public:
|
||||
FlightTaskManualAltitude() = default;
|
||||
|
||||
virtual ~FlightTaskManualAltitude() = default;
|
||||
bool activate() override;
|
||||
|
||||
protected:
|
||||
void _updateSetpoints() override; /**< updates all setpoints */
|
||||
@@ -64,7 +64,6 @@ protected:
|
||||
(ParamFloat<px4::params::SENS_FLOW_MINRNG>) SENS_FLOW_MINRNG,
|
||||
(ParamInt<px4::params::MPC_ALT_MODE>) MPC_ALT_MODE
|
||||
)
|
||||
|
||||
private:
|
||||
/**
|
||||
* Distance to ground during terrain following.
|
||||
|
||||
Reference in New Issue
Block a user