mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 01:05:27 +03:00
Change Actuator scaling to percentage
just makes it easier to understand
This commit is contained in:
parent
075b387167
commit
bdc4483151
1 changed files with 4 additions and 4 deletions
|
@ -20,15 +20,15 @@
|
|||
#include <stdbool.h>
|
||||
|
||||
#define PID_CONTROLLER_BETAFLIGHT 1
|
||||
#define PID_MIXER_SCALING 900.0f
|
||||
#define PID_MIXER_SCALING 100.0f
|
||||
#define YAW_P_LIMIT_MIN 100 // Maximum value for yaw P limiter
|
||||
#define YAW_P_LIMIT_MAX 500 // Maximum value for yaw P limiter
|
||||
#define PIDSUM_LIMIT 0.5f
|
||||
|
||||
// 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
|
||||
#define ITERM_SCALE 0.244381f
|
||||
#define DTERM_SCALE 0.000529f
|
||||
#define PTERM_SCALE 0.003558774f
|
||||
#define ITERM_SCALE 0.027153417f
|
||||
#define DTERM_SCALE 0.000058778f
|
||||
|
||||
typedef enum {
|
||||
PIDROLL,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue