|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
36 #if PERIODIC_TELEMETRY
39 static void send_hott(
struct transport_tx *trans,
struct link_device *
dev)
42 pprz_msg_send_PPM(trans,
dev, AC_ID,
53 #if PERIODIC_TELEMETRY
77 _received_frame_handler();
void radio_control_impl_event(void(*_received_frame_handler)(void))
RC event function with handler callback.
static void send_hott(struct transport_tx *trans, struct link_device *dev)
uint8_t time_since_last_frame
uint16_t ppm[HOTT_NB_CHANNEL]
decoded and converted values
void radio_control_impl_init(void)
void hott_common_init(struct SHott *hott_p, struct uart_periph *dev)
Init function.
void hott_common_decode_event(struct SHott *hott_p, struct uart_periph *dev)
Decoding event function.
bool frame_available
new frame available
static const struct usb_device_descriptor dev
static void hott_decode_event(void)
int8_t register_periodic_telemetry(struct periodic_telemetry *_pt, uint8_t _id, telemetry_cb _cb)
Register a telemetry callback function.
#define HOTT_NB_CHANNEL
Generated code holding the description of a given transmitter.
struct SHott hott
HOTT struct.
uint16_t pulses[HOTT_NB_CHANNEL]
decoded values
#define DefaultPeriodic
Set default periodic telemetry.
struct RadioControl radio_control