From 6314b8a2b7e34f7edd9ecf8801de09e0362eccbe Mon Sep 17 00:00:00 2001 From: Gold87 Date: Thu, 16 May 2024 18:33:06 -0400 Subject: [PATCH] Fixed test layout json --- test_resources/elastic-layout.json | 389 ----------------------------- 1 file changed, 389 deletions(-) delete mode 100644 test_resources/elastic-layout.json diff --git a/test_resources/elastic-layout.json b/test_resources/elastic-layout.json deleted file mode 100644 index 0cfaae7f..00000000 --- a/test_resources/elastic-layout.json +++ /dev/null @@ -1,389 +0,0 @@ -{ - "version": 1.0, - "grid_size": 128, - "tabs": [ - { - "name": "Teleoperated", - "grid_layout": { - "layouts": [ - { - "title": "Example List Layout", - "x": 1280.0, - "y": 0.0, - "width": 256.0, - "height": 384.0, - "type": "List Layout", - "properties": { - "label_position": "TOP" - }, - "children": [ - { - "title": "Differential Drive", - "x": 0.0, - "y": 0.0, - "width": 384.0, - "height": 256.0, - "type": "DifferentialDrive", - "properties": { - "topic": "/SmartDashboard/Differential Drive", - "period": 0.033 - } - }, - { - "title": "List Layout Boolean", - "x": 0.0, - "y": 0.0, - "width": 128.0, - "height": 128.0, - "type": "Boolean Box", - "properties": { - "topic": "/SmartDashboard/Test Boolean", - "period": 0.033, - "true_color": 4283215696, - "false_color": 4294198070, - "true_icon": "None", - "false_icon": "None" - } - } - ] - } - ], - "containers": [ - { - "title": "Test Number", - "x": 0.0, - "y": 0.0, - "width": 128.0, - "height": 128.0, - "type": "Text Display", - "properties": { - "topic": "/SmartDashboard/Testing", - "period": 0.033, - "show_submit_button": false - } - }, - { - "title": "Test Boolean", - "x": 128.0, - "y": 0.0, - "width": 128.0, - "height": 128.0, - "type": "Boolean Box", - "properties": { - "topic": "/SmartDashboard/Test Boolean", - "period": 0.033, - "true_color": 4283215696, - "false_color": 4294198070, - "true_icon": "None", - "false_icon": "None" - } - }, - { - "title": "Field", - "x": 256.0, - "y": 384.0, - "width": 384.0, - "height": 256.0, - "type": "Field", - "properties": { - "topic": "/SmartDashboard/Field", - "period": 0.033, - "field_game": "Crescendo", - "robot_width": 0.82, - "robot_length": 1.0, - "show_other_objects": true, - "show_trajectories": true - } - }, - { - "title": "Test Gyro", - "x": 0.0, - "y": 128.0, - "width": 256.0, - "height": 256.0, - "type": "Gyro", - "properties": { - "topic": "/SmartDashboard/Test Gyro", - "period": 0.033, - "counter_clockwise_positive": false - } - }, - { - "title": "Test Distribution", - "x": 640.0, - "y": 0.0, - "width": 384.0, - "height": 512.0, - "type": "PowerDistribution", - "properties": { - "topic": "/SmartDashboard/Test Distribution", - "period": 0.033 - } - }, - { - "title": "Test PID Controller", - "x": 1024.0, - "y": 0.0, - "width": 256.0, - "height": 384.0, - "type": "PIDController", - "properties": { - "topic": "/SmartDashboard/Test PID Controller", - "period": 0.033 - } - }, - { - "title": "USB Camera 0", - "x": 0.0, - "y": 384.0, - "width": 128.0, - "height": 128.0, - "type": "Camera Stream", - "properties": { - "topic": "/CameraPublisher/USB Camera 0", - "period": 0.033 - } - }, - { - "title": "FMSInfo", - "x": 256.0, - "y": 256.0, - "width": 384.0, - "height": 128.0, - "type": "FMSInfo", - "properties": { - "topic": "/FMSInfo", - "period": 0.033 - } - }, - { - "title": "Match Time", - "x": 128.0, - "y": 384.0, - "width": 128.0, - "height": 128.0, - "type": "Match Time", - "properties": { - "topic": "/SmartDashboard/Match Time", - "period": 0.033, - "time_display_mode": "Minutes and Seconds", - "red_start_time": 15, - "yellow_start_time": 30 - } - }, - { - "title": "Swerve Drive", - "x": 1024.0, - "y": 384.0, - "width": 256.0, - "height": 256.0, - "type": "SwerveDrive", - "properties": { - "topic": "/SmartDashboard/Swerve Drive", - "period": 0.033, - "show_robot_rotation": true, - "rotation_unit": "Degrees" - } - } - ] - } - }, - { - "name": "Autonomous", - "grid_layout": { - "layouts": [], - "containers": [ - { - "title": "Test Chooser", - "x": 0.0, - "y": 0.0, - "width": 256.0, - "height": 128.0, - "type": "ComboBox Chooser", - "properties": { - "topic": "/SmartDashboard/Test Chooser", - "period": 0.033, - "sort_options": false - } - }, - { - "title": "Command Scheduler", - "x": 256.0, - "y": 0.0, - "width": 256.0, - "height": 384.0, - "type": "Scheduler", - "properties": { - "topic": "/SmartDashboard/Command Scheduler", - "period": 0.033 - } - }, - { - "title": "Drive System", - "x": 512.0, - "y": 128.0, - "width": 256.0, - "height": 128.0, - "type": "Subsystem", - "properties": { - "topic": "/SmartDashboard/Drive System", - "period": 0.033 - } - }, - { - "title": "Rainbow Color Array", - "x": 0.0, - "y": 256.0, - "width": 256.0, - "height": 128.0, - "type": "Multi Color View", - "properties": { - "topic": "/SmartDashboard/Rainbow Color Array", - "period": 0.033 - } - }, - { - "title": "Voltage", - "x": 0.0, - "y": 384.0, - "width": 256.0, - "height": 128.0, - "type": "Voltage View", - "properties": { - "topic": "/SmartDashboard/Voltage", - "period": 0.033, - "min_value": 4.0, - "max_value": 13.0, - "divisions": 5, - "inverted": false, - "orientation": "horizontal" - } - }, - { - "title": "Auto Path", - "x": 512.0, - "y": 0.0, - "width": 256.0, - "height": 128.0, - "type": "Command", - "properties": { - "topic": "/SmartDashboard/Auto Path", - "period": 0.033, - "show_type": true - } - }, - { - "title": "Test Boolean", - "x": 512.0, - "y": 256.0, - "width": 128.0, - "height": 128.0, - "type": "Toggle Switch", - "properties": { - "topic": "/SmartDashboard/Test Boolean", - "period": 0.033 - } - }, - { - "title": "Test Toggle Button", - "x": 640.0, - "y": 256.0, - "width": 128.0, - "height": 128.0, - "type": "Toggle Button", - "properties": { - "topic": "/SmartDashboard/Test Boolean", - "period": 0.033 - } - }, - { - "title": "Preferences", - "x": 768.0, - "y": 0.0, - "width": 256.0, - "height": 384.0, - "type": "RobotPreferences", - "properties": { - "topic": "/Preferences", - "period": 0.033 - } - }, - { - "title": "Auto Chooser", - "x": 0.0, - "y": 128.0, - "width": 256.0, - "height": 128.0, - "type": "Split Button Chooser", - "properties": { - "topic": "/SmartDashboard/Auto Chooser", - "period": 0.033 - } - }, - { - "title": "Rainbow Color", - "x": 256.0, - "y": 384.0, - "width": 128.0, - "height": 128.0, - "type": "Single Color View", - "properties": { - "topic": "/SmartDashboard/Rainbow Color", - "period": 0.033 - } - }, - { - "title": "Test Number", - "x": 384.0, - "y": 384.0, - "width": 128.0, - "height": 128.0, - "type": "Number Bar", - "properties": { - "topic": "/SmartDashboard/Test Number", - "period": 0.033, - "min_value": -1.0, - "max_value": 1.0, - "divisions": 5, - "inverted": false, - "orientation": "horizontal" - } - }, - { - "title": "Test Number", - "x": 512.0, - "y": 384.0, - "width": 256.0, - "height": 128.0, - "type": "Number Slider", - "properties": { - "topic": "/SmartDashboard/Test Number", - "period": 0.033, - "min_value": -1.0, - "max_value": 1.0, - "divisions": 5, - "publish_all": false - } - }, - { - "title": "Voltage", - "x": 768.0, - "y": 384.0, - "width": 256.0, - "height": 128.0, - "type": "Graph", - "properties": { - "topic": "/SmartDashboard/Voltage", - "period": 0.033, - "time_displayed": 5.0, - "min_value": null, - "max_value": null, - "color": 4278238420, - "line_width": 2.0 - } - } - ] - } - } - ] -} \ No newline at end of file