diff --git a/elastic-comp-layout.json b/elastic-comp-layout.json deleted file mode 100644 index 11d61ac..0000000 --- a/elastic-comp-layout.json +++ /dev/null @@ -1,623 +0,0 @@ -{ - "version": 1.0, - "grid_size": 128, - "tabs": [ - { - "name": "Teleoperated", - "grid_layout": { - "layouts": [ - { - "title": "Tag Processed", - "x": 1280.0, - "y": 0.0, - "width": 256.0, - "height": 256.0, - "type": "List Layout", - "properties": { - "label_position": "TOP" - }, - "children": [ - { - "title": "LeftCamTag", - "x": 896.0, - "y": 256.0, - "width": 128.0, - "height": 128.0, - "type": "Boolean Box", - "properties": { - "topic": "/AdvantageKit/Vision/Camera0/IsTagProcessed", - "period": 0.06, - "data_type": "boolean", - "true_color": 4283215696, - "false_color": 4294198070, - "true_icon": "Checkmark", - "false_icon": "X" - } - }, - { - "title": "RightCamTag", - "x": 768.0, - "y": 128.0, - "width": 128.0, - "height": 128.0, - "type": "Boolean Box", - "properties": { - "topic": "/AdvantageKit/Vision/Camera1/IsTagProcessed", - "period": 0.06, - "data_type": "boolean", - "true_color": 4283215696, - "false_color": 4294198070, - "true_icon": "Checkmark", - "false_icon": "X" - } - } - ] - } - ], - "containers": [ - { - "title": "FMSInfo", - "x": 1024.0, - "y": 256.0, - "width": 512.0, - "height": 128.0, - "type": "FMSInfo", - "properties": { - "topic": "/FMSInfo", - "period": 0.06 - } - }, - { - "title": "Alliance", - "x": 1152.0, - "y": 384.0, - "width": 384.0, - "height": 256.0, - "type": "Boolean Box", - "properties": { - "topic": "/FMSInfo/IsRedAlliance", - "period": 0.06, - "data_type": "boolean", - "true_color": 4294901760, - "false_color": 4279107839, - "true_icon": "None", - "false_icon": "None" - } - }, - { - "title": "MatchTime", - "x": 256.0, - "y": 128.0, - "width": 384.0, - "height": 256.0, - "type": "Match Time", - "properties": { - "topic": "/AdvantageKit/DriverStation/MatchTime", - "period": 0.06, - "data_type": "double", - "time_display_mode": "Minutes and Seconds", - "red_start_time": 15, - "yellow_start_time": 30 - } - }, - { - "title": "BatteryVoltage", - "x": 128.0, - "y": 0.0, - "width": 384.0, - "height": 128.0, - "type": "Voltage View", - "properties": { - "topic": "/AdvantageKit/SystemStats/BatteryVoltage", - "period": 0.06, - "data_type": "double", - "min_value": 4.0, - "max_value": 13.0, - "divisions": 5, - "inverted": false, - "orientation": "horizontal" - } - }, - { - "title": "Roller Percent Output", - "x": 0.0, - "y": 256.0, - "width": 256.0, - "height": 128.0, - "type": "Text Display", - "properties": { - "topic": "/SmartDashboard/Roller Percent Output", - "period": 0.06, - "data_type": "double", - "show_submit_button": true - } - }, - { - "title": "Indexer FWD % Output", - "x": 0.0, - "y": 384.0, - "width": 256.0, - "height": 128.0, - "type": "Text Display", - "properties": { - "topic": "/SmartDashboard/Indexer FWD % Output", - "period": 0.06, - "data_type": "double", - "show_submit_button": true - } - }, - { - "title": "Shooter idle % output", - "x": 0.0, - "y": 512.0, - "width": 256.0, - "height": 128.0, - "type": "Text Display", - "properties": { - "topic": "/SmartDashboard/Shooter idle % output", - "period": 0.06, - "data_type": "double", - "show_submit_button": true - } - }, - { - "title": "RetractedLimit", - "x": 896.0, - "y": 256.0, - "width": 128.0, - "height": 128.0, - "type": "Boolean Box", - "properties": { - "topic": "/AdvantageKit/Intake/RetractedLimit", - "period": 0.06, - "data_type": "boolean", - "true_color": 4283215696, - "false_color": 4294198070, - "true_icon": "None", - "false_icon": "None" - } - }, - { - "title": "ArmAngle", - "x": 256.0, - "y": 384.0, - "width": 256.0, - "height": 256.0, - "type": "Graph", - "properties": { - "topic": "/AdvantageKit/Intake/ArmAngle", - "period": 0.033, - "data_type": "double", - "time_displayed": 5.0, - "color": 4278238420, - "line_width": 2.0 - } - }, - { - "title": "Shooter Current", - "x": 640.0, - "y": 384.0, - "width": 256.0, - "height": 256.0, - "type": "Graph", - "properties": { - "topic": "/AdvantageKit/Shooter/Motor1Velocity", - "period": 0.033, - "data_type": "double", - "time_displayed": 5.0, - "color": 4288151764, - "line_width": 2.0 - } - }, - { - "title": "Shooter Target", - "x": 896.0, - "y": 384.0, - "width": 256.0, - "height": 256.0, - "type": "Graph", - "properties": { - "topic": "/AdvantageKit/Shooter/Motor1TargetVelocity", - "period": 0.033, - "data_type": "double", - "time_displayed": 5.0, - "color": 4292083712, - "line_width": 2.0 - } - } - ] - } - }, - { - "name": "Autonomous", - "grid_layout": { - "layouts": [], - "containers": [] - } - }, - { - "name": "PIDs", - "grid_layout": { - "layouts": [], - "containers": [ - { - "title": "Shooter KP", - "x": 0.0, - "y": 0.0, - "width": 128.0, - "height": 128.0, - "type": "Text Display", - "properties": { - "topic": "/SmartDashboard/Shooter KP", - "period": 0.06, - "data_type": "double", - "show_submit_button": true - } - }, - { - "title": "Shooter KI", - "x": 0.0, - "y": 128.0, - "width": 128.0, - "height": 128.0, - "type": "Text Display", - "properties": { - "topic": "/SmartDashboard/Shooter KI", - "period": 0.06, - "data_type": "double", - "show_submit_button": true - } - }, - { - "title": "Shooter KD", - "x": 0.0, - "y": 256.0, - "width": 128.0, - "height": 128.0, - "type": "Text Display", - "properties": { - "topic": "/SmartDashboard/Shooter KD", - "period": 0.06, - "data_type": "double", - "show_submit_button": true - } - }, - { - "title": "ARM KP", - "x": 128.0, - "y": 0.0, - "width": 128.0, - "height": 128.0, - "type": "Text Display", - "properties": { - "topic": "/SmartDashboard/ARM KP", - "period": 0.06, - "data_type": "double", - "show_submit_button": true - } - }, - { - "title": "ARM KI", - "x": 128.0, - "y": 128.0, - "width": 128.0, - "height": 128.0, - "type": "Text Display", - "properties": { - "topic": "/SmartDashboard/ARM KI", - "period": 0.06, - "data_type": "double", - "show_submit_button": true - } - }, - { - "title": "ARM KD", - "x": 128.0, - "y": 256.0, - "width": 128.0, - "height": 128.0, - "type": "Text Display", - "properties": { - "topic": "/SmartDashboard/ARM KD", - "period": 0.06, - "data_type": "double", - "show_submit_button": true - } - }, - { - "title": "Arm angle extended", - "x": 256.0, - "y": 256.0, - "width": 256.0, - "height": 128.0, - "type": "Text Display", - "properties": { - "topic": "/SmartDashboard/Arm angle extended", - "period": 0.06, - "data_type": "double", - "show_submit_button": true - } - }, - { - "title": "Arm angle retracted", - "x": 128.0, - "y": 512.0, - "width": 256.0, - "height": 128.0, - "type": "Text Display", - "properties": { - "topic": "/SmartDashboard/Arm angle retracted", - "period": 0.06, - "data_type": "double", - "show_submit_button": true - } - }, - { - "title": "Mode", - "x": 768.0, - "y": 384.0, - "width": 256.0, - "height": 128.0, - "type": "Text Display", - "properties": { - "topic": "/AdvantageKit/RealOutputs/Shooter/Mode", - "period": 0.06, - "data_type": "string", - "show_submit_button": true - } - }, - { - "title": "Shooter speed tolerance RPS", - "x": 0.0, - "y": 384.0, - "width": 256.0, - "height": 128.0, - "type": "Text Display", - "properties": { - "topic": "/SmartDashboard/Shooter speed tolerance RPS", - "period": 0.06, - "data_type": "double", - "show_submit_button": true - } - }, - { - "title": "Mode", - "x": 768.0, - "y": 256.0, - "width": 256.0, - "height": 128.0, - "type": "Text Display", - "properties": { - "topic": "/AdvantageKit/RealOutputs/LED/Mode", - "period": 0.06, - "data_type": "string", - "show_submit_button": true - } - }, - { - "title": "Arm extend % output", - "x": 512.0, - "y": 256.0, - "width": 256.0, - "height": 128.0, - "type": "Text Display", - "properties": { - "topic": "/SmartDashboard/Arm extend % output", - "period": 0.06, - "data_type": "double", - "show_submit_button": true - } - }, - { - "title": "Arm retract % output", - "x": 512.0, - "y": 384.0, - "width": 256.0, - "height": 128.0, - "type": "Text Display", - "properties": { - "topic": "/SmartDashboard/Arm retract % output", - "period": 0.06, - "data_type": "double", - "show_submit_button": true - } - }, - { - "title": "RetractedLimit", - "x": 768.0, - "y": 128.0, - "width": 128.0, - "height": 128.0, - "type": "Boolean Box", - "properties": { - "topic": "/AdvantageKit/Intake/RetractedLimit", - "period": 0.06, - "data_type": "boolean", - "true_color": 4283215696, - "false_color": 4294198070, - "true_icon": "None", - "false_icon": "None" - } - }, - { - "title": "ArmAngle", - "x": 896.0, - "y": 128.0, - "width": 128.0, - "height": 128.0, - "type": "Text Display", - "properties": { - "topic": "/AdvantageKit/Intake/ArmAngle", - "period": 0.06, - "data_type": "double", - "show_submit_button": true - } - }, - { - "title": "Indexer FWD % Output", - "x": 512.0, - "y": 128.0, - "width": 256.0, - "height": 128.0, - "type": "Text Display", - "properties": { - "topic": "/SmartDashboard/Indexer FWD % Output", - "period": 0.06, - "data_type": "double", - "show_submit_button": true - } - }, - { - "title": "Roller Percent Output", - "x": 256.0, - "y": 0.0, - "width": 256.0, - "height": 128.0, - "type": "Text Display", - "properties": { - "topic": "/SmartDashboard/Roller Percent Output", - "period": 0.06, - "data_type": "double", - "show_submit_button": true - } - }, - { - "title": "Indexer reverse % Output", - "x": 256.0, - "y": 128.0, - "width": 256.0, - "height": 128.0, - "type": "Text Display", - "properties": { - "topic": "/SmartDashboard/Indexer reverse % Output", - "period": 0.06, - "data_type": "double", - "show_submit_button": true - } - }, - { - "title": "Hub Dist", - "x": 1024.0, - "y": 0.0, - "width": 256.0, - "height": 128.0, - "type": "Text Display", - "properties": { - "topic": "/AdvantageKit/RealOutputs/Hub Dist", - "period": 0.06, - "data_type": "double", - "show_submit_button": true - } - }, - { - "title": "IntakeState", - "x": 1024.0, - "y": 128.0, - "width": 256.0, - "height": 128.0, - "type": "Text Display", - "properties": { - "topic": "/AdvantageKit/RealOutputs/Intake/IntakeState", - "period": 0.06, - "data_type": "string", - "show_submit_button": true - } - }, - { - "title": "IsTagProcessed", - "x": 1280.0, - "y": 0.0, - "width": 128.0, - "height": 128.0, - "type": "Boolean Box", - "properties": { - "topic": "/AdvantageKit/Vision/Camera0/IsTagProcessed", - "period": 0.06, - "data_type": "boolean", - "true_color": 4283215696, - "false_color": 4294198070, - "true_icon": "None", - "false_icon": "None" - } - }, - { - "title": "Shooter MAX Velocity", - "x": 768.0, - "y": 0.0, - "width": 256.0, - "height": 128.0, - "type": "Text Display", - "properties": { - "topic": "/SmartDashboard/Shooter MAX Velocity", - "period": 0.06, - "data_type": "double", - "show_submit_button": true - } - }, - { - "title": "Auto Chooser", - "x": 256.0, - "y": 384.0, - "width": 256.0, - "height": 128.0, - "type": "ComboBox Chooser", - "properties": { - "topic": "/SmartDashboard/Auto Chooser", - "period": 0.06, - "sort_options": false - } - }, - { - "title": "Shooter Idle max current", - "x": 384.0, - "y": 512.0, - "width": 256.0, - "height": 128.0, - "type": "Text Display", - "properties": { - "topic": "/SmartDashboard/Shooter Idle max current", - "period": 0.06, - "data_type": "double", - "show_submit_button": true - } - }, - { - "title": "Shooter idle % output", - "x": 512.0, - "y": 0.0, - "width": 256.0, - "height": 128.0, - "type": "Text Display", - "properties": { - "topic": "/SmartDashboard/Shooter idle % output", - "period": 0.06, - "data_type": "double", - "show_submit_button": true - } - } - ] - } - }, - { - "name": "Trims", - "grid_layout": { - "layouts": [], - "containers": [ - { - "title": "X Offset Trim", - "x": 0.0, - "y": 0.0, - "width": 128.0, - "height": 128.0, - "type": "Text Display", - "properties": { - "topic": "/Shuffleboard/Trims/X Offset Trim", - "period": 0.06, - "show_submit_button": false - } - } - ] - } - } - ] -} \ No newline at end of file diff --git a/elastic-layout.json b/elastic-layout.json index d2bbe05..63ee31c 100644 --- a/elastic-layout.json +++ b/elastic-layout.json @@ -5,88 +5,169 @@ { "name": "Teleoperated", "grid_layout": { - "layouts": [], + "layouts": [ + { + "title": "Tag Processed", + "x": 1024.0, + "y": 128.0, + "width": 384.0, + "height": 384.0, + "type": "List Layout", + "properties": { + "label_position": "TOP" + }, + "children": [ + { + "title": "LeftCamTag", + "x": 896.0, + "y": 256.0, + "width": 128.0, + "height": 128.0, + "type": "Boolean Box", + "properties": { + "topic": "/AdvantageKit/Vision/Camera0/IsTagProcessed", + "period": 0.06, + "data_type": "boolean", + "true_color": 4283215696, + "false_color": 4294198070, + "true_icon": "Checkmark", + "false_icon": "X" + } + }, + { + "title": "RightCamTag", + "x": 768.0, + "y": 128.0, + "width": 128.0, + "height": 128.0, + "type": "Boolean Box", + "properties": { + "topic": "/AdvantageKit/Vision/Camera1/IsTagProcessed", + "period": 0.06, + "data_type": "boolean", + "true_color": 4283215696, + "false_color": 4294198070, + "true_icon": "Checkmark", + "false_icon": "X" + } + } + ] + } + ], "containers": [ { - "title": "Lidar Points", - "x": 640.0, - "y": 128.0, - "width": 128.0, + "title": "FMSInfo", + "x": 0.0, + "y": 512.0, + "width": 384.0, "height": 128.0, - "type": "Text Display", + "type": "FMSInfo", "properties": { - "topic": "/SmartDashboard/Lidar Points", - "period": 0.06, - "data_type": "double", - "show_submit_button": false + "topic": "/FMSInfo", + "period": 0.06 } }, { - "title": "Lidar state", - "x": 640.0, + "title": "Alliance", + "x": 0.0, "y": 256.0, - "width": 256.0, - "height": 128.0, - "type": "Text Display", + "width": 384.0, + "height": 256.0, + "type": "Boolean Box", "properties": { - "topic": "/SmartDashboard/Lidar state", + "topic": "/FMSInfo/IsRedAlliance", "period": 0.06, - "data_type": "string", - "show_submit_button": false + "data_type": "boolean", + "true_color": 4294901760, + "false_color": 4279107839, + "true_icon": "None", + "false_icon": "None" } }, { - "title": "Lidar state", - "x": 768.0, + "title": "MatchTime", + "x": 0.0, "y": 0.0, - "width": 128.0, - "height": 128.0, - "type": "Text Display", + "width": 384.0, + "height": 256.0, + "type": "Match Time", "properties": { - "topic": "/SmartDashboard/Lidar state", - "period": 0.06, - "data_type": "string", - "show_submit_button": false - } - }, - { - "title": "lidar state", - "x": 896.0, - "y": 0.0, - "width": 256.0, - "height": 128.0, - "type": "Text Display", - "properties": { - "topic": "/SmartDashboard/lidar state", - "period": 0.06, - "data_type": "string", - "show_submit_button": false - } - }, - { - "title": "LiDAR speed", - "x": 896.0, - "y": 128.0, - "width": 128.0, - "height": 128.0, - "type": "Text Display", - "properties": { - "topic": "/SmartDashboard/LiDAR speed", + "topic": "/AdvantageKit/DriverStation/MatchTime", "period": 0.06, "data_type": "double", - "show_submit_button": false + "time_display_mode": "Minutes and Seconds", + "red_start_time": 15, + "yellow_start_time": 30 + } + }, + { + "title": "BatteryVoltage", + "x": 1024.0, + "y": 512.0, + "width": 384.0, + "height": 128.0, + "type": "Voltage View", + "properties": { + "topic": "/AdvantageKit/SystemStats/BatteryVoltage", + "period": 0.06, + "data_type": "double", + "min_value": 4.0, + "max_value": 13.0, + "divisions": 5, + "inverted": false, + "orientation": "horizontal" + } + }, + { + "title": "RetractedLimit", + "x": 640.0, + "y": 128.0, + "width": 384.0, + "height": 384.0, + "type": "Boolean Box", + "properties": { + "topic": "/AdvantageKit/Intake/RetractedLimit", + "period": 0.06, + "data_type": "boolean", + "true_color": 4283215696, + "false_color": 4294198070, + "true_icon": "None", + "false_icon": "None" + } + }, + { + "title": "Auto Chooser", + "x": 640.0, + "y": 0.0, + "width": 768.0, + "height": 128.0, + "type": "ComboBox Chooser", + "properties": { + "topic": "/SmartDashboard/Auto Chooser", + "period": 0.06, + "sort_options": false + } + }, + { + "title": "Roller Percent Output", + "x": 640.0, + "y": 512.0, + "width": 384.0, + "height": 128.0, + "type": "Number Slider", + "properties": { + "topic": "/SmartDashboard/Roller Percent Output", + "period": 0.06, + "data_type": "double", + "min_value": -1.0, + "max_value": 1.0, + "divisions": 5, + "update_continuously": false } } ] } }, - { - "name": "Autonomous", - "grid_layout": { - "layouts": [], - "containers": [] - } - }, { "name": "PIDs", "grid_layout": { @@ -192,8 +273,8 @@ }, { "title": "Arm angle retracted", - "x": 256.0, - "y": 384.0, + "x": 128.0, + "y": 512.0, "width": 256.0, "height": 128.0, "type": "Text Display", @@ -204,20 +285,6 @@ "show_submit_button": true } }, - { - "title": "Shooter Resting Velocity", - "x": 512.0, - "y": 0.0, - "width": 256.0, - "height": 128.0, - "type": "Text Display", - "properties": { - "topic": "/SmartDashboard/Shooter Resting Velocity", - "period": 0.06, - "data_type": "double", - "show_submit_button": true - } - }, { "title": "Mode", "x": 768.0, @@ -422,8 +489,8 @@ }, { "title": "Auto Chooser", - "x": 1280.0, - "y": 128.0, + "x": 256.0, + "y": 384.0, "width": 256.0, "height": 128.0, "type": "ComboBox Chooser", @@ -432,30 +499,58 @@ "period": 0.06, "sort_options": false } + }, + { + "title": "Shooter Idle max current", + "x": 384.0, + "y": 512.0, + "width": 256.0, + "height": 128.0, + "type": "Text Display", + "properties": { + "topic": "/SmartDashboard/Shooter Idle max current", + "period": 0.06, + "data_type": "double", + "show_submit_button": true + } + }, + { + "title": "Shooter idle % output", + "x": 512.0, + "y": 0.0, + "width": 256.0, + "height": 128.0, + "type": "Text Display", + "properties": { + "topic": "/SmartDashboard/Shooter idle % output", + "period": 0.06, + "data_type": "double", + "show_submit_button": true + } + } + ] + } + }, + { + "name": "Tab 3", + "grid_layout": { + "layouts": [], + "containers": [ + { + "title": "Auto Chooser", + "x": 0.0, + "y": 0.0, + "width": 1536.0, + "height": 768.0, + "type": "ComboBox Chooser", + "properties": { + "topic": "/SmartDashboard/Auto Chooser", + "period": 0.06, + "sort_options": false + } } ] } - }, - { - "name": "Trims", - "grid_layout": { - "layouts": [], - "containers": [ - { - "title": "X Offset Trim", - "x": 0.0, - "y": 0.0, - "width": 128.0, - "height": 128.0, - "type": "Text Display", - "properties": { - "topic": "/Shuffleboard/Trims/X Offset Trim", - "period": 0.06, - "show_submit_button": false - } - } - ] - } } ] } \ No newline at end of file