Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
radio_control_uavcan.h File Reference
#include "generated/radio.h"
Include dependency graph for radio_control_uavcan.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define RC_PPM_TICKS_OF_USEC(_x)
#define RC_PPM_SIGNED_TICKS_OF_USEC(_x)
#define USEC_OF_RC_PPM_TICKS(_x)

Functions

void rc_uavcan_init (void)
void rc_uavcan_event (void)

Detailed Description

Author
Fabien-B Fabie.nosp@m.n-B@.nosp@m.githu.nosp@m.b.co.nosp@m.m Radio control from DroneCAN message dronecan.sensors.rc.RCInput.

Definition in file radio_control_uavcan.h.

Macro Definition Documentation

◆ RC_PPM_SIGNED_TICKS_OF_USEC

#define RC_PPM_SIGNED_TICKS_OF_USEC ( _x)
Value:
(_x)

Definition at line 18 of file radio_control_uavcan.h.

◆ RC_PPM_TICKS_OF_USEC

#define RC_PPM_TICKS_OF_USEC ( _x)
Value:
(_x)

Definition at line 17 of file radio_control_uavcan.h.

◆ USEC_OF_RC_PPM_TICKS

#define USEC_OF_RC_PPM_TICKS ( _x)
Value:
(_x)

Definition at line 19 of file radio_control_uavcan.h.

Function Documentation

◆ rc_uavcan_event()

void rc_uavcan_event ( void )
extern

Definition at line 46 of file radio_control_uavcan.c.

References pprz_mtx_trylock(), pprz_mtx_unlock(), radio_control, RADIO_CONTROL_UAVCAN_ID, rc_dronecan_msg, rc_frame_available, rc_mtx, and RC_OK.

Here is the call graph for this function:

◆ rc_uavcan_init()

void rc_uavcan_init ( void )
extern

Definition at line 37 of file radio_control_uavcan.c.

References pprz_mtx_init(), radio_control, rc_frame_available, rc_mtx, rc_uavcan_cb(), rc_uavcan_ev, and uavcan_bind().

Here is the call graph for this function: