[examples] Add field images to Java simulation examples (#983)

This commit is contained in:
amquake
2023-10-25 16:25:24 -07:00
committed by GitHub
parent cb401e1c7a
commit f3fb0109f9
6 changed files with 63 additions and 4 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 747 KiB

View File

@@ -0,0 +1,19 @@
{
"game": "Infinite Recharge",
"field-image": "2020-field.png",
"field-corners": {
"top-left": [
96,
25
],
"bottom-right": [
1040,
514
]
},
"field-size": [
52.4375,
26.9375
],
"field-unit": "foot"
}

View File

@@ -22,6 +22,7 @@
],
"weight": 3.0
},
"bottom": 514,
"cameras": {
"arrowColor": [
0.0,
@@ -33,7 +34,19 @@
"selectable": false,
"style": "Hidden"
},
"height": 8.210550308227539,
"image": "2020-field.png",
"left": 96,
"right": 1040,
"targets": {
"arrowColor": [
0.27848100662231445,
1.0,
0.0,
255.0
],
"arrowSize": 58,
"arrowWeight": 6.0,
"color": [
0.05063295364379883,
1.0,
@@ -43,6 +56,8 @@
"style": "Hidden",
"weight": 1.0
},
"top": 25,
"width": 15.982950210571289,
"window": {
"visible": true
}

View File

@@ -0,0 +1,19 @@
{
"game": "Charged Up",
"field-image": "2023-field.png",
"field-corners": {
"top-left": [
46,
36
],
"bottom-right": [
1088,
544
]
},
"field-size": [
54.27083,
26.2916
],
"field-unit": "foot"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

View File

@@ -57,10 +57,12 @@
"weight": 2.0
},
"apriltag": {
"arrows": false,
"image": "tag-green.png",
"length": 0.5,
"width": 0.4000000059604645
"length": 0.6000000238418579,
"width": 0.5
},
"bottom": 544,
"cameras": {
"arrowColor": [
0.29535865783691406,
@@ -75,7 +77,11 @@
"weight": 1.0,
"width": 1.0
},
"height": 8.013699531555176,
"height": 8.013679504394531,
"image": "2023-field.png",
"left": 46,
"right": 1088,
"top": 36,
"visibleTargetPoses": {
"arrows": false,
"image": "tag-blue.png",
@@ -83,7 +89,7 @@
"selectable": false,
"width": 0.4000000059604645
},
"width": 16.541749954223633,
"width": 16.541748046875,
"window": {
"visible": true
}