Skip to content

Commit 4d2170c

Browse files
committed
docs/failure_injection: motor off requires CA_FAILURE_MODE to be set
1 parent e59afce commit 4d2170c

1 file changed

Lines changed: 21 additions & 21 deletions

File tree

docs/en/debug/failure_injection.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Failure injection is disabled by default, and can be enabled using the [SYS_FAIL
99
Failure injection still in development.
1010
At time of writing (PX4 v1.14):
1111

12-
- It can only be used in simulation (support for both failure injection in real flight is planned).
12+
- Support may vary by failure type and between simulatiors and real vehicle.
1313
- It requires support in the simulator.
1414
It is supported in Gazebo Classic
1515
- Many failure types are not broadly implemented.
@@ -33,39 +33,39 @@ where:
3333

3434
- _component_:
3535
- Sensors:
36-
- `gyro`: Gyro.
37-
- `accel`: Accelerometer.
36+
- `gyro`: Gyroscope
37+
- `accel`: Accelerometer
3838
- `mag`: Magnetometer
3939
- `baro`: Barometer
40-
- `gps`: GPS
40+
- `gps`: Global navigation satellite system
4141
- `optical_flow`: Optical flow.
42-
- `vio`: Visual inertial odometry.
42+
- `vio`: Visual inertial odometry
4343
- `distance_sensor`: Distance sensor (rangefinder).
44-
- `airspeed`: Airspeed sensor.
44+
- `airspeed`: Airspeed sensor
4545
- Systems:
46-
- `battery`: Battery.
47-
- `motor`: Motor.
48-
- `servo`: Servo.
49-
- `avoidance`: Avoidance.
50-
- `rc_signal`: RC Signal.
51-
- `mavlink_signal`: MAVLink signal (data telemetry).
46+
- `battery`: Battery
47+
- `motor`: Motor
48+
- `servo`: Servo
49+
- `avoidance`: Avoidance
50+
- `rc_signal`: RC Signal
51+
- `mavlink_signal`: MAVLink data telemetry connection
5252
- _failure_type_:
53-
- `ok`: Publish as normal (Disable failure injection).
54-
- `off`: Stop publishing.
55-
- `stuck`: Report same value every time (_could_ indicate a malfunctioning sensor).
56-
- `garbage`: Publish random noise. This looks like reading uninitialized memory.
57-
- `wrong`: Publish invalid values (that still look reasonable/aren't "garbage").
58-
- `slow`: Publish at a reduced rate.
59-
- `delayed`: Publish valid data with a significant delay.
60-
- `intermittent`: Publish intermittently.
53+
- `ok`: Publish as normal (Disable failure injection)
54+
- `off`: Stop publishing
55+
- `stuck`: Constantly report the same value which _can_ happen on a malfunctioning sensor
56+
- `garbage`: Publish random noise. This looks like reading uninitialized memory
57+
- `wrong`: Publish invalid values that still look reasonable/aren't "garbage"
58+
- `slow`: Publish at a reduced rate
59+
- `delayed`: Publish valid data with a significant delay
60+
- `intermittent`: Publish intermittently
6161
- _instance number_ (optional): Instance number of affected sensor.
6262
0 (default) indicates all sensors of specified type.
6363

6464
### Example
6565

6666
To simulate losing RC signal without having to turn off your RC controller:
6767

68-
1. Enable the parameter [SYS_FAILURE_EN](../advanced_config/parameter_reference.md#SYS_FAILURE_EN).
68+
1. Enable the parameter [SYS_FAILURE_EN](../advanced_config/parameter_reference.md#SYS_FAILURE_EN). And specifically to turn off motors also [CA_FAILURE_MODE](../advanced_config/parameter_reference.md#CA_FAILURE_MODE).
6969
1. Enter the following commands on the MAVLink console or SITL _pxh shell_:
7070

7171
```sh

0 commit comments

Comments
 (0)