|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
29 #define RADIO_CONTROL_DT (1./40.)
78 #define RADIO_CONTROL_TAKEOFF_TIME 8
145 if (((
int32_t)rint((time * 0.5))) % 2) {
160 if (((
int32_t)rint((time * 0.5))) % 2) {
174 if (((
int32_t)rint((time * 0.5))) % 2) {
static rc_script scripts[]
struct NpsJoystick nps_joystick
#define MODE_SWITCH_MANUAL
struct NpsRadioControl nps_radio_control
static void radio_control_script_step_pitch(double time)
#define MODE_SWITCH_AUTO2
void nps_radio_control_init(enum NpsRadioControlType type, int num_script, char *js_dev)
int nps_radio_control_spektrum_init(const char *device)
void(* rc_script)(double)
bool nps_radio_control_available(double time)
static void radio_control_script_step_roll(double time)
static void radio_control_script_hover(double time)
static void radio_control_script_takeoff(double time)
#define RADIO_CONTROL_TAKEOFF_TIME
timer subsystem type(config options) --------------------------------------------(advanced timers using RCC_APB1) TIM1 adc(if USE_AD_TIM1) radio_control/ppm(if USE_PPM_TIM1
int nps_radio_control_joystick_init(const char *device)
Initializes SDL and the joystick.
void nps_radio_control_joystick_update(void)
Updates joystick buttons from events, directly reads current axis positions.
static void radio_control_script_step_yaw(double time)
static void radio_control_script_ff(double time)
enum NpsRadioControlType type