RTL params: increase max of RTL_RETURN_ALT and improve description

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
Silvan Fuhrer
2022-08-03 17:06:20 +02:00
committed by Matthias Grob
parent cfdaba35cc
commit b0a7d206f3
+5 -3
View File
@@ -47,16 +47,17 @@
* Return mode return altitude
*
* Default minimum altitude above destination (e.g. home, safe point, landing pattern) for return flight.
* The vehicle will climb to this altitude when Return mode is enganged, unless it currently is flying higher already.
* This is affected by RTL_MIN_DIST and RTL_CONE_ANG.
*
* @unit m
* @min 0
* @max 150
* @max 1000
* @decimal 1
* @increment 0.5
* @group Return Mode
*/
PARAM_DEFINE_FLOAT(RTL_RETURN_ALT, 60);
PARAM_DEFINE_FLOAT(RTL_RETURN_ALT, 60.f);
/**
@@ -64,6 +65,7 @@ PARAM_DEFINE_FLOAT(RTL_RETURN_ALT, 60);
*
* Descend to this altitude (above destination position) after return, and wait for time defined in RTL_LAND_DELAY.
* Land (i.e. slowly descend) from this altitude if autolanding allowed.
* VTOLs do transition to hover in this altitdue above the landing point.
*
* @unit m
* @min 2
@@ -72,7 +74,7 @@ PARAM_DEFINE_FLOAT(RTL_RETURN_ALT, 60);
* @increment 0.5
* @group Return Mode
*/
PARAM_DEFINE_FLOAT(RTL_DESCEND_ALT, 30);
PARAM_DEFINE_FLOAT(RTL_DESCEND_ALT, 30.f);
/**
* Return mode delay