PID changed postion of code
PID changed postion of defines
This commit is contained in:
parent
4120569ed3
commit
23a19c314b
@ -26,16 +26,16 @@
|
||||
|
||||
#define XYZ_AXIS_COUNT 3 /*The maximum number of DOF that belongings to the PID*/
|
||||
|
||||
#define PID_ID_GYRO 0
|
||||
#define PID_ID_ACCELEROMETER 1
|
||||
#define PID_ID_COMPASS 2
|
||||
#define PID_ID_BAROMETER 3
|
||||
|
||||
#define THROTTLE 0 /*Index terms to the PID*/
|
||||
#define ROLL 0 /*Index terms to the PID*/
|
||||
#define PITCH 1 /*Index terms to the PID*/
|
||||
#define YAW 2 /*Index terms to the PID*/
|
||||
|
||||
#define PID_ID_GYRO 10
|
||||
#define PID_ID_ACCELEROMETER 11
|
||||
#define PID_ID_COMPASS 12
|
||||
#define PID_ID_BAROMETER 13
|
||||
|
||||
|
||||
/*Struct that belongs to a certain PID controller*/
|
||||
typedef struct pidProfile_s {
|
||||
|
Reference in New Issue
Block a user