mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 01:05:27 +03:00
Add delta from measurement // rc smooth interval // More MSP
This commit is contained in:
parent
9160a2adbc
commit
4c59769b02
9 changed files with 79 additions and 45 deletions
|
@ -41,14 +41,14 @@ typedef enum {
|
|||
} pidIndex_e;
|
||||
|
||||
typedef enum {
|
||||
PID_CONTROLLER_MWREWRITE = 1,
|
||||
PID_CONTROLLER_LUX_FLOAT,
|
||||
PID_CONTROLLER_INTEGER = 1, // Integer math to gain some more performance from F1 targets
|
||||
PID_CONTROLLER_FLOAT,
|
||||
PID_COUNT
|
||||
} pidControllerType_e;
|
||||
|
||||
typedef enum {
|
||||
DELTA_FROM_ERROR = 0,
|
||||
DELTA_FROM_MEASUREMENT
|
||||
DELTA_FROM_ERROR = 0,
|
||||
DELTA_FROM_MEASUREMENT
|
||||
} pidDeltaType_e;
|
||||
|
||||
typedef enum {
|
||||
|
@ -68,6 +68,7 @@ typedef struct pidProfile_s {
|
|||
|
||||
uint16_t dterm_lpf_hz; // Delta Filter in hz
|
||||
uint16_t yaw_lpf_hz; // Additional yaw filter when yaw axis too noisy
|
||||
uint8_t deltaMethod; // Alternative delta Calculation
|
||||
uint16_t rollPitchItermIgnoreRate; // Experimental threshold for resetting iterm for pitch and roll on certain rates
|
||||
uint16_t yawItermIgnoreRate; // Experimental threshold for resetting iterm for yaw on certain rates
|
||||
uint16_t yaw_p_limit;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue