37 #define PID_MAX_TOTAL_PID 1000
39 #define GYRO_I_MAX 256 // Gyro I limiter
40 #define YAW_P_LIMIT_MIN 100 // Maximum value for yaw P limiter
41 #define YAW_P_LIMIT_MAX 500 // Maximum value for yaw P limiter
43 #define DTERM_AVERAGE_COUNT 4
Definition: anglerate.h:56
Definition: anglerate.h:61
uint16_t yaw_p_limit
set P term limit (fixed value was 300)
Definition: anglerate.h:71
Definition: anglerate.h:53
uint8_t D8[PID_ITEM_COUNT]
D gains.
Definition: anglerate.h:69
typedef __attribute__
Definition: cli.c:2271
uint16_t dterm_cut_hz
dterm filtering
Definition: anglerate.h:72
Definition: anglerate.h:48
Definition: anglerate.h:60
Definition: anglerate.h:66
Definition: anglerate.h:52
Definition: anglerate.h:63
Definition: anglerate.h:50
Definition: anglerate.h:55
uint8_t pidController
Definition: anglerate.h:70
Definition: anglerate.h:51
pid_controller_type_t
Definition: anglerate.h:59
Definition: anglerate.h:49
Definition: anglerate.h:54
Definition: anglerate.h:62
Definition: anglerate.h:47
Definition: anglerate.h:46
uint8_t I8[PID_ITEM_COUNT]
I gains.
Definition: anglerate.h:68
pid_index_t
Definition: anglerate.h:45
uint8_t P8[PID_ITEM_COUNT]
P gains.
Definition: anglerate.h:67