#include <mixer.h>
Classes | |
struct | mixer_t |
Public Types | |
enum | { ESC_CALIBRATION = 0, QUADCOPTER_PLUS = 1, QUADCOPTER_X = 2, HEX_PLUS = 3, HEX_X = 4, OCTO_PLUS = 5, OCTO_X = 6, Y6 = 7, X8 = 8, TRICOPTER = 9, FIXEDWING = 10, NUM_MIXERS, INVALID_MIXER = 255 } |
enum | output_type_t { NONE, S, M, G } |
Public Member Functions | |
const float * | get_outputs () const |
void | init () |
void | init_mixing () |
void | init_PWM () |
void | mix_output () |
Mixer (ROSflight &_rf) | |
void | param_change_callback (uint16_t param_id) |
Private Member Functions | |
void | write_motor (uint8_t index, float value) |
void | write_servo (uint8_t index, float value) |
Private Attributes | |
const mixer_t * | array_of_mixers_ [NUM_MIXERS] |
const mixer_t | esc_calibration_mixing |
const mixer_t | fixedwing_mixing |
const mixer_t | hex_plus_mixing |
const mixer_t | hex_x_mixing |
const mixer_t * | mixer_to_use_ |
const mixer_t | octocopter_plus_mixing |
const mixer_t | octocopter_x_mixing |
const mixer_t | quadcopter_plus_mixing |
const mixer_t | quadcopter_x_mixing |
float | raw_outputs_ [8] |
ROSflight & | RF_ |
const mixer_t | tricopter_mixing |
float | unsaturated_outputs_ [8] |
const mixer_t | X8_mixing |
const mixer_t | Y6_mixing |
anonymous enum |
|
inline |
void rosflight_firmware::Mixer::param_change_callback | ( | uint16_t | param_id | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |