commander add parameters for eph, epv, evh requirements

This commit is contained in:
Daniel Agar
2018-04-24 00:02:48 -04:00
parent 255cc12c48
commit b70e7433dc
3 changed files with 47 additions and 17 deletions
+30
View File
@@ -714,6 +714,36 @@ PARAM_DEFINE_INT32(COM_POS_FS_PROB, 30);
*/
PARAM_DEFINE_INT32(COM_POS_FS_GAIN, 10);
/**
* Horizontal position error threshold.
*
* This is the horizontal position error (EPV) threshold that will trigger a failsafe. The default is appropriate for a multicopter. Can be increased for a fixed-wing.
*
* @unit m
* @group Commander
*/
PARAM_DEFINE_FLOAT(COM_POS_FS_EPH, 5);
/**
* Vertical position error threshold.
*
* This is the vertical position error (EPV) threshold that will trigger a failsafe. The default is appropriate for a multicopter. Can be increased for a fixed-wing.
*
* @unit m
* @group Commander
*/
PARAM_DEFINE_FLOAT(COM_POS_FS_EPV, 10);
/**
* Horizontal velocity error threshold.
*
* This is the horizontal velocity error (EVH) threshold that will trigger a failsafe. The default is appropriate for a multicopter. Can be increased for a fixed-wing.
*
* @unit m
* @group Commander
*/
PARAM_DEFINE_FLOAT(COM_VEL_FS_EVH, 1);
/**
* Next flight UUID
*