Autodrone
Multi-Domain Vehicle
compute_axis_commands.h
Go to the documentation of this file.
1
9#ifndef __COMPUTE_AXIS_COMMANDS_H__
10#define __COMPUTE_AXIS_COMMANDS_H__
11
12/* Defines */
13#define RATECURVE(x) (((eepromConfig.rateCoeffAlpha * CUBE(x)) + (eepromConfig.rateCoeffBravo * x)) * PI / 180.0);
14
15/* Global Variables */
16extern float attCmd[3];
17extern float attPID[3];
18extern float ratePID[3];
19extern float rateCmd[3];
20
21/* Function Prototypes */
22void computeAxisCommands(float dt);
23
24#endif /* __COMPUTE_AXIS_COMMANDS_H__ */
void computeAxisCommands(float dt)
Computes the commands that get sent to the mixer.
Definition: compute_axis_commands.c:24
float attCmd[3]
Definition: compute_axis_commands.c:13
float attPID[3]
Definition: compute_axis_commands.c:14
float ratePID[3]
Definition: compute_axis_commands.c:15
float rateCmd[3]
Definition: compute_axis_commands.c:16