29 INFO(
"Radio-Control now follows PPRZ sign convention: this means you might need to reverese some channels in your transmitter: RollRight / PitchUp / YawRight / FullThrottle / Auto2 are positive deflections")
47 for (i = 0; i < count; i++) {
69 _received_frame_handler();
void superbitrf_event(void)
The superbitrf on event call.
bool_t rc_frame_available
When a RC frame is available.
struct SuperbitRF superbitrf
void radio_control_impl_init(void)
Initialization.
static void superbitrf_rc_normalize(int16_t *in, int16_t *out, uint8_t count)
normalize superbitrf rc_values to radio values
DSM2 and DSMX radio control implementation for the cyrf6936 2.4GHz radio chip trough SPI...
pprz_t values[RADIO_CONTROL_NB_CHANNEL]
void cyrf6936_event(struct Cyrf6936 *cyrf)
The on event call for the CYRF6936 chip.
struct Cyrf6936 cyrf6936
The cyrf chip used.
int16_t rc_values[14]
The rc values from the packet.
struct RadioControl radio_control
uint8_t time_since_last_frame
void superbitrf_init(void)
Initialize the superbitrf.
uint8_t num_channels
The number of channels the transmitter has.
void radio_control_impl_event(void(*_received_frame_handler)(void))
RC event function with handler callback.