mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-31 09:01:35 +08:00
FlightTaskManualAltitude: update comments
This commit is contained in:
committed by
Lorenz Meier
parent
19bd7a9163
commit
63871bb4a5
@@ -49,6 +49,9 @@ public:
|
||||
virtual ~FlightTaskManualAltitude() = default;
|
||||
|
||||
protected:
|
||||
void _updateSetpoints() override; /**< updates all setpoints */
|
||||
void _scaleSticks() override; /**< scales sticks to velocity in z */
|
||||
|
||||
/**
|
||||
* Check and sets for position lock.
|
||||
* If sticks are at center position, the vehicle
|
||||
@@ -56,14 +59,6 @@ protected:
|
||||
*/
|
||||
void _updateAltitudeLock();
|
||||
|
||||
void _respectMinAltitude();
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
void _updateSetpoints() override; /**< updates all setpoints */
|
||||
void _scaleSticks() override; /**< scales sticks to velocity in z */
|
||||
|
||||
DEFINE_PARAMETERS_CUSTOM_PARENT(FlightTaskManualStabilized,
|
||||
(ParamFloat<px4::params::MPC_HOLD_MAX_Z>) MPC_HOLD_MAX_Z,
|
||||
(ParamFloat<px4::params::SENS_FLOW_MINRNG>) SENS_FLOW_MINRNG,
|
||||
@@ -88,4 +83,11 @@ private:
|
||||
*/
|
||||
void _terrain_following(bool apply_brake, bool stopped);
|
||||
|
||||
/**
|
||||
* Minimum Altitude during range sensor operation.
|
||||
* If a range sensor is used for altitude estimates, for
|
||||
* best operation a minimum altitude is required. The minimum
|
||||
* altitude is only enforced during altitude lock.
|
||||
*/
|
||||
void _respectMinAltitude();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user