mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-22 22:50:49 +08:00
Checking roll and pitch against separate limits misses a combined tilt: 45° roll with 45° pitch is a 60° tilt but stays below both default 60° limits. Euler angles are also unreliable near 90° pitch and when inverted. FD_FAIL_R and FD_FAIL_R_TTRI now set the maximum tilt and its trigger time. FD_FAIL_P and FD_FAIL_P_TTRI are removed without migration (see the Upgrade Guide). The check is disabled with -1; 0 still disables it for existing setups. In FailureDetectorStatus, fd_roll and fd_pitch are replaced by fd_tilt.
15 lines
491 B
Plaintext
15 lines
491 B
Plaintext
uint64 timestamp # time since system start (microseconds)
|
|
|
|
# FailureDetector status
|
|
bool fd_tilt
|
|
bool fd_alt
|
|
bool fd_ext
|
|
bool fd_arm_escs
|
|
bool fd_battery
|
|
bool fd_imbalanced_prop
|
|
bool fd_motor
|
|
|
|
float32 imbalanced_prop_metric # Metric of the imbalanced propeller check (low-passed)
|
|
uint16 motor_failure_mask # Bit-mask with motor indices, indicating critical motor failures
|
|
uint16 motor_stop_mask # Bitmaks of motors stopped by failure injection
|