From fe9fba10d67a325cc120e4a1b6be516f75618edd Mon Sep 17 00:00:00 2001 From: Roshan Thadani Date: Tue, 24 Mar 2026 20:19:32 -0400 Subject: [PATCH 1/2] Added elastic dashboard --- elastic_layouts/elastic-layout.json | 70 ++++++++++++++++++++++------- 1 file changed, 55 insertions(+), 15 deletions(-) diff --git a/elastic_layouts/elastic-layout.json b/elastic_layouts/elastic-layout.json index fd58ce26..70d6b138 100644 --- a/elastic_layouts/elastic-layout.json +++ b/elastic_layouts/elastic-layout.json @@ -51,21 +51,7 @@ "show_trajectories": true, "field_rotation": 0.0, "robot_color": 4294198070, - "trajectory_color": 4294967295, - "show_robot_outside_widget": true - } - }, - { - "title": "DriverCam", - "x": 768.0, - "y": 0.0, - "width": 1024.0, - "height": 640.0, - "type": "Camera Stream", - "properties": { - "topic": "/CameraPublisher/DriverCam", - "period": 0.06, - "rotation_turns": 0 + "trajectory_color": 4294967295 } }, { @@ -522,6 +508,47 @@ } } ] + }, + { + "title": "ROS", + "x": 768.0, + "y": 0.0, + "width": 256.0, + "height": 256.0, + "type": "List Layout", + "properties": { + "label_position": "TOP" + }, + "children": [ + { + "title": "lifesigns_SHOOTER", + "x": 0.0, + "y": 0.0, + "width": 128.0, + "height": 128.0, + "type": "Text Display", + "properties": { + "topic": "/ROS/lifesigns_SHOOTER", + "period": 0.06, + "data_type": "double", + "show_submit_button": false + } + }, + { + "title": "lifesigns_SIDES", + "x": 0.0, + "y": 0.0, + "width": 128.0, + "height": 128.0, + "type": "Text Display", + "properties": { + "topic": "/ROS/lifesigns_SIDES", + "period": 0.06, + "data_type": "double", + "show_submit_button": false + } + } + ] } ], "containers": [ @@ -564,6 +591,19 @@ "data_type": "string", "show_submit_button": false } + }, + { + "title": "totalTimeouts", + "x": 1024.0, + "y": 0.0, + "width": 256.0, + "height": 256.0, + "type": "Large Text Display", + "properties": { + "topic": "/AdvantageKit/RealOutputs/Timeouts/totalTimeouts", + "period": 0.06, + "data_type": "int" + } } ] } From b910f47285499e1810e91518355717c25bed0987 Mon Sep 17 00:00:00 2001 From: Roshan Thadani Date: Tue, 24 Mar 2026 20:27:38 -0400 Subject: [PATCH 2/2] commit --- elastic_layouts/elastic-layout.json | 61 +++++------------------------ 1 file changed, 10 insertions(+), 51 deletions(-) diff --git a/elastic_layouts/elastic-layout.json b/elastic_layouts/elastic-layout.json index 70d6b138..bd062bdc 100644 --- a/elastic_layouts/elastic-layout.json +++ b/elastic_layouts/elastic-layout.json @@ -8,9 +8,9 @@ "layouts": [ { "title": "Shooting State", - "x": 512.0, + "x": 0.0, "y": 384.0, - "width": 256.0, + "width": 768.0, "height": 256.0, "type": "List Layout", "properties": { @@ -69,15 +69,15 @@ } }, { - "title": "Active Countdown [PLACEHOLDER]", - "x": 0.0, - "y": 384.0, + "title": "Next Shift In...", + "x": 768.0, + "y": 0.0, "width": 512.0, - "height": 256.0, + "height": 384.0, "type": "Large Text Display", "properties": { - "topic": "/SmartDashboard/TURRET/Arm Encoder", - "period": 0.033, + "topic": "/SmartDashboard/Next Shift In...", + "period": 0.06, "data_type": "double" } } @@ -468,50 +468,9 @@ "name": "AutoChooser", "grid_layout": { "layouts": [ - { - "title": "Lifesigns [PLACEHOLDER]", - "x": 512.0, - "y": 0.0, - "width": 256.0, - "height": 256.0, - "type": "List Layout", - "properties": { - "label_position": "TOP" - }, - "children": [ - { - "title": "Lifesign 1 [PLACEHOLDER]", - "x": 640.0, - "y": 128.0, - "width": 128.0, - "height": 128.0, - "type": "Text Display", - "properties": { - "topic": "/SmartDashboard/Choreo Alerts/infos", - "period": 0.06, - "data_type": "string[]", - "show_submit_button": false - } - }, - { - "title": "Lifesign 1 [PLACEHOLDER]", - "x": 512.0, - "y": 128.0, - "width": 128.0, - "height": 128.0, - "type": "Text Display", - "properties": { - "topic": "/SmartDashboard/Choreo Alerts/infos", - "period": 0.06, - "data_type": "string[]", - "show_submit_button": false - } - } - ] - }, { "title": "ROS", - "x": 768.0, + "x": 512.0, "y": 0.0, "width": 256.0, "height": 256.0, @@ -594,7 +553,7 @@ }, { "title": "totalTimeouts", - "x": 1024.0, + "x": 768.0, "y": 0.0, "width": 256.0, "height": 256.0,