blob: 2a8dfeffa1d83aabe79fe713dc729bde08772cfa [file] [log] [blame]
James (Peilun) Lia70e5752024-09-18 20:43:00 -07001{
2/* Targets have positive Z axis pointing into the board, positive X to the right
3 when looking at the board, and positive Y is down when looking at the board.
4 This means that you will get an identity rotation from the camera to target
5 frame when the target is upright, flat, and centered in the camera's view.
6
7 The global frame as the origin at the center of the field, positive X points
8 at the red driver's station, and positive Z points straight up.
9 */
10 "target_poses": [
11 {
12 "id": 1,
13 "position": {
14 "x": 6.809,
15 "y": -3.860,
16 "z": 1.361
17 },
18 "orientation": {
19 "w": 0.1830127,
20 "x": -0.1830127,
21 "y": 0.6830127,
22 "z": -0.6830127
23 }
24 },
25 {
26 "id": 2,
27 "position": {
28 "x": 7.915,
29 "y": -3.223,
30 "z": 1.361
31 },
32 "orientation": {
33 "w": 0.1830127,
34 "x": -0.1830127,
35 "y": 0.6830127,
36 "z": -0.6830127
37 }
38 },
39 {
40 "id": 3,
41 "position": {
42 "x": 8.309,
43 "y": 0.877,
44 "z": 1.456
45 },
46 "orientation": {
47 "w": 0.5,
48 "x": -0.5,
49 "y": 0.5,
50 "z": -0.5
51 }
52 },
53 {
54 "id": 4,
55 "position": {
56 "x": 8.309,
57 "y": 1.442,
58 "z": 1.456
59 },
60 "orientation": {
61 "w": 0.5,
62 "x": -0.5,
63 "y": 0.5,
64 "z": -0.5
65 }
66 },
67 {
68 "id": 5,
69 "position": {
70 "x": 6.428,
71 "y": 4.099,
72 "z": 1.361
73 },
74 "orientation": {
75 "w": 0.7071068,
76 "x": -0.7071068,
77 "y": 0.0,
78 "z": 0.0
79 }
80 },
81 {
82 "id": 6,
83 "position": {
84 "x": -6.430,
85 "y": 4.099,
86 "z": 1.361
87 },
88 "orientation": {
89 "w": 0.7071068,
90 "x": -0.7071068,
91 "y": 0.0,
92 "z": 0.0
93 }
94 },
95 {
96 "id": 7,
97 "position": {
98 "x": -8.309,
99 "y": 1.442,
100 "z": 1.474
101 },
102 "orientation": {
103 "w": 0.5,
104 "x": -0.5,
105 "y": -0.5,
106 "z": 0.5
107 }
108 },
109 {
110 "id": 8,
111 "position": {
112 "x": -8.309,
113 "y": 0.877,
114 "z": 1.474
115 },
116 "orientation": {
117 "w": 0.5,
118 "x": -0.5,
119 "y": -0.5,
120 "z": 0.5
121 }
122 },
123 {
124 "id": 9,
125 "position": {
126 "x": -7.915,
127 "y": -3.223,
128 "z": 1.361
129 },
130 "orientation": {
131 "w": 0.1830127,
132 "x": -0.1830127,
133 "y": -0.6830127,
134 "z": 0.6830127
135 }
136 },
137 {
138 "id": 10,
139 "position": {
140 "x": -6.809,
141 "y": -3.860,
142 "z": 1.361
143 },
144 "orientation": {
145 "w": 0.1830127,
146 "x": -0.1830127,
147 "y": -0.6830127,
148 "z": 0.6830127
149 }
150 },
151 {
152 "id": 11,
153 "position": {
154 "x": 3.629,
155 "y": -0.393,
156 "z": 1.326
157 },
158 "orientation": {
159 "w": 0.6830127,
160 "x": -0.6830127,
161 "y": -0.1830127,
162 "z": 0.1830127
163 }
164 },
165 {
166 "id": 12,
167 "position": {
168 "x": 3.630,
169 "y": 0.392,
170 "z": 1.326
171 },
172 "orientation": {
173 "w": 0.1830127,
174 "x": -0.1830127,
175 "y": -0.6830127,
176 "z": 0.6830127
177 }
178 },
179 {
180 "id": 13,
181 "position": {
182 "x": 2.949,
183 "y": -0.000,
184 "z": 1.326
185 },
186 "orientation": {
187 "w": 0.5,
188 "x": -0.5,
189 "y": 0.5,
190 "z": -0.5
191 }
192 },
193 {
194 "id": 14,
195 "position": {
196 "x": -2.949,
197 "y": -0.000,
198 "z": 1.326
199 },
200 "orientation": {
201 "w": 0.5,
202 "x": -0.5,
203 "y": -0.5,
204 "z": 0.5
205 }
206 },
207 {
208 "id": 15,
209 "position": {
210 "x": -3.629,
211 "y": 0.393,
212 "z": 1.326
213 },
214 "orientation": {
215 "w": 0.1830127,
216 "x": -0.1830127,
217 "y": 0.6830127,
218 "z": -0.6830127
219 }
220 },
221 {
222 "id": 16,
223 "position": {
224 "x": -3.630,
225 "y": -0.392,
226 "z": 1.326
227 },
228 "orientation": {
229 "w": 0.6830127,
230 "x": -0.6830127,
231 "y": 0.1830127,
232 "z": -0.1830127
233 }
234 }
235 ]
236}