mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 22:35:23 +03:00
Initial dynamic PID implementation
New Defaults and some rework in dynamic PID Cli Fixes Copy / Paste Protection Change Stick threshold Remove differentiator Change Default PIDs
This commit is contained in:
parent
ad756bceb4
commit
a4456ce6b9
7 changed files with 48 additions and 70 deletions
|
@ -152,7 +152,7 @@ void setGyroSamplingSpeed(uint16_t looptime) {
|
|||
masterConfig.pid_process_denom = 1;
|
||||
if (currentProfile->pidProfile.pidController == 2) masterConfig.pid_process_denom = 2;
|
||||
if (looptime < 250) {
|
||||
masterConfig.pid_process_denom = 3;
|
||||
masterConfig.pid_process_denom = 4;
|
||||
} else if (looptime < 375) {
|
||||
if (currentProfile->pidProfile.pidController == 2) {
|
||||
masterConfig.pid_process_denom = 3;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue