From 64bfbbf64452738263fd562c1746d22e1949edbc Mon Sep 17 00:00:00 2001 From: cTn Date: Mon, 20 May 2013 10:44:16 +0200 Subject: [PATCH] using dynamic scale for raw sensor data this approach might not be the "best" but its necessary because multiwii doesn't scale the units "properly" across different sensors and different builds, sadly this is the only way to have at least some sort of "compatibility" between the builds --- tabs/sensors.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tabs/sensors.js b/tabs/sensors.js index 05ba2365..6e82999f 100644 --- a/tabs/sensors.js +++ b/tabs/sensors.js @@ -47,9 +47,7 @@ function tab_initialize_sensors() { title: "Gyroscope (deg/s)", shadowSize: 0, yaxis : { - tickDecimals: 0, - max: 150, - min: -150 + tickDecimals: 0 }, xaxis : { //noTicks = 0 @@ -87,9 +85,7 @@ function tab_initialize_sensors() { title: "Magnetometer (Ga)", shadowSize: 0, yaxis : { - tickDecimals: 0, - max : 120, - min : -120 + tickDecimals: 0 }, xaxis : { //noTicks = 0