1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-25 01:05:27 +03:00

Updating failsafe and rx loss detection documentation.

This commit is contained in:
Dominic Clifton 2015-08-03 21:52:25 +01:00
parent ae0c29125d
commit aca179c654
2 changed files with 46 additions and 13 deletions

View file

@ -26,7 +26,7 @@ Either:
a) no valid channel data from the RX is received via Serial RX.
b) the first 4 Parallel PWM/PPM channels do not have valid signals.
b) the first 4 channels do not have valid signals.
And when:
@ -125,15 +125,3 @@ Throttle level used for landing. Specify a value that causes the aircraft to de
Use standard RX usec values. See RX documentation.
### `rx_min_usec`
The lowest channel value considered valid. e.g. PWM/PPM pulse length
### `rx_max_usec`
The highest channel value considered valid. e.g. PWM/PPM pulse length
The `rx_min_usec` and `rx_max_usec` settings helps detect when your RX stops sending any data, enters failsafe mode or when the RX looses signal.
With a Graupner GR-24 configured for PWM output with failsafe on channels 1-4 set to OFF in the receiver settings then this setting, at its default value, will allow failsafe to be activated.

View file

@ -127,6 +127,41 @@ RX_MSP
Only one receiver feature can be enabled at a time.
### RX signal-loss detection
The software has signal loss detection which is always enabled. Signal loss detection is used for safety and failsafe reasons.
The `rx_min_usec` and `rx_max_usec` settings helps detect when your RX stops sending any data, enters failsafe mode or when the RX looses signal.
By default, when the signal loss is detected the FC will set pitch/roll/yaw to the value configured for `mid_rc`. The throttle will be set to the value configured for `rx_min_usec`. Unless otherwise configured all AUX channels will HOLD the last value received. You can use the `rxfail` cli command to change this behaviour.
#### `rxfail`
The `rxfail` command takes 3 arguments.
* Index of aux channel (AUX1 = 0, AUX2 = 1,...)
* A mode ('h' = HOLD, 's' = SET)
* A value to use when in SET mode. (always required, even if using HOLD mode).
Examples:
To make AUX4 have a value of 2000 when RX loss is detected:
`rxfail 3 s 2000`
To make AUX8 hold it's value when RX loss is detected:
`rxfail 7 h 1500`
In the above example the '1500' will be ignored.
#### `rx_min_usec`
The lowest channel value considered valid. e.g. PWM/PPM pulse length
#### `rx_max_usec`
The highest channel value considered valid. e.g. PWM/PPM pulse length
### Serial RX
See the Serial chapter for some some RX configuration examples.
@ -160,3 +195,13 @@ Use the `input_filtering_mode` CLI setting to select a mode.
| 0 | Disabled |
| 1 | Enabled |
## Receiver configuration
### FrSky D4R-II
Set the RX for 'No Pulses'. Turn OFF TX and RX, Turn ON RX. Press and release F/S button on RX. Turn off RX.
### Graupner GR-24 PWM
Set failsafe on channels 1-4 set to OFF in the receiver settings (via transmitter menu).