mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-29 08:23:34 +08:00
Add Range-based RTL
This commit is contained in:
committed by
Lorenz Meier
parent
e817fb83f5
commit
7482413005
@@ -137,6 +137,16 @@ PARAM_DEFINE_INT32(RTL_TYPE, 0);
|
||||
*/
|
||||
PARAM_DEFINE_INT32(RTL_CONE_ANG, 45);
|
||||
|
||||
/**
|
||||
* Maximum allowed RTL flight in minutes
|
||||
*
|
||||
* This is used to determine when the vehicle should be switched to RTL due to low battery.
|
||||
* Note, particularly for multirotors this should reflect flight time at cruise speed, not while stationary
|
||||
*
|
||||
* @group Commander
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(RTL_FLT_TIME, 15);
|
||||
|
||||
/**
|
||||
* RTL precision land mode
|
||||
*
|
||||
@@ -147,4 +157,4 @@ PARAM_DEFINE_INT32(RTL_CONE_ANG, 45);
|
||||
* @value 2 Required precision landing
|
||||
* @group Return To Land
|
||||
*/
|
||||
PARAM_DEFINE_INT32(RTL_PLD_MD, 0);
|
||||
PARAM_DEFINE_INT32(RTL_PLD_MD, 0);
|
||||
Reference in New Issue
Block a user