|
|
|
@ -92,6 +92,34 @@ struct rc_input_values {
@@ -92,6 +92,34 @@ struct rc_input_values {
|
|
|
|
|
/** receive signal strength indicator (RSSI): < 0: Undefined, 0: no signal, 255: full reception */ |
|
|
|
|
int32_t rssi; |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* explicit failsafe flag: true on TX failure or TX out of range , false otherwise. |
|
|
|
|
* Only the true state is reliable, as there are some (PPM) receivers on the market going |
|
|
|
|
* into failsafe without telling us explicitly. |
|
|
|
|
* */ |
|
|
|
|
bool rc_failsafe; |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* RC receiver connection status: True,if no frame has arrived in the expected time, false otherwise. |
|
|
|
|
* True usally means that the receiver has been disconnected, but can also indicate a radio link loss on "stupid" systems. |
|
|
|
|
* Will remain false, if a RX with failsafe option continues to transmit frames after a link loss. |
|
|
|
|
* */ |
|
|
|
|
bool rc_lost; |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Number of lost RC frames. |
|
|
|
|
* Note: intended purpose: observe the radio link quality if RSSI is not available |
|
|
|
|
* This value must not be used to trigger any failsafe-alike funtionality. |
|
|
|
|
* */ |
|
|
|
|
uint16_t rc_lost_frame_count; |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Number of total RC frames. |
|
|
|
|
* Note: intended purpose: observe the radio link quality if RSSI is not available |
|
|
|
|
* This value must not be used to trigger any failsafe-alike funtionality. |
|
|
|
|
* */ |
|
|
|
|
uint16_t rc_total_frame_count; |
|
|
|
|
|
|
|
|
|
/** Input source */ |
|
|
|
|
enum RC_INPUT_SOURCE input_source; |
|
|
|
|
|
|
|
|
|