Skip to content

Commit b4688de

Browse files
committed
Update elastic-layout.json
1 parent f97fabb commit b4688de

File tree

1 file changed

+168
-18
lines changed

1 file changed

+168
-18
lines changed

src/main/deploy/elastic-layout.json

Lines changed: 168 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -911,19 +911,6 @@
911911
}
912912
],
913913
"containers": [
914-
{
915-
"title": "Refresh",
916-
"x": 640.0,
917-
"y": 512.0,
918-
"width": 256.0,
919-
"height": 128.0,
920-
"type": "Command",
921-
"properties": {
922-
"topic": "/Shuffleboard/Status Checks/Refresh",
923-
"period": 0.06,
924-
"show_type": false
925-
}
926-
},
927914
{
928915
"title": "running",
929916
"x": 1152.0,
@@ -1008,6 +995,36 @@
1008995
"true_icon": "None",
1009996
"false_icon": "None"
1010997
}
998+
},
999+
{
1000+
"title": "refreshButton",
1001+
"x": 1152.0,
1002+
"y": 384.0,
1003+
"width": 128.0,
1004+
"height": 128.0,
1005+
"type": "Toggle Switch",
1006+
"properties": {
1007+
"topic": "/StatusChecks/refreshButton",
1008+
"period": 0.06,
1009+
"data_type": "boolean"
1010+
}
1011+
},
1012+
{
1013+
"title": "Battery Voltage",
1014+
"x": 768.0,
1015+
"y": 512.0,
1016+
"width": 128.0,
1017+
"height": 128.0,
1018+
"type": "Boolean Box",
1019+
"properties": {
1020+
"topic": "/StatusChecks/General/Battery Voltage",
1021+
"period": 0.06,
1022+
"data_type": "boolean",
1023+
"true_color": 4283215696,
1024+
"false_color": 4294198070,
1025+
"true_icon": "None",
1026+
"false_icon": "None"
1027+
}
10111028
}
10121029
]
10131030
}
@@ -1018,14 +1035,82 @@
10181035
"layouts": [],
10191036
"containers": [
10201037
{
1021-
"title": "Has Coral",
1022-
"x": 0.0,
1038+
"title": "Auto Precomputed",
1039+
"x": 1152.0,
1040+
"y": 0.0,
1041+
"width": 256.0,
1042+
"height": 256.0,
1043+
"type": "Boolean Box",
1044+
"properties": {
1045+
"topic": "/Shuffleboard/Driver Dashboard/Auto Precomputed",
1046+
"period": 0.06,
1047+
"data_type": "boolean",
1048+
"true_color": 4283215696,
1049+
"false_color": 4294198070,
1050+
"true_icon": "None",
1051+
"false_icon": "None"
1052+
}
1053+
},
1054+
{
1055+
"title": "ceilLimit",
1056+
"x": 512.0,
1057+
"y": 0.0,
1058+
"width": 256.0,
1059+
"height": 256.0,
1060+
"type": "Boolean Box",
1061+
"properties": {
1062+
"topic": "/Logs/Elevator/limits/ceil",
1063+
"period": 0.06,
1064+
"data_type": "boolean",
1065+
"true_color": 4283215696,
1066+
"false_color": 4294198070,
1067+
"true_icon": "None",
1068+
"false_icon": "None"
1069+
}
1070+
},
1071+
{
1072+
"title": "floorLimit",
1073+
"x": 768.0,
10231074
"y": 0.0,
10241075
"width": 256.0,
10251076
"height": 256.0,
10261077
"type": "Boolean Box",
10271078
"properties": {
1028-
"topic": "/Shuffleboard/Driver Dashboard/Has Coral",
1079+
"topic": "/Logs/Elevator/limits/floor",
1080+
"period": 0.06,
1081+
"data_type": "boolean",
1082+
"true_color": 4283215696,
1083+
"false_color": 4294198070,
1084+
"true_icon": "None",
1085+
"false_icon": "None"
1086+
}
1087+
},
1088+
{
1089+
"title": "hasCoral",
1090+
"x": 512.0,
1091+
"y": 256.0,
1092+
"width": 256.0,
1093+
"height": 256.0,
1094+
"type": "Boolean Box",
1095+
"properties": {
1096+
"topic": "/Logs/Coral Grabber/hasGamePiece",
1097+
"period": 0.06,
1098+
"data_type": "boolean",
1099+
"true_color": 4283215696,
1100+
"false_color": 4294198070,
1101+
"true_icon": "None",
1102+
"false_icon": "None"
1103+
}
1104+
},
1105+
{
1106+
"title": "hasAlgae",
1107+
"x": 768.0,
1108+
"y": 256.0,
1109+
"width": 256.0,
1110+
"height": 256.0,
1111+
"type": "Boolean Box",
1112+
"properties": {
1113+
"topic": "/Logs/Algae Grabber/hasGamePiece",
10291114
"period": 0.06,
10301115
"data_type": "boolean",
10311116
"true_color": 4283215696,
@@ -1035,14 +1120,79 @@
10351120
}
10361121
},
10371122
{
1038-
"title": "Has Algae",
1123+
"title": "isRedAllianceCode",
1124+
"x": 256.0,
1125+
"y": 256.0,
1126+
"width": 256.0,
1127+
"height": 256.0,
1128+
"type": "Boolean Box",
1129+
"properties": {
1130+
"topic": "/Logs/isRedAlliance",
1131+
"period": 0.06,
1132+
"data_type": "boolean",
1133+
"true_color": 4283215696,
1134+
"false_color": 4294198070,
1135+
"true_icon": "None",
1136+
"false_icon": "None"
1137+
}
1138+
},
1139+
{
1140+
"title": "IsRedAllianceFMS",
10391141
"x": 256.0,
10401142
"y": 0.0,
10411143
"width": 256.0,
10421144
"height": 256.0,
10431145
"type": "Boolean Box",
10441146
"properties": {
1045-
"topic": "/Shuffleboard/Driver Dashboard/Has Algae",
1147+
"topic": "/FMSInfo/IsRedAlliance",
1148+
"period": 0.06,
1149+
"data_type": "boolean",
1150+
"true_color": 4283215696,
1151+
"false_color": 4294198070,
1152+
"true_icon": "None",
1153+
"false_icon": "None"
1154+
}
1155+
},
1156+
{
1157+
"title": "Robot",
1158+
"x": 256.0,
1159+
"y": 512.0,
1160+
"width": 640.0,
1161+
"height": 128.0,
1162+
"type": "Text Display",
1163+
"properties": {
1164+
"topic": "/SmartDashboard/Field/Robot",
1165+
"period": 0.06,
1166+
"data_type": "double[]",
1167+
"show_submit_button": false
1168+
}
1169+
},
1170+
{
1171+
"title": "Joystick 0",
1172+
"x": 1280.0,
1173+
"y": 256.0,
1174+
"width": 128.0,
1175+
"height": 128.0,
1176+
"type": "Boolean Box",
1177+
"properties": {
1178+
"topic": "/StatusChecks/General/Joystick 0",
1179+
"period": 0.06,
1180+
"data_type": "boolean",
1181+
"true_color": 4283215696,
1182+
"false_color": 4294198070,
1183+
"true_icon": "None",
1184+
"false_icon": "None"
1185+
}
1186+
},
1187+
{
1188+
"title": "Joystick 1",
1189+
"x": 1152.0,
1190+
"y": 256.0,
1191+
"width": 128.0,
1192+
"height": 128.0,
1193+
"type": "Boolean Box",
1194+
"properties": {
1195+
"topic": "/StatusChecks/General/Joystick 1",
10461196
"period": 0.06,
10471197
"data_type": "boolean",
10481198
"true_color": 4283215696,

0 commit comments

Comments
 (0)