mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 19:53:34 +08:00
added offboard lost actions with additional timeout
This commit is contained in:
@@ -104,6 +104,36 @@ PARAM_DEFINE_INT32(NAV_DLL_ACT, 0);
|
||||
*/
|
||||
PARAM_DEFINE_INT32(NAV_RCL_ACT, 0);
|
||||
|
||||
/**
|
||||
* Set offboard loss failsafe mode
|
||||
*
|
||||
* The offboard loss failsafe will only be entered after a timeout,
|
||||
* set by COM_OF_LOSS_T in seconds.
|
||||
*
|
||||
* @value 0 Land at current position
|
||||
* @value 1 Loiter
|
||||
* @value 2 Return to Land
|
||||
*
|
||||
* @group Mission
|
||||
*/
|
||||
PARAM_DEFINE_INT32(NAV_OBL_ACT, 0);
|
||||
|
||||
/**
|
||||
* Set offboard loss failsafe mode when RC is available
|
||||
*
|
||||
* The offboard loss failsafe will only be entered after a timeout,
|
||||
* set by COM_OF_LOSS_T in seconds.
|
||||
*
|
||||
* @value 0 Position control
|
||||
* @value 1 Altitude control
|
||||
* @value 2 Manual
|
||||
* @value 3 Return to Land
|
||||
* @value 4 Land at current position
|
||||
*
|
||||
* @group Mission
|
||||
*/
|
||||
PARAM_DEFINE_INT32(NAV_OBL_RC_ACT, 0);
|
||||
|
||||
/**
|
||||
* Airfield home Lat
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user