mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 01:05:27 +03:00
Yaw spin recovery optimize (#3)
* PID controller unittest * Clean code for yaw spin recovery * Yaw spin recovery optimizations * Flash size optimizations, use 50% throttle when airmode is off, and override pidsum_limit_yaw Also rebasing from betaflight/master
This commit is contained in:
parent
41fb37a264
commit
0a0add8c56
5 changed files with 28 additions and 13 deletions
|
@ -30,6 +30,8 @@
|
|||
#define PID_SERVO_MIXER_SCALING 0.7f
|
||||
#define PIDSUM_LIMIT 500
|
||||
#define PIDSUM_LIMIT_YAW 400
|
||||
#define PIDSUM_LIMIT_MIN 100
|
||||
#define PIDSUM_LIMIT_MAX 1000
|
||||
|
||||
// Scaling factors for Pids for better tunable range in configurator for betaflight pid controller. The scaling is based on legacy pid controller or previous float
|
||||
#define PTERM_SCALE 0.032029f
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue