mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 16:55:36 +03:00
adjust PID gains to 30
This commit is contained in:
parent
4962e080e5
commit
2fc85cdf85
2 changed files with 8 additions and 8 deletions
|
@ -39,10 +39,10 @@
|
|||
#define ALTITUDE_I_SCALE 0.003f
|
||||
#define ALTITUDE_D_SCALE 0.01f
|
||||
#define ALTITUDE_F_SCALE 0.01f
|
||||
#define POSITION_P_SCALE 0.003f
|
||||
#define POSITION_I_SCALE 0.001f
|
||||
#define POSITION_D_SCALE 0.004f
|
||||
#define POSITION_J_SCALE 0.002f
|
||||
#define POSITION_P_SCALE 0.001f
|
||||
#define POSITION_I_SCALE 0.0004f
|
||||
#define POSITION_D_SCALE 0.003f
|
||||
#define POSITION_J_SCALE 0.0008f
|
||||
|
||||
static pidCoefficient_t altitudePidCoeffs;
|
||||
static float altitudeI = 0.0f;
|
||||
|
|
|
@ -38,9 +38,9 @@ PG_RESET_TEMPLATE(autopilotConfig_t, autopilotConfig,
|
|||
.altitude_I = 15,
|
||||
.altitude_D = 15,
|
||||
.altitude_F = 15,
|
||||
.position_P = 15,
|
||||
.position_I = 0,
|
||||
.position_D = 15,
|
||||
.position_J = 15,
|
||||
.position_P = 30,
|
||||
.position_I = 30,
|
||||
.position_D = 30,
|
||||
.position_J = 30,
|
||||
.position_cutoff = 100,
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue