forked from Archive/PX4-Autopilot
systemlib: Add circuit breaker parameter for position error checks
This commit is contained in:
parent
e61e733d1d
commit
519e903347
|
@ -57,6 +57,7 @@
|
|||
#define CBRK_ENGINEFAIL_KEY 284953
|
||||
#define CBRK_GPSFAIL_KEY 240024
|
||||
#define CBRK_USB_CHK_KEY 197848
|
||||
#define CBRK_VELPOSERR_KEY 201607
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
|
|
|
@ -169,3 +169,17 @@ PARAM_DEFINE_INT32(CBRK_BUZZER, 0);
|
|||
* @group Circuit Breaker
|
||||
*/
|
||||
PARAM_DEFINE_INT32(CBRK_USB_CHK, 0);
|
||||
|
||||
/**
|
||||
* Circuit breaker for position error check
|
||||
*
|
||||
* Setting this parameter to 201607 will disable the position and velocity
|
||||
* accuracy checks in the commander.
|
||||
* WARNING: ENABLING THIS CIRCUIT BREAKER IS AT OWN RISK
|
||||
*
|
||||
* @reboot_required true
|
||||
* @min 0
|
||||
* @max 201607
|
||||
* @group Circuit Breaker
|
||||
*/
|
||||
PARAM_DEFINE_INT32(CBRK_VELPOSERR, 0);
|
||||
|
|
Loading…
Reference in New Issue