![]() |
Autodrone
Multi-Domain Vehicle
|
This file creates the inputs to the PID controller and sends values to the mixer. More...
Go to the source code of this file.
Macros | |
#define | RATECURVE(x) (((eepromConfig.rateCoeffAlpha * CUBE(x)) + (eepromConfig.rateCoeffBravo * x)) * PI / 180.0); |
Functions | |
void | computeAxisCommands (float dt) |
Computes the commands that get sent to the mixer. More... | |
Variables | |
float | attCmd [3] |
float | attPID [3] |
float | ratePID [3] |
float | rateCmd [3] |
This file creates the inputs to the PID controller and sends values to the mixer.
#define RATECURVE | ( | x | ) | (((eepromConfig.rateCoeffAlpha * CUBE(x)) + (eepromConfig.rateCoeffBravo * x)) * PI / 180.0); |
void computeAxisCommands | ( | float | dt | ) |
Computes the commands that get sent to the mixer.
dt | The PID loop period in sec. |
|
extern |
|
extern |
|
extern |
|
extern |