mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 01:05:27 +03:00
Add Iterm Relax unittest // refactor
Refactor PID code Iterm Relax and Absolute control Move defines for unittest to Makefile Fix unittest isAirmodeActivated() Absolute control unittests + optimizations Fix dead code absolute control // unittests Further optimizations to absolute control switch logic
This commit is contained in:
parent
fff8045ba7
commit
afccf50d96
4 changed files with 185 additions and 67 deletions
|
@ -43,6 +43,8 @@
|
|||
// This value gives the same "feel" as the previous Kd default of 26 (26 * DTERM_SCALE)
|
||||
#define FEEDFORWARD_SCALE 0.013754f
|
||||
|
||||
#define ITERM_RELAX_SETPOINT_THRESHOLD 30.0f
|
||||
|
||||
typedef enum {
|
||||
PID_ROLL,
|
||||
PID_PITCH,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue