30 #include "pprzlink/dl_protocol.h"
44 #ifdef RADIO_CONTROL_DATALINK_LED
48 DL_RC_UP_channels(buf));
55 for (
int i = 0; i < n; i++) {
Main include for ABI (AirBorneInterface).
#define RADIO_CONTROL_DATALINK_ID
struct RadioControl radio_control
Generic interface for radio control modules.
uint8_t time_since_last_frame
pprz_t values[RADIO_CONTROL_NB_CHANNEL]
void rc_datalink_init(void)
RC init function.
void rc_datalink_parse_RC_UP(uint8_t *buf)
int8_t rc_dl_values[RC_DL_NB_CHANNEL]
volatile bool rc_dl_frame_available
void rc_datalink_event(void)
RC event function.
void parse_rc_up_datalink(int8_t n, int8_t *channels)
Decode datalink message to get rc values with RC_UP message.
static void rc_datalink_normalize(int8_t *in, int16_t *out)
Normalize rc_dl_values to radio values.
Radio control input via datalink.
short int16_t
Typedef defining 16 bit short type.
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.
signed char int8_t
Typedef defining 8 bit char type.