mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 22:35:23 +03:00
Insane Acro factor renamed to Acro plus factor // Rates are softened
This commit is contained in:
parent
f69943d095
commit
f70cb8177e
2 changed files with 5 additions and 5 deletions
|
@ -148,9 +148,9 @@ static void pidLuxFloat(pidProfile_t *pidProfile, controlRateConfig_t *controlRa
|
|||
|
||||
// ----------PID controller----------
|
||||
for (axis = 0; axis < 3; axis++) {
|
||||
uint8_t rate = 0;
|
||||
uint8_t rate = 10;
|
||||
// -----Get the desired angle rate depending on flight mode
|
||||
if (axis == YAW && !pidProfile->airModeInsaneAcrobilityFactor) {
|
||||
if (axis == YAW || !pidProfile->airModeInsaneAcrobilityFactor || !IS_RC_MODE_ACTIVE(BOXAIRMODE)) {
|
||||
rate = controlRateConfig->rates[axis];
|
||||
}
|
||||
|
||||
|
@ -280,9 +280,9 @@ static void pidRewrite(pidProfile_t *pidProfile, controlRateConfig_t *controlRat
|
|||
|
||||
// ----------PID controller----------
|
||||
for (axis = 0; axis < 3; axis++) {
|
||||
uint8_t rate = 0;
|
||||
uint8_t rate = 10;
|
||||
// -----Get the desired angle rate depending on flight mode
|
||||
if (axis == YAW || !pidProfile->airModeInsaneAcrobilityFactor) {
|
||||
if (axis == YAW || !pidProfile->airModeInsaneAcrobilityFactor || !IS_RC_MODE_ACTIVE(BOXAIRMODE)) {
|
||||
rate = controlRateConfig->rates[axis];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue