From 08b2f4c4abc05da1e5a5912a040b4722978f5477 Mon Sep 17 00:00:00 2001 From: nanthony21 Date: Mon, 13 Mar 2017 22:00:26 -0500 Subject: [PATCH] Changed comments --- src/Joystick/Joystick.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Joystick/Joystick.cc b/src/Joystick/Joystick.cc index 3b95e6112..0ba928d3f 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; -- 2.22.0