Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the source code of this file.
Macros | |
#define | SW_MIXING_TRIM_ROLL 0 |
#define | SW_MIXING_TRIM_PITCH 0 |
#define | SW_MIXING_TRIM_COLL 0 |
Functions | |
void | swashplate_mixing_init () |
Initialize the motor mixing and calculate the trim values. More... | |
void | swashplate_mixing_run (pprz_t in_cmd[]) |
Variables | |
struct swashplate_mixing_t | swashplate_mixing |
static const float | roll_coef [SW_NB] = SW_MIXING_ROLL_COEF |
static const float | pitch_coef [SW_NB] = SW_MIXING_PITCH_COEF |
static const float | coll_coef [SW_NB] = SW_MIXING_COLL_COEF |
Definition in file swashplate_mixing.c.
#define SW_MIXING_TRIM_COLL 0 |
Definition at line 52 of file swashplate_mixing.c.
#define SW_MIXING_TRIM_PITCH 0 |
Definition at line 46 of file swashplate_mixing.c.
#define SW_MIXING_TRIM_ROLL 0 |
Definition at line 40 of file swashplate_mixing.c.
void swashplate_mixing_init | ( | void | ) |
Initialize the motor mixing and calculate the trim values.
Definition at line 60 of file swashplate_mixing.c.
References coll_coef, swashplate_mixing_t::commands, pitch_coef, roll_coef, SW_MIXING_TRIM_COLL, SW_MIXING_TRIM_PITCH, SW_MIXING_TRIM_ROLL, SW_NB, swashplate_mixing, and swashplate_mixing_t::trim.
void swashplate_mixing_run | ( | pprz_t | in_cmd[] | ) |
Definition at line 79 of file swashplate_mixing.c.
References coll_coef, swashplate_mixing_t::commands, MAX_PPRZ, pitch_coef, roll_coef, SW_NB, swashplate_mixing, and swashplate_mixing_t::trim.
|
static |
Definition at line 36 of file swashplate_mixing.c.
Referenced by swashplate_mixing_init(), and swashplate_mixing_run().
|
static |
Definition at line 35 of file swashplate_mixing.c.
Referenced by swashplate_mixing_init(), and swashplate_mixing_run().
|
static |
Definition at line 34 of file swashplate_mixing.c.
Referenced by swashplate_mixing_init(), and swashplate_mixing_run().
struct swashplate_mixing_t swashplate_mixing |
Definition at line 1 of file swashplate_mixing.c.
Referenced by swashplate_mixing_init(), and swashplate_mixing_run().