From 1f0004d617eae5f107dbabf11d9ae3357ca1e9e7 Mon Sep 17 00:00:00 2001 From: borisbstyle Date: Wed, 13 Jan 2016 23:11:45 +0100 Subject: [PATCH] Fix symmetry bug in insane acro feature --- src/main/flight/pid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/flight/pid.c b/src/main/flight/pid.c index c2b0a4b2b..a2944cb8e 100644 --- a/src/main/flight/pid.c +++ b/src/main/flight/pid.c @@ -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; } }