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

Allow independent pitch and roll in-flight PID adjustment. Fixes #149.

This commit is contained in:
Dominic Clifton 2015-05-17 23:43:55 +01:00
parent c868d7177a
commit c174a52ebe
2 changed files with 71 additions and 7 deletions

View file

@ -170,9 +170,16 @@ typedef enum {
ADJUSTMENT_RATE_PROFILE,
ADJUSTMENT_PITCH_RATE,
ADJUSTMENT_ROLL_RATE,
ADJUSTMENT_PITCH_P,
ADJUSTMENT_PITCH_I,
ADJUSTMENT_PITCH_D,
ADJUSTMENT_ROLL_P,
ADJUSTMENT_ROLL_I,
ADJUSTMENT_ROLL_D,
} adjustmentFunction_e;
#define ADJUSTMENT_FUNCTION_COUNT 15
#define ADJUSTMENT_FUNCTION_COUNT 21
typedef enum {
ADJUSTMENT_MODE_STEP,