mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 22:35:23 +03:00
Fix symmetry bug in insane acro feature
This commit is contained in:
parent
10809ba6b6
commit
1f0004d617
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ void airModePlus(airModePlus_t *axisState, int axis, pidProfile_t *pidProfile) {
|
|||
|
||||
if (axis != YAW && pidProfile->airModeInsaneAcrobilityFactor) {
|
||||
axisState->wowFactor = rcCommandReflection * ((float)pidProfile->airModeInsaneAcrobilityFactor / 100.0f); //0-1f
|
||||
axisState->factor = axisState->wowFactor * rcCommandReflection * 1000;
|
||||
axisState->factor = axisState->wowFactor * (rcCommand[axis] / 500.0f) * 1000;
|
||||
axisState->wowFactor = 1.0f - axisState->wowFactor;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue