Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
Simulator implementation for spektrum radio control. More...
#include "modules/radio_control/radio_control.h"
#include "modules/radio_control/spektrum.h"
#include "modules/core/abi.h"
#include "std.h"
#include <inttypes.h>
#include "nps_radio_control.h"
Go to the source code of this file.
Functions | |
void | spektrum_init (void) |
void | spektrum_event (void) |
void | spektrum_try_bind (void) |
void | radio_control_feed (void) |
Variables | |
static bool | spektrum_available |
Simulator implementation for spektrum radio control.
Definition in file spektrum_arch.c.
void radio_control_feed | ( | void | ) |
Definition at line 58 of file spektrum_arch.c.
References MAX_PPRZ, NpsRadioControl::mode, nps_radio_control, NpsRadioControl::pitch, radio_control, RADIO_MODE, RADIO_PITCH, RADIO_ROLL, RADIO_THROTTLE, RADIO_YAW, NpsRadioControl::roll, spektrum_available, NpsRadioControl::throttle, RadioControl::values, and NpsRadioControl::yaw.
void spektrum_event | ( | void | ) |
Definition at line 44 of file spektrum_arch.c.
References RadioControl::frame_cpt, radio_control, RADIO_CONTROL_SPEKTRUM_ID, RC_OK, spektrum_available, RadioControl::status, and RadioControl::time_since_last_frame.
void spektrum_init | ( | void | ) |
Definition at line 39 of file spektrum_arch.c.
References spektrum_available.
void spektrum_try_bind | ( | void | ) |
Definition at line 55 of file spektrum_arch.c.
|
static |
Definition at line 37 of file spektrum_arch.c.
Referenced by radio_control_feed(), spektrum_event(), and spektrum_init().