From 404c5f8f4b790f7229cb03ca1bb4f1d72e4fe28a Mon Sep 17 00:00:00 2001
From: Thomas Lambert <t.lambert@uliege.be>
Date: Tue, 8 Nov 2022 19:57:18 +0100
Subject: [PATCH] fix(logg): reorder widgets so CSV titles match data

---
 controller/mechaRaptor.json | 80 ++++++++++++++++++-------------------
 1 file changed, 40 insertions(+), 40 deletions(-)

diff --git a/controller/mechaRaptor.json b/controller/mechaRaptor.json
index 1d4802f..6493d72 100644
--- a/controller/mechaRaptor.json
+++ b/controller/mechaRaptor.json
@@ -95,9 +95,9 @@
                     "log": false,
                     "max": 0,
                     "min": 0,
-                    "title": "1 - Tension",
-                    "units": "V",
-                    "value": "%10",
+                    "title": "Left",
+                    "units": "°",
+                    "value": "%6",
                     "widget": ""
                 },
                 {
@@ -109,11 +109,17 @@
                     "log": false,
                     "max": 0,
                     "min": 0,
-                    "title": "1 - Current",
-                    "units": "A",
-                    "value": "%11",
+                    "title": "Right",
+                    "units": "°",
+                    "value": "%7",
                     "widget": ""
-                },
+                }
+            ],
+            "title": "Module 1 - Wing Angles",
+            "widget": "multiplot"
+        },
+        {
+            "datasets": [
                 {
                     "alarm": 0,
                     "fft": false,
@@ -123,28 +129,28 @@
                     "log": false,
                     "max": 0,
                     "min": 0,
-                    "title": "2 - Tension",
-                    "units": "V",
-                    "value": "%12",
+                    "title": "Left",
+                    "units": "°",
+                    "value": "%8",
                     "widget": ""
                 },
                 {
-                    "alarm": 40,
+                    "alarm": 0,
                     "fft": false,
                     "fftSamples": 1024,
                     "graph": false,
                     "led": false,
                     "log": false,
-                    "max": 360,
+                    "max": 0,
                     "min": 0,
-                    "title": "2 - Current",
-                    "units": "A",
-                    "value": "%13",
+                    "title": "Right",
+                    "units": "°",
+                    "value": "%9",
                     "widget": ""
                 }
             ],
-            "title": "Power Supplies",
-            "widget": ""
+            "title": "Module 2 - Wing Angles",
+            "widget": "multiplot"
         },
         {
             "datasets": [
@@ -157,9 +163,9 @@
                     "log": false,
                     "max": 0,
                     "min": 0,
-                    "title": "Left",
-                    "units": "°",
-                    "value": "%6",
+                    "title": "1 - Tension",
+                    "units": "V",
+                    "value": "%10",
                     "widget": ""
                 },
                 {
@@ -171,17 +177,11 @@
                     "log": false,
                     "max": 0,
                     "min": 0,
-                    "title": "Right",
-                    "units": "°",
-                    "value": "%7",
+                    "title": "1 - Current",
+                    "units": "A",
+                    "value": "%11",
                     "widget": ""
-                }
-            ],
-            "title": "Module 1 - Wing Angles",
-            "widget": "multiplot"
-        },
-        {
-            "datasets": [
+                },
                 {
                     "alarm": 0,
                     "fft": false,
@@ -191,28 +191,28 @@
                     "log": false,
                     "max": 0,
                     "min": 0,
-                    "title": "Left",
-                    "units": "°",
-                    "value": "%8",
+                    "title": "2 - Tension",
+                    "units": "V",
+                    "value": "%12",
                     "widget": ""
                 },
                 {
-                    "alarm": 0,
+                    "alarm": 40,
                     "fft": false,
                     "fftSamples": 1024,
                     "graph": false,
                     "led": false,
                     "log": false,
-                    "max": 0,
+                    "max": 360,
                     "min": 0,
-                    "title": "Right",
-                    "units": "°",
-                    "value": "%9",
+                    "title": "2 - Current",
+                    "units": "A",
+                    "value": "%13",
                     "widget": ""
                 }
             ],
-            "title": "Module 2 - Wing Angles",
-            "widget": "multiplot"
+            "title": "Power Supplies",
+            "widget": ""
         }
     ],
     "separator": ",",
-- 
GitLab