From 2db22c9536aa3decd59b72268eb9ab056be9b156 Mon Sep 17 00:00:00 2001 From: Miguel Angel Mulero Martinez Date: Thu, 12 Sep 2019 16:51:30 +0200 Subject: [PATCH] Add 10 and 25 gyro scales to motor tab --- src/js/tabs/motors.js | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/src/js/tabs/motors.js b/src/js/tabs/motors.js index abb5c108..04972e4e 100644 --- a/src/js/tabs/motors.js +++ b/src/js/tabs/motors.js @@ -9,8 +9,24 @@ TABS.motors = { sensorAccelRate: 20, sensorAccelScale: 2, sensorSelectValues: { - "gyroScale": {"50":50,"100":100,"200":200,"300":300,"400":400,"500":500,"1000":1000,"2000":2000}, - "accelScale": {"0.05":0.05,"0.1":0.1,"0.2":0.2,"0.3":0.3,"0.4":0.4,"0.5":0.5,"1":1,"2":2} + "gyroScale": {"10" : 10, + "25" : 25, + "50" : 50, + "100" : 100, + "200" : 200, + "300" : 300, + "400" : 400, + "500" : 500, + "1000" : 1000, + "2000" : 2000}, + "accelScale": {"0.05" : 0.05, + "0.1" : 0.1, + "0.2" : 0.2, + "0.3" : 0.3, + "0.4" : 0.4, + "0.5" : 0.5, + "1" : 1, + "2" : 2} }, // These are translated into proper Dshot values on the flight controller DSHOT_DISARMED_VALUE: 1000,