1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-29 14:52:12 +01:00

OP-984 Modified manualcontrol to use PID bank data object

This commit is contained in:
Les Newell 2013-12-10 20:11:38 +00:00
parent fddf61377e
commit f523ba949d

View File

@ -37,42 +37,6 @@ enum { ROLL, PITCH, YAW, MAX_AXES };
int32_t StabilizationInitialize();
typedef struct stab_rate_pid{
float Kp;
float Ki;
float Kd;
float ILimit;
};
typedef struct stab_att_pid{
float Kp;
float Ki;
float ILimit;
};
typedef struct stab_rpy{
float Roll;
float Pitch;
float Yaw;
};
typedef struct stab_bank {
float RollMax;
float PitchMax;
float YawMax;
struct{
float Roll;
float Pitch;
float Yaw;
};
float ManualRate;
float iAccumulator;
float lastErr;
float lastDer;
};
#endif // STABILIZATION_H
/**