Enable directly injecting motor failures using e.g. failure motor off -i 1

Only if SYS_FAILURE_EN is enabled and CA_FAILURE_MODE is > 0.
This commit is contained in:
Matthias Grob
2025-09-30 11:23:09 +02:00
parent 786e0a12c2
commit e59afce5db
8 changed files with 44 additions and 4 deletions
+1
View File
@@ -12,3 +12,4 @@ 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