mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
Use static idle value to set the initial dynamic idle limit before takeoff (#13906)
use static idle value in dynamic idle
This commit is contained in:
parent
908f9cc32d
commit
6b5b5cfbdb
6 changed files with 4 additions and 7 deletions
|
@ -118,7 +118,7 @@ PG_RESET_TEMPLATE(pidConfig_t, pidConfig,
|
|||
|
||||
#define LAUNCH_CONTROL_YAW_ITERM_LIMIT 50 // yaw iterm windup limit when launch mode is "FULL" (all axes)
|
||||
|
||||
PG_REGISTER_ARRAY_WITH_RESET_FN(pidProfile_t, PID_PROFILE_COUNT, pidProfiles, PG_PID_PROFILE, 10);
|
||||
PG_REGISTER_ARRAY_WITH_RESET_FN(pidProfile_t, PID_PROFILE_COUNT, pidProfiles, PG_PID_PROFILE, 11);
|
||||
|
||||
void resetPidProfile(pidProfile_t *pidProfile)
|
||||
{
|
||||
|
@ -198,7 +198,6 @@ void resetPidProfile(pidProfile_t *pidProfile)
|
|||
.dyn_idle_i_gain = 50,
|
||||
.dyn_idle_d_gain = 50,
|
||||
.dyn_idle_max_increase = 150,
|
||||
.dyn_idle_start_increase = 50,
|
||||
.feedforward_averaging = FEEDFORWARD_AVERAGING_OFF,
|
||||
.feedforward_max_rate_limit = 90,
|
||||
.feedforward_smooth_factor = 25,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue