diff --git a/src/Joystick/Joystick.cc b/src/Joystick/Joystick.cc index 3b95e6112285dd80d0c27c784df05ecc28cfef13..0ba928d3ffebdd7d471481f29681303cf34a8262 100644 --- a/src/Joystick/Joystick.cc +++ b/src/Joystick/Joystick.cc @@ -445,9 +445,7 @@ void Joystick::run(void) if ( _exponential != 0 ) { // Exponential (0% to -50% range like most RC radios) - // 0 for no exponential - // -0.5 for strong exponential - //float expo = -0.35f; + //_exponential is set by a slider in joystickConfig.qml // Calculate new RPY with exponential applied roll = -_exponential*powf(roll,3) + (1+_exponential)*roll;