Skip to content

Commit a11efae

Browse files
authored
Merge pull request #163 from Team537/feature/offset-around-the-reef
Feature/offset around the reef
2 parents c57746a + ade8189 commit a11efae

8 files changed

Lines changed: 417 additions & 57 deletions

File tree

elastic-layout.json

Lines changed: 347 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140
{
141141
"title": "Upper Assembly",
142142
"x": 0.0,
143-
"y": 256.0,
143+
"y": 128.0,
144144
"width": 256.0,
145145
"height": 128.0,
146146
"type": "ComboBox Chooser",
@@ -153,7 +153,7 @@
153153
{
154154
"title": "Drive Motor",
155155
"x": 256.0,
156-
"y": 256.0,
156+
"y": 128.0,
157157
"width": 256.0,
158158
"height": 128.0,
159159
"type": "ComboBox Chooser",
@@ -166,7 +166,7 @@
166166
{
167167
"title": "Auto Delay",
168168
"x": 512.0,
169-
"y": 256.0,
169+
"y": 128.0,
170170
"width": 256.0,
171171
"height": 128.0,
172172
"type": "Number Slider",
@@ -195,6 +195,350 @@
195195
}
196196
]
197197
}
198+
},
199+
{
200+
"name": "Scoring Offsets",
201+
"grid_layout": {
202+
"layouts": [],
203+
"containers": [
204+
{
205+
"title": "Reef B Offset Y",
206+
"x": 384.0,
207+
"y": 0.0,
208+
"width": 128.0,
209+
"height": 128.0,
210+
"type": "Text Display",
211+
"properties": {
212+
"topic": "/SmartDashboard/Reef B Offset Y",
213+
"period": 0.06,
214+
"data_type": "double",
215+
"show_submit_button": false
216+
}
217+
},
218+
{
219+
"title": "Reef A Offset X",
220+
"x": 512.0,
221+
"y": 0.0,
222+
"width": 128.0,
223+
"height": 128.0,
224+
"type": "Text Display",
225+
"properties": {
226+
"topic": "/SmartDashboard/Reef A Offset X",
227+
"period": 0.06,
228+
"data_type": "double",
229+
"show_submit_button": false
230+
}
231+
},
232+
{
233+
"title": "Reef A Offset Y",
234+
"x": 640.0,
235+
"y": 0.0,
236+
"width": 128.0,
237+
"height": 128.0,
238+
"type": "Text Display",
239+
"properties": {
240+
"topic": "/SmartDashboard/Reef A Offset Y",
241+
"period": 0.06,
242+
"data_type": "double",
243+
"show_submit_button": false
244+
}
245+
},
246+
{
247+
"title": "Reef B Offset X",
248+
"x": 256.0,
249+
"y": 0.0,
250+
"width": 128.0,
251+
"height": 128.0,
252+
"type": "Text Display",
253+
"properties": {
254+
"topic": "/SmartDashboard/Reef B Offset X",
255+
"period": 0.06,
256+
"data_type": "double",
257+
"show_submit_button": false
258+
}
259+
},
260+
{
261+
"title": "Reef C Offset X",
262+
"x": 128.0,
263+
"y": 128.0,
264+
"width": 128.0,
265+
"height": 128.0,
266+
"type": "Text Display",
267+
"properties": {
268+
"topic": "/SmartDashboard/Reef C Offset X",
269+
"period": 0.06,
270+
"data_type": "double",
271+
"show_submit_button": false
272+
}
273+
},
274+
{
275+
"title": "Reef C Offset Y",
276+
"x": 256.0,
277+
"y": 128.0,
278+
"width": 128.0,
279+
"height": 128.0,
280+
"type": "Text Display",
281+
"properties": {
282+
"topic": "/SmartDashboard/Reef C Offset Y",
283+
"period": 0.06,
284+
"data_type": "double",
285+
"show_submit_button": false
286+
}
287+
},
288+
{
289+
"title": "Reef D Offset X",
290+
"x": 0.0,
291+
"y": 256.0,
292+
"width": 128.0,
293+
"height": 128.0,
294+
"type": "Text Display",
295+
"properties": {
296+
"topic": "/SmartDashboard/Reef D Offset X",
297+
"period": 0.06,
298+
"data_type": "double",
299+
"show_submit_button": false
300+
}
301+
},
302+
{
303+
"title": "Reef D Offset Y",
304+
"x": 128.0,
305+
"y": 256.0,
306+
"width": 128.0,
307+
"height": 128.0,
308+
"type": "Text Display",
309+
"properties": {
310+
"topic": "/SmartDashboard/Reef D Offset Y",
311+
"period": 0.06,
312+
"data_type": "double",
313+
"show_submit_button": false
314+
}
315+
},
316+
{
317+
"title": "Reef E Offset X",
318+
"x": 0.0,
319+
"y": 384.0,
320+
"width": 128.0,
321+
"height": 128.0,
322+
"type": "Text Display",
323+
"properties": {
324+
"topic": "/SmartDashboard/Reef E Offset X",
325+
"period": 0.06,
326+
"data_type": "double",
327+
"show_submit_button": false
328+
}
329+
},
330+
{
331+
"title": "Reef E Offset Y",
332+
"x": 128.0,
333+
"y": 384.0,
334+
"width": 128.0,
335+
"height": 128.0,
336+
"type": "Text Display",
337+
"properties": {
338+
"topic": "/SmartDashboard/Reef E Offset Y",
339+
"period": 0.06,
340+
"data_type": "double",
341+
"show_submit_button": false
342+
}
343+
},
344+
{
345+
"title": "Reef F Offset X",
346+
"x": 128.0,
347+
"y": 512.0,
348+
"width": 128.0,
349+
"height": 128.0,
350+
"type": "Text Display",
351+
"properties": {
352+
"topic": "/SmartDashboard/Reef F Offset X",
353+
"period": 0.06,
354+
"data_type": "double",
355+
"show_submit_button": false
356+
}
357+
},
358+
{
359+
"title": "Reef F Offset Y",
360+
"x": 256.0,
361+
"y": 512.0,
362+
"width": 128.0,
363+
"height": 128.0,
364+
"type": "Text Display",
365+
"properties": {
366+
"topic": "/SmartDashboard/Reef F Offset Y",
367+
"period": 0.06,
368+
"data_type": "double",
369+
"show_submit_button": false
370+
}
371+
},
372+
{
373+
"title": "Reef G Offset X",
374+
"x": 256.0,
375+
"y": 640.0,
376+
"width": 128.0,
377+
"height": 128.0,
378+
"type": "Text Display",
379+
"properties": {
380+
"topic": "/SmartDashboard/Reef G Offset X",
381+
"period": 0.06,
382+
"data_type": "double",
383+
"show_submit_button": false
384+
}
385+
},
386+
{
387+
"title": "Reef G Offset Y",
388+
"x": 384.0,
389+
"y": 640.0,
390+
"width": 128.0,
391+
"height": 128.0,
392+
"type": "Text Display",
393+
"properties": {
394+
"topic": "/SmartDashboard/Reef G Offset Y",
395+
"period": 0.06,
396+
"data_type": "double",
397+
"show_submit_button": false
398+
}
399+
},
400+
{
401+
"title": "Reef H Offset X",
402+
"x": 512.0,
403+
"y": 640.0,
404+
"width": 128.0,
405+
"height": 128.0,
406+
"type": "Text Display",
407+
"properties": {
408+
"topic": "/SmartDashboard/Reef H Offset X",
409+
"period": 0.06,
410+
"data_type": "double",
411+
"show_submit_button": false
412+
}
413+
},
414+
{
415+
"title": "Reef H Offset Y",
416+
"x": 640.0,
417+
"y": 640.0,
418+
"width": 128.0,
419+
"height": 128.0,
420+
"type": "Text Display",
421+
"properties": {
422+
"topic": "/SmartDashboard/Reef H Offset Y",
423+
"period": 0.06,
424+
"data_type": "double",
425+
"show_submit_button": false
426+
}
427+
},
428+
{
429+
"title": "Reef I Offset X",
430+
"x": 640.0,
431+
"y": 512.0,
432+
"width": 128.0,
433+
"height": 128.0,
434+
"type": "Text Display",
435+
"properties": {
436+
"topic": "/SmartDashboard/Reef I Offset X",
437+
"period": 0.06,
438+
"data_type": "double",
439+
"show_submit_button": false
440+
}
441+
},
442+
{
443+
"title": "Reef I Offset Y",
444+
"x": 768.0,
445+
"y": 512.0,
446+
"width": 128.0,
447+
"height": 128.0,
448+
"type": "Text Display",
449+
"properties": {
450+
"topic": "/SmartDashboard/Reef I Offset Y",
451+
"period": 0.06,
452+
"data_type": "double",
453+
"show_submit_button": false
454+
}
455+
},
456+
{
457+
"title": "Reef J Offset Y",
458+
"x": 896.0,
459+
"y": 384.0,
460+
"width": 128.0,
461+
"height": 128.0,
462+
"type": "Text Display",
463+
"properties": {
464+
"topic": "/SmartDashboard/Reef J Offset Y",
465+
"period": 0.06,
466+
"data_type": "double",
467+
"show_submit_button": false
468+
}
469+
},
470+
{
471+
"title": "Reef J Offset X",
472+
"x": 768.0,
473+
"y": 384.0,
474+
"width": 128.0,
475+
"height": 128.0,
476+
"type": "Text Display",
477+
"properties": {
478+
"topic": "/SmartDashboard/Reef J Offset X",
479+
"period": 0.06,
480+
"data_type": "double",
481+
"show_submit_button": false
482+
}
483+
},
484+
{
485+
"title": "Reef K Offset X",
486+
"x": 768.0,
487+
"y": 256.0,
488+
"width": 128.0,
489+
"height": 128.0,
490+
"type": "Text Display",
491+
"properties": {
492+
"topic": "/SmartDashboard/Reef K Offset X",
493+
"period": 0.06,
494+
"data_type": "double",
495+
"show_submit_button": false
496+
}
497+
},
498+
{
499+
"title": "Reef K Offset Y",
500+
"x": 896.0,
501+
"y": 256.0,
502+
"width": 128.0,
503+
"height": 128.0,
504+
"type": "Text Display",
505+
"properties": {
506+
"topic": "/SmartDashboard/Reef K Offset Y",
507+
"period": 0.06,
508+
"data_type": "double",
509+
"show_submit_button": false
510+
}
511+
},
512+
{
513+
"title": "Reef L Offset X",
514+
"x": 640.0,
515+
"y": 128.0,
516+
"width": 128.0,
517+
"height": 128.0,
518+
"type": "Text Display",
519+
"properties": {
520+
"topic": "/SmartDashboard/Reef L Offset X",
521+
"period": 0.06,
522+
"data_type": "double",
523+
"show_submit_button": false
524+
}
525+
},
526+
{
527+
"title": "Reef L Offset Y",
528+
"x": 768.0,
529+
"y": 128.0,
530+
"width": 128.0,
531+
"height": 128.0,
532+
"type": "Text Display",
533+
"properties": {
534+
"topic": "/SmartDashboard/Reef L Offset Y",
535+
"period": 0.06,
536+
"data_type": "double",
537+
"show_submit_button": false
538+
}
539+
}
540+
]
541+
}
198542
}
199543
]
200544
}

0 commit comments

Comments
 (0)