mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Failure detector - Disable flight termination by default. Modify FD_FAIL parameters description
This commit is contained in:
parent
81bb7888de
commit
a72de95c94
@ -113,7 +113,7 @@ PARAM_DEFINE_INT32(CBRK_AIRSPD_CHK, 0);
|
||||
* @category Developer
|
||||
* @group Circuit Breaker
|
||||
*/
|
||||
PARAM_DEFINE_INT32(CBRK_FLIGHTTERM, 0);
|
||||
PARAM_DEFINE_INT32(CBRK_FLIGHTTERM, 121212);
|
||||
|
||||
/**
|
||||
* Circuit breaker for engine failure detection
|
||||
|
||||
@ -679,7 +679,7 @@ static bool failureDetectorCheck(orb_advert_t *mavlink_log_pub, vehicle_status_s
|
||||
bool success = true;
|
||||
|
||||
if (!prearm) {
|
||||
// Ignore power check after arming.
|
||||
// Ignore failure detector check after arming.
|
||||
return true;
|
||||
|
||||
} else {
|
||||
|
||||
@ -46,7 +46,12 @@
|
||||
* 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
|
||||
* If flight termination is enabled (@CBRK_FLIGHTTERM set to zero), the autopilot
|
||||
* will terminate the flight and set all the outputs to their failsafe value
|
||||
* as soon as the attitude_failure flag is set.
|
||||
*
|
||||
* Setting this parameter to 0 disables the check
|
||||
*
|
||||
* @min 0
|
||||
* @max 180
|
||||
* @unit degrees
|
||||
@ -58,7 +63,12 @@ PARAM_DEFINE_INT32(FD_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
|
||||
* If flight termination is enabled (@CBRK_FLIGHTTERM set to zero), the autopilot
|
||||
* will terminate the flight and set all the outputs to their failsafe value
|
||||
* as soon as the attitude_failure flag is set.
|
||||
*
|
||||
* Setting this parameter to 0 disables the check
|
||||
*
|
||||
* @min 0
|
||||
* @max 180
|
||||
* @unit degrees
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user