mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
D_MIN cleanup - use array for parameters; move CMS menu entries
Change to using an array of `uint8_t` for the `d_min_` axis parameters. Simplifies the code. The CMS menu entries were incorrectly placed under the `FILTER PP` submenu. Moved to the `MISC PP` submenu.
This commit is contained in:
parent
ca98ee7df0
commit
a64bd06f5a
4 changed files with 30 additions and 36 deletions
|
@ -160,9 +160,7 @@ typedef struct pidProfile_s {
|
|||
uint8_t use_integrated_yaw; // Selects whether the yaw pidsum should integrated
|
||||
uint8_t integrated_yaw_relax; // Specifies how much integrated yaw should be reduced to offset the drag based yaw component
|
||||
uint8_t thrustLinearization; // Compensation factor for pid linearization
|
||||
uint8_t d_min_roll; // Minimum D value on roll axis
|
||||
uint8_t d_min_pitch; // Minimum D value on pitch axis
|
||||
uint8_t d_min_yaw; // Minimum D value on yaw axis
|
||||
uint8_t d_min[XYZ_AXIS_COUNT]; // Minimum D value on each axis
|
||||
uint8_t d_min_gain; // Gain factor for amount of gyro / setpoint activity required to boost D
|
||||
uint8_t d_min_advance; // Percentage multiplier for setpoint input to boost algorithm
|
||||
uint8_t motor_output_limit; // Upper limit of the motor output (percent)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue