mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-10 19:11:35 +08:00
Failure Detector - Use dedicated parameters for attitude checks
This commit is contained in:
@@ -746,6 +746,30 @@ PARAM_DEFINE_FLOAT(COM_POS_FS_EPV, 10);
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(COM_VEL_FS_EVH, 1);
|
||||
|
||||
/**
|
||||
* FailureDetector Max Roll
|
||||
*
|
||||
* Maximum roll angle before FailureDetector triggers the attitude_failure flag
|
||||
* Does not affect the behavior of the vehicle for now; only for logging
|
||||
* @min 0
|
||||
* @max 180
|
||||
* @unit degrees
|
||||
* @group Commander
|
||||
*/
|
||||
PARAM_DEFINE_INT32(COM_FAIL_R, 60);
|
||||
|
||||
/**
|
||||
* FailureDetector Max Pitch
|
||||
*
|
||||
* Maximum pitch angle before FailureDetector triggers the attitude_failure flag
|
||||
* Does not affect the behavior of the vehicle for now; only for logging
|
||||
* @min 0
|
||||
* @max 180
|
||||
* @unit degrees
|
||||
* @group Commander
|
||||
*/
|
||||
PARAM_DEFINE_INT32(COM_FAIL_P, 60);
|
||||
|
||||
/**
|
||||
* Next flight UUID
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user