1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-25 01:05:27 +03:00

Fix non Working Anti Windup

This commit is contained in:
borisbstyle 2016-02-04 01:55:44 +01:00
parent 5174e96549
commit c55d0baf31
4 changed files with 21 additions and 21 deletions

View file

@ -21,7 +21,6 @@
#define GYRO_I_MAX 256 // Gyro I limiter
#define YAW_P_LIMIT_MIN 100 // Maximum value for yaw P limiter
#define YAW_P_LIMIT_MAX 500 // Maximum value for yaw P limiter
#define IS_POSITIVE(x) ((x > 0) ? true : false)
typedef enum {
PIDROLL,
@ -81,5 +80,5 @@ extern int16_t axisPID[XYZ_AXIS_COUNT];
extern int32_t axisPID_P[3], axisPID_I[3], axisPID_D[3];
void pidSetController(pidControllerType_e type);
void pidResetErrorGyro(rxConfig_t *rxConfig);
void pidResetErrorGyro(void);