From 14799e3b0498a4ed562ac59ed8c2bde2b8153ea4 Mon Sep 17 00:00:00 2001 From: alexandra Date: Thu, 16 Apr 2026 21:22:15 -0400 Subject: [PATCH] new elastic layout made! --- elastic-layout.json | 389 +++++++++++++++++++++++++++++++++++++------- 1 file changed, 326 insertions(+), 63 deletions(-) diff --git a/elastic-layout.json b/elastic-layout.json index 01c6bc2a..cc70722d 100644 --- a/elastic-layout.json +++ b/elastic-layout.json @@ -9,9 +9,9 @@ "containers": [ { "title": "AutoChooser", - "x": 500.0, - "y": 125.0, - "width": 500.0, + "x": 125.0, + "y": 250.0, + "width": 625.0, "height": 250.0, "type": "ComboBox Chooser", "properties": { @@ -19,42 +19,164 @@ "period": 0.06, "sort_options": false } - } - ] - } - }, - { - "name": "TestingDashboard", - "grid_layout": { - "layouts": [], - "containers": [ + }, { - "title": "hoodPositionDegs", - "x": 125.0, + "title": "BL_HAT Status", + "x": 875.0, + "y": 375.0, + "width": 250.0, + "height": 250.0, + "type": "Boolean Box", + "properties": { + "topic": "/CameraPublisher/BL_HAT-processed/connected", + "period": 0.06, + "data_type": "boolean", + "true_color": 4283215696, + "false_color": 4294198070, + "true_icon": "None", + "false_icon": "None" + } + }, + { + "title": "BR_HAT Status", + "x": 1125.0, + "y": 375.0, + "width": 250.0, + "height": 250.0, + "type": "Boolean Box", + "properties": { + "topic": "/CameraPublisher/BR_HAT-processed/connected", + "period": 0.06, + "data_type": "boolean", + "true_color": 4283215696, + "false_color": 4294198070, + "true_icon": "None", + "false_icon": "None" + } + }, + { + "title": "FL_HAT Status", + "x": 875.0, "y": 125.0, "width": 250.0, - "height": 125.0, - "type": "Text Display", + "height": 250.0, + "type": "Boolean Box", "properties": { - "topic": "/TestingDashboard/hoodPositionDegs", + "topic": "/CameraPublisher/FL_HAT-processed/connected", "period": 0.06, - "data_type": "double", - "show_submit_button": false + "data_type": "boolean", + "true_color": 4283215696, + "false_color": 4294198070, + "true_icon": "None", + "false_icon": "None" } }, { - "title": "letHoodPositionDegsChange", + "title": "FR_HAT Status", "x": 1125.0, "y": 125.0, "width": 250.0, - "height": 125.0, - "type": "Toggle Switch", + "height": 250.0, + "type": "Boolean Box", "properties": { - "topic": "/TestingDashboard/letHoodPositionDegsChange", + "topic": "/CameraPublisher/FR_HAT-processed/connected", "period": 0.06, - "data_type": "boolean" + "data_type": "boolean", + "true_color": 4283215696, + "false_color": 4294198070, + "true_icon": "None", + "false_icon": "None" } + } + ] + } + }, + { + "name": "LerpingDashboard", + "grid_layout": { + "layouts": [ + { + "title": "hoodRotsOverride", + "x": 1125.0, + "y": 125.0, + "width": 250.0, + "height": 250.0, + "type": "List Layout", + "properties": { + "label_position": "TOP" + }, + "children": [ + { + "title": "enabled", + "x": 0.0, + "y": 0.0, + "width": 250.0, + "height": 250.0, + "type": "Toggle Switch", + "properties": { + "topic": "/Shooter/hoodRotsOverride/enabled", + "period": 0.06, + "data_type": "boolean" + } + }, + { + "title": "value", + "x": 0.0, + "y": 0.0, + "width": 250.0, + "height": 250.0, + "type": "Text Display", + "properties": { + "topic": "/Shooter/hoodRotsOverride/value", + "period": 0.06, + "data_type": "double", + "show_submit_button": true + } + } + ] }, + { + "title": "shooterRPSOverride", + "x": 1125.0, + "y": 375.0, + "width": 250.0, + "height": 250.0, + "type": "List Layout", + "properties": { + "label_position": "TOP" + }, + "children": [ + { + "title": "enabled", + "x": 0.0, + "y": 0.0, + "width": 250.0, + "height": 250.0, + "type": "Toggle Switch", + "properties": { + "topic": "/Shooter/shooterRPSOverride/enabled", + "period": 0.06, + "data_type": "boolean" + } + }, + { + "title": "value", + "x": 0.0, + "y": 0.0, + "width": 250.0, + "height": 250.0, + "type": "Text Display", + "properties": { + "topic": "/Shooter/shooterRPSOverride/value", + "period": 0.06, + "data_type": "double", + "show_submit_button": true + } + } + ] + } + ], + "containers": [ { "title": "hoodPositionDegs", "x": 375.0, @@ -73,27 +195,31 @@ } }, { - "title": "letShooterVelocityRPSChange", - "x": 1125.0, + "title": "shooterVelocityRPS", + "x": 375.0, "y": 375.0, - "width": 250.0, - "height": 125.0, - "type": "Toggle Switch", + "width": 750.0, + "height": 250.0, + "type": "Number Slider", "properties": { - "topic": "/TestingDashboard/letShooterVelocityRPSChange", + "topic": "/TestingDashboard/shooterVelocityRPS", "period": 0.06, - "data_type": "boolean" + "data_type": "double", + "min_value": 0.0, + "max_value": 96.42, + "divisions": 5, + "update_continuously": false } }, { - "title": "letHoodPositionDegsChange", - "x": 1125.0, - "y": 250.0, + "title": "hoodOverrideStatus", + "x": 125.0, + "y": 125.0, "width": 250.0, - "height": 125.0, + "height": 250.0, "type": "Boolean Box", "properties": { - "topic": "/TestingDashboard/letHoodPositionDegsChange", + "topic": "/Shooter/hoodRotsOverride/enabled", "period": 0.06, "data_type": "boolean", "true_color": 4283215696, @@ -103,14 +229,14 @@ } }, { - "title": "letShooterVelocityRPSChange", - "x": 1125.0, - "y": 500.0, + "title": "shooterOverrideStatus", + "x": 125.0, + "y": 375.0, "width": 250.0, - "height": 125.0, + "height": 250.0, "type": "Boolean Box", "properties": { - "topic": "/TestingDashboard/letShooterVelocityRPSChange", + "topic": "/Shooter/shooterRPSOverride/enabled", "period": 0.06, "data_type": "boolean", "true_color": 4283215696, @@ -118,39 +244,176 @@ "true_icon": "None", "false_icon": "None" } + } + ] + } + }, + { + "name": "SOTMControls", + "grid_layout": { + "layouts": [ + { + "title": "RPSBoost", + "x": 500.0, + "y": 125.0, + "width": 250.0, + "height": 250.0, + "type": "List Layout", + "properties": { + "label_position": "TOP" + }, + "children": [ + { + "title": "enabled", + "x": 0.0, + "y": 0.0, + "width": 250.0, + "height": 250.0, + "type": "Toggle Switch", + "properties": { + "topic": "Shooter/Calculator/RPSBoost/enabled", + "period": 0.06, + "data_type": "boolean" + } + }, + { + "title": "value", + "x": 0.0, + "y": 0.0, + "width": 250.0, + "height": 250.0, + "type": "Text Display", + "properties": { + "topic": "Shooter/Calculator/RPSBoost/value", + "period": 0.06, + "data_type": "double", + "show_submit_button": true + } + } + ] }, { - "title": "shooterVelocityRPS", - "x": 125.0, + "title": "hoodRotsOverride", + "x": 750.0, + "y": 125.0, + "width": 250.0, + "height": 250.0, + "type": "List Layout", + "properties": { + "label_position": "TOP" + }, + "children": [ + { + "title": "enabled", + "x": 0.0, + "y": 0.0, + "width": 250.0, + "height": 250.0, + "type": "Toggle Switch", + "properties": { + "topic": "/Shooter/hoodRotsOverride/enabled", + "period": 0.06, + "data_type": "boolean" + } + }, + { + "title": "value", + "x": 0.0, + "y": 0.0, + "width": 250.0, + "height": 250.0, + "type": "Text Display", + "properties": { + "topic": "/Shooter/hoodRotsOverride/value", + "period": 0.06, + "data_type": "double", + "show_submit_button": true + } + } + ] + }, + { + "title": "shooterRPSOverride", + "x": 750.0, "y": 375.0, "width": 250.0, - "height": 125.0, - "type": "Text Display", + "height": 250.0, + "type": "List Layout", "properties": { - "topic": "/TestingDashboard/shooterVelocityRPS", - "period": 0.06, - "data_type": "double", - "show_submit_button": false - } + "label_position": "TOP" + }, + "children": [ + { + "title": "enabled", + "x": 0.0, + "y": 0.0, + "width": 250.0, + "height": 250.0, + "type": "Toggle Switch", + "properties": { + "topic": "/Shooter/shooterRPSOverride/enabled", + "period": 0.06, + "data_type": "boolean" + } + }, + { + "title": "value", + "x": 0.0, + "y": 0.0, + "width": 250.0, + "height": 250.0, + "type": "Text Display", + "properties": { + "topic": "/Shooter/shooterRPSOverride/value", + "period": 0.06, + "data_type": "double", + "show_submit_button": true + } + } + ] }, { - "title": "shooterVelocityRPS", - "x": 375.0, + "title": "lateralBiasGainRots", + "x": 500.0, "y": 375.0, - "width": 750.0, + "width": 250.0, "height": 250.0, - "type": "Number Slider", + "type": "List Layout", "properties": { - "topic": "/TestingDashboard/shooterVelocityRPS", - "period": 0.06, - "data_type": "double", - "min_value": 0.0, - "max_value": 96.42, - "divisions": 5, - "update_continuously": false - } + "label_position": "TOP" + }, + "children": [ + { + "title": "enabled", + "x": 0.0, + "y": 0.0, + "width": 250.0, + "height": 250.0, + "type": "Toggle Switch", + "properties": { + "topic": "/ShotCalc/lateralBiasGainRots/enabled", + "period": 0.06, + "data_type": "boolean" + } + }, + { + "title": "value", + "x": 0.0, + "y": 0.0, + "width": 250.0, + "height": 250.0, + "type": "Text Display", + "properties": { + "topic": "/ShotCalc/lateralBiasGainRots/value", + "period": 0.06, + "data_type": "double", + "show_submit_button": true + } + } + ] } - ] + ], + "containers": [] } } ]