FlightTaskManualAltitude: update comments

This commit is contained in:
Dennis Mannhart
2018-07-20 09:26:18 +02:00
committed by Lorenz Meier
parent 19bd7a9163
commit 63871bb4a5
2 changed files with 21 additions and 20 deletions
@@ -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();
};