Skip to content

Commit

Permalink
Elastic Dasboard layouts
Browse files Browse the repository at this point in the history
  • Loading branch information
cherriae committed Jan 25, 2024
1 parent 69357c9 commit 5896173
Show file tree
Hide file tree
Showing 3 changed files with 127 additions and 123 deletions.
1 change: 1 addition & 0 deletions elastic-layout.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"tabs":[{"name":"Teleoperated","grid_layout":{"layouts":[{"title":"HotReload","x":768.0,"y":640.0,"width":256.0,"height":256.0,"type":"List Layout","properties":{"label_position":"TOP"},"children":[{"title":"hotReloadAuto","x":0.0,"y":0.0,"width":128.0,"height":128.0,"type":"Text Display","properties":{"topic":"/PathPlanner/HotReload/hotReloadAuto","period":0.06,"data_type":"string"}},{"title":"hotReloadPath","x":0.0,"y":0.0,"width":128.0,"height":128.0,"type":"Text Display","properties":{"topic":"/PathPlanner/HotReload/hotReloadPath","period":0.06,"data_type":"string"}}]}],"containers":[{"title":"Gyro","x":256.0,"y":0.0,"width":256.0,"height":256.0,"type":"Number Bar","properties":{"topic":"/SmartDashboard/Gyro","period":0.033,"data_type":"double","min_value":-1.0,"max_value":1.0,"divisions":5,"inverted":false,"orientation":"horizontal"}},{"title":"Front Right Velocity","x":640.0,"y":128.0,"width":128.0,"height":128.0,"type":"Number Bar","properties":{"topic":"/SmartDashboard/Front Right Velocity","period":0.06,"data_type":"double","min_value":-1.0,"max_value":1.0,"divisions":5,"inverted":false,"orientation":"horizontal"}},{"title":"Front Left Velocity","x":512.0,"y":128.0,"width":128.0,"height":128.0,"type":"Number Bar","properties":{"topic":"/SmartDashboard/Front Left Velocity","period":0.06,"data_type":"double","min_value":-1.0,"max_value":1.0,"divisions":5,"inverted":false,"orientation":"horizontal"}},{"title":"Field Oriented","x":512.0,"y":384.0,"width":256.0,"height":256.0,"type":"Toggle Switch","properties":{"topic":"/SmartDashboard/Field Oriented","period":0.06,"data_type":"boolean"}},{"title":"Back Right Velocity","x":640.0,"y":0.0,"width":128.0,"height":128.0,"type":"Number Bar","properties":{"topic":"/SmartDashboard/Back Right Velocity","period":0.06,"data_type":"double","min_value":-1.0,"max_value":1.0,"divisions":5,"inverted":false,"orientation":"horizontal"}},{"title":"Back Left Velocity","x":512.0,"y":0.0,"width":128.0,"height":128.0,"type":"Number Bar","properties":{"topic":"/SmartDashboard/Back Left Velocity","period":0.06,"data_type":"double","min_value":-1.0,"max_value":1.0,"divisions":5,"inverted":false,"orientation":"horizontal"}},{"title":"default","x":1280.0,"y":640.0,"width":128.0,"height":128.0,"type":"Text Display","properties":{"topic":"/SmartDashboard/AUTON CHOOSER/default","period":0.06,"data_type":"string"}},{"title":"FIELD","x":768.0,"y":0.0,"width":1152.0,"height":640.0,"type":"Field","properties":{"topic":"/SmartDashboard/FIELD","period":0.06,"field_game":"Crescendo","robot_width":0.85,"robot_length":0.85,"show_other_objects":true,"show_trajectories":true}},{"title":"AUTON CHOOSER","x":1024.0,"y":640.0,"width":256.0,"height":128.0,"type":"ComboBox Chooser","properties":{"topic":"/SmartDashboard/AUTON CHOOSER","period":0.06}},{"title":"FMSInfo","x":1024.0,"y":768.0,"width":384.0,"height":128.0,"type":"FMSInfo","properties":{"topic":"/FMSInfo","period":0.06}},{"title":"IsRedAlliance","x":512.0,"y":640.0,"width":128.0,"height":128.0,"type":"Boolean Box","properties":{"topic":"/FMSInfo/IsRedAlliance","period":0.06,"data_type":"boolean","true_color":4283215696,"false_color":4294198070}},{"title":"MatchNumber","x":640.0,"y":640.0,"width":128.0,"height":128.0,"type":"Text Display","properties":{"topic":"/FMSInfo/MatchNumber","period":0.06,"data_type":"int"}},{"title":"StationNumber","x":640.0,"y":768.0,"width":128.0,"height":128.0,"type":"Text Display","properties":{"topic":"/FMSInfo/StationNumber","period":0.06,"data_type":"int"}},{"title":"ReplayNumber","x":512.0,"y":768.0,"width":128.0,"height":128.0,"type":"Text Display","properties":{"topic":"/FMSInfo/ReplayNumber","period":0.06,"data_type":"int"}},{"title":"Back Left Angle","x":0.0,"y":0.0,"width":128.0,"height":128.0,"type":"Number Slider","properties":{"topic":"/SmartDashboard/Back Left Angle","period":0.06,"data_type":"double","min_value":-1.0,"max_value":1.0,"divisions":5}},{"title":"Back Right Angle","x":128.0,"y":0.0,"width":128.0,"height":128.0,"type":"Number Slider","properties":{"topic":"/SmartDashboard/Back Right Angle","period":0.06,"data_type":"double","min_value":-1.0,"max_value":1.0,"divisions":5}},{"title":"Front Left Angle","x":0.0,"y":128.0,"width":128.0,"height":128.0,"type":"Number Slider","properties":{"topic":"/SmartDashboard/Front Left Angle","period":0.06,"data_type":"double","min_value":-1.0,"max_value":1.0,"divisions":5}},{"title":"Front Right Angle","x":128.0,"y":128.0,"width":128.0,"height":128.0,"type":"Number Slider","properties":{"topic":"/SmartDashboard/Front Right Angle","period":0.06,"data_type":"double","min_value":-1.0,"max_value":1.0,"divisions":5}},{"title":"limelight_Interface","x":0.0,"y":768.0,"width":256.0,"height":128.0,"type":"Text Display","properties":{"topic":"/SmartDashboard/limelight_Interface","period":0.06,"data_type":"string"}},{"title":"limelight_Stream","x":256.0,"y":768.0,"width":256.0,"height":128.0,"type":"Text Display","properties":{"topic":"/SmartDashboard/limelight_Stream","period":0.06,"data_type":"string"}},{"title":"DESIRED X SPEED","x":512.0,"y":256.0,"width":128.0,"height":128.0,"type":"Text Display","properties":{"topic":"/SmartDashboard/DESIRED X SPEED","period":0.06,"data_type":"double"}},{"title":"DESIRED Y SPEED","x":640.0,"y":256.0,"width":128.0,"height":128.0,"type":"Text Display","properties":{"topic":"/SmartDashboard/DESIRED Y SPEED","period":0.06,"data_type":"double"}},{"title":"limelight","x":0.0,"y":256.0,"width":512.0,"height":512.0,"type":"Camera Stream","properties":{"topic":"/CameraPublisher/limelight","period":0.06}},{"title":"ledMode","x":1408.0,"y":640.0,"width":128.0,"height":128.0,"type":"Text Display","properties":{"topic":"/limelight/ledMode","period":0.06,"data_type":"double"}},{"title":"camerapose_targetspace","x":1408.0,"y":768.0,"width":256.0,"height":128.0,"type":"Text Display","properties":{"topic":"/limelight/camerapose_targetspace","period":0.06,"data_type":"double[]"}},{"title":"camMode","x":1536.0,"y":640.0,"width":128.0,"height":128.0,"type":"Text Display","properties":{"topic":"/limelight/camMode","period":0.06,"data_type":"double"}},{"title":"botpose_targetspace","x":1664.0,"y":640.0,"width":256.0,"height":128.0,"type":"Text Display","properties":{"topic":"/limelight/botpose_targetspace","period":0.06,"data_type":"double[]"}},{"title":"botpose","x":1664.0,"y":768.0,"width":256.0,"height":128.0,"type":"Text Display","properties":{"topic":"/limelight/botpose","period":0.06,"data_type":"double[]"}}]}},{"name":"Autonomous","grid_layout":{"layouts":[],"containers":[]}}]}
194 changes: 97 additions & 97 deletions simgui-ds.json
Original file line number Diff line number Diff line change
@@ -1,98 +1,98 @@
{
"keyboardJoysticks": [
{
"axisConfig": [
{
"decKey": 65,
"incKey": 68
},
{
"decKey": 87,
"incKey": 83
},
{
"decKey": 69,
"decayRate": 0.0,
"incKey": 82,
"keyRate": 0.009999999776482582
}
],
"axisCount": 3,
"buttonCount": 4,
"buttonKeys": [
90,
88,
67,
86
],
"povConfig": [
{
"key0": 328,
"key135": 323,
"key180": 322,
"key225": 321,
"key270": 324,
"key315": 327,
"key45": 329,
"key90": 326
}
],
"povCount": 1
},
{
"axisConfig": [
{
"decKey": 74,
"incKey": 76
},
{
"decKey": 73,
"incKey": 75
}
],
"axisCount": 2,
"buttonCount": 4,
"buttonKeys": [
77,
44,
46,
47
],
"povCount": 0
},
{
"axisConfig": [
{
"decKey": 263,
"incKey": 262
},
{
"decKey": 265,
"incKey": 264
}
],
"axisCount": 2,
"buttonCount": 6,
"buttonKeys": [
260,
268,
266,
261,
269,
267
],
"povCount": 0
},
{
"axisCount": 0,
"buttonCount": 0,
"povCount": 0
}
],
"robotJoysticks": [
{
"guid": "Keyboard0"
}
],
"useEnableDisableHotkeys": true
}
"keyboardJoysticks": [
{
"axisConfig": [
{
"decKey": 65,
"incKey": 68
},
{
"decKey": 87,
"incKey": 83
},
{
"decKey": 69,
"decayRate": 0.0,
"incKey": 82,
"keyRate": 0.009999999776482582
}
],
"axisCount": 3,
"buttonCount": 4,
"buttonKeys": [
90,
88,
67,
86
],
"povConfig": [
{
"key0": 328,
"key135": 323,
"key180": 322,
"key225": 321,
"key270": 324,
"key315": 327,
"key45": 329,
"key90": 326
}
],
"povCount": 1
},
{
"axisConfig": [
{
"decKey": 74,
"incKey": 76
},
{
"decKey": 73,
"incKey": 75
}
],
"axisCount": 2,
"buttonCount": 4,
"buttonKeys": [
77,
44,
46,
47
],
"povCount": 0
},
{
"axisConfig": [
{
"decKey": 263,
"incKey": 262
},
{
"decKey": 265,
"incKey": 264
}
],
"axisCount": 2,
"buttonCount": 6,
"buttonKeys": [
260,
268,
266,
261,
269,
267
],
"povCount": 0
},
{
"axisCount": 0,
"buttonCount": 0,
"povCount": 0
}
],
"robotJoysticks": [
{
"guid": "Keyboard0"
}
],
"useEnableDisableHotkeys": true
}
55 changes: 29 additions & 26 deletions simgui.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,37 @@
{
"HALProvider": {
"Other Devices": {
"window": {
"visible": false
}
}
},
"NTProvider": {
"types": {
"/FMSInfo": "FMSInfo"
"HALProvider": {
"Other Devices": {
"window": {
"visible": false
}
},
"NetworkTables Info": {
"Server": {
"Subscribers": {
"open": true
},
}
},
"NTProvider": {
"types": {
"/FMSInfo": "FMSInfo",
"/SmartDashboard/AUTON CHOOSER": "String Chooser",
"/SmartDashboard/FIELD": "Field2d"
}
},
"NetworkTables Info": {
"Server": {
"Subscribers": {
"open": true
}
},
"open": true
},
"Plot": {
"Plot <0>": {
"plots": [
{
"height": 332
}
],
"window": {
"visible": false
"visible": true
},
"Plot": {
"Plot <0>": {
"plots": [
{
"height": 332
}
],
"window": {
"visible": false
}
}
}
}

0 comments on commit 5896173

Please sign in to comment.