Support more failsafe actions on data link and RC loss

This commit is contained in:
Lorenz Meier
2016-04-23 16:31:03 +02:00
parent b402cd9336
commit 82d51c5d17
3 changed files with 37 additions and 16 deletions
+21 -8
View File
@@ -65,24 +65,37 @@ PARAM_DEFINE_FLOAT(NAV_LOITER_RAD, 50.0f);
PARAM_DEFINE_FLOAT(NAV_ACC_RAD, 10.0f);
/**
* Set OBC mode for data link loss
* Set data link loss failsafe mode
*
* If set to 1 the behaviour on data link loss is set to a mode according to the Outback Challenge (OBC) rules
* The data link loss failsafe will only be entered after a timeout,
* set by a DIFFERENT parameter. If the timeout value is smaller than
* zero it will never be entered.
*
* @value 0 Loiter
* @value 1 Return to Land
* @value 2 Land at current position
* @value 3 Outback Challenge (OBC) rules
*
* @boolean
* @group Mission
*/
PARAM_DEFINE_INT32(NAV_DLL_OBC, 0);
PARAM_DEFINE_INT32(NAV_DLL_ACT, 1);
/**
* Set OBC mode for rc loss
* Set RC loss failsafe mode
*
* If set to 1 the behaviour on data link loss is set to a mode according to the Outback Challenge (OBC) rules
* The RC loss failsafe will only be entered after a timeout,
* set by a DIFFERENT parameter. If the timeout value is smaller than
* zero it will never be entered. If RC input checks have been disabled
* by setting the COM_RC_IN_MODE param it will also not be triggered.
*
* @value 0 Loiter
* @value 1 Return to Land
* @value 2 Land at current position
* @value 3 Outback Challenge (OBC) rules
*
* @boolean
* @group Mission
*/
PARAM_DEFINE_INT32(NAV_RCL_OBC, 0);
PARAM_DEFINE_INT32(NAV_RCL_ACT, 1);
/**
* Airfield home Lat