1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-26 01:35:41 +03:00

Revert "Remove GTUNE"

This reverts commit a16ac7fbe7.
This commit is contained in:
borisbstyle 2016-02-21 14:06:10 +01:00
parent a1f30841c0
commit 4eb6456ea1
28 changed files with 350 additions and 3 deletions

View file

@ -75,6 +75,13 @@ typedef struct pidProfile_s {
uint16_t yaw_p_limit;
uint8_t dterm_average_count; // Configurable delta count for dterm
#ifdef GTUNE
uint8_t gtune_lolimP[3]; // [0..200] Lower limit of P during G tune
uint8_t gtune_hilimP[3]; // [0..200] Higher limit of P during G tune. 0 Disables tuning for that axis.
uint8_t gtune_pwr; // [0..10] Strength of adjustment
uint16_t gtune_settle_time; // [200..1000] Settle time in ms
uint8_t gtune_average_cycles; // [8..128] Number of looptime cycles used for gyro average calculation
#endif
} pidProfile_t;
extern int16_t axisPID[XYZ_AXIS_COUNT];