Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
#include <inttypes.h>
#include "generated/radio.h"
#include "modules/core/rc_settings.h"
#include "autopilot.h"
#include "firmwares/fixedwing/nav.h"
#include "firmwares/fixedwing/stabilization/stabilization_attitude.h"
#include "generated/settings.h"
Go to the source code of this file.
Macros | |
#define | ParamValInt16(param_init_val, param_travel, cur_pulse, init_pulse) (param_init_val + (int16_t)(((float)(cur_pulse - init_pulse)) * param_travel / (float)MAX_PPRZ)) |
#define | ParamValFloat(param_init_val, param_travel, cur_pulse, init_pulse) (param_init_val + ((float)(cur_pulse - init_pulse)) * param_travel / (float)MAX_PPRZ) |
#define | RcChannel(x) (radio_control_get(x)) |
Functions | |
void | rc_settings (bool mode_changed) |
Includes generated code from tuning_rc.xml. More... | |
Variables | |
uint8_t | rc_settings_mode = 0 |
float | slider_1_val |
float | slider_2_val |
#define ParamValFloat | ( | param_init_val, | |
param_travel, | |||
cur_pulse, | |||
init_pulse | |||
) | (param_init_val + ((float)(cur_pulse - init_pulse)) * param_travel / (float)MAX_PPRZ) |
Definition at line 38 of file rc_settings.c.
#define ParamValInt16 | ( | param_init_val, | |
param_travel, | |||
cur_pulse, | |||
init_pulse | |||
) | (param_init_val + (int16_t)(((float)(cur_pulse - init_pulse)) * param_travel / (float)MAX_PPRZ)) |
Definition at line 35 of file rc_settings.c.
#define RcChannel | ( | x | ) | (radio_control_get(x)) |
Definition at line 41 of file rc_settings.c.
void rc_settings | ( | bool | mode_changed | ) |
Includes generated code from tuning_rc.xml.
Definition at line 47 of file rc_settings.c.
Referenced by autopilot_failsafe_checks().
uint8_t rc_settings_mode = 0 |
Definition at line 32 of file rc_settings.c.
float slider_1_val |
Definition at line 33 of file rc_settings.c.
float slider_2_val |
Definition at line 33 of file rc_settings.c.