29#include "pprzlink/intermcu_msg.h"
53 uint8_t size = DL_IMCU_RADIO_COMMANDS_values_length(buf);
55 for (
uint8_t i = 0; i < size; i++) {
56 rc_intermcu.values[i] = DL_IMCU_RADIO_COMMANDS_values(buf)[i];
70 rc_intermcu.status = DL_IMCU_FBW_STATUS_rc_status(buf);
71 rc_intermcu.frame_rate = DL_IMCU_FBW_STATUS_frame_rate(buf);
Main include for ABI (AirBorneInterface).
#define RADIO_CONTROL_INTERMCU_ID
struct RadioControl radio_control
Generic interface for radio control modules.
void rc_intermcu_init(void)
RC init function.
void rc_intermcu_parse_fbw_status(uint8_t *buf)
static struct _rc_intermcu rc_intermcu
void rc_intermcu_parse_msg(uint8_t *buf)
Decode intermcu message to get rc values and FBW status for RC status and frame rate TODO make a sing...
uint16_t values[RC_IMCU_NB_CHANNEL]
Radio control input via intermcu.
#define RC_IMCU_NB_CHANNEL
unsigned short uint16_t
Typedef defining 16 bit unsigned short type.
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.