Skip to content

Commit 254d2d1

Browse files
committed
Send geometry based on division to simulator
1 parent dd9ec29 commit 254d2d1

File tree

8 files changed

+1253
-135
lines changed

8 files changed

+1253
-135
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: 2
22
jobs:
33
app:
44
docker:
5-
- image: circleci/golang:1.14
5+
- image: circleci/golang:1.16
66

77
working_directory: /go/src/github.com/RoboCup-SSL/ssl-simulation-controller
88
steps:
@@ -22,7 +22,7 @@ jobs:
2222

2323
publish-github-release:
2424
docker:
25-
- image: circleci/golang:1.14
25+
- image: circleci/golang:1.16
2626
steps:
2727
- attach_workspace:
2828
at: .

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/RoboCup-SSL/ssl-simulation-controller
22

3-
go 1.15
3+
go 1.16
44

55
require (
66
github.com/golang/protobuf v1.4.3

internal/simctl/geometry-div-a.txt

Lines changed: 268 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,268 @@
1+
field: <
2+
field_length: 12000
3+
field_width: 9000
4+
goal_width: 1800
5+
goal_depth: 180
6+
boundary_width: 300
7+
field_lines: <
8+
name: "TopTouchLine"
9+
p1: <
10+
x: -5995
11+
y: 4495
12+
>
13+
p2: <
14+
x: 5995
15+
y: 4495
16+
>
17+
thickness: 10
18+
>
19+
field_lines: <
20+
name: "BottomTouchLine"
21+
p1: <
22+
x: -5995
23+
y: -4495
24+
>
25+
p2: <
26+
x: 5995
27+
y: -4495
28+
>
29+
thickness: 10
30+
>
31+
field_lines: <
32+
name: "LeftGoalLine"
33+
p1: <
34+
x: -5990
35+
y: -4495
36+
>
37+
p2: <
38+
x: -5990
39+
y: 4495
40+
>
41+
thickness: 10
42+
>
43+
field_lines: <
44+
name: "RightGoalLine"
45+
p1: <
46+
x: 5990
47+
y: -4495
48+
>
49+
p2: <
50+
x: 5990
51+
y: 4495
52+
>
53+
thickness: 10
54+
>
55+
field_lines: <
56+
name: "HalfwayLine"
57+
p1: <
58+
x: 0
59+
y: -4495
60+
>
61+
p2: <
62+
x: 0
63+
y: 4495
64+
>
65+
thickness: 10
66+
>
67+
field_lines: <
68+
name: "CenterLine"
69+
p1: <
70+
x: -5990
71+
y: 0
72+
>
73+
p2: <
74+
x: 5990
75+
y: 0
76+
>
77+
thickness: 10
78+
>
79+
field_lines: <
80+
name: "LeftPenaltyStretch"
81+
p1: <
82+
x: -4195
83+
y: -1800
84+
>
85+
p2: <
86+
x: -4195
87+
y: 1800
88+
>
89+
thickness: 10
90+
>
91+
field_lines: <
92+
name: "RightPenaltyStretch"
93+
p1: <
94+
x: 4195
95+
y: -1800
96+
>
97+
p2: <
98+
x: 4195
99+
y: 1800
100+
>
101+
thickness: 10
102+
>
103+
field_lines: <
104+
name: "RightGoalTopLine"
105+
p1: <
106+
x: 5990
107+
y: 900
108+
>
109+
p2: <
110+
x: 6170
111+
y: 900
112+
>
113+
thickness: 10
114+
>
115+
field_lines: <
116+
name: "RightGoalBottomLine"
117+
p1: <
118+
x: 5990
119+
y: -900
120+
>
121+
p2: <
122+
x: 6170
123+
y: -900
124+
>
125+
thickness: 10
126+
>
127+
field_lines: <
128+
name: "RightGoalDepthLine"
129+
p1: <
130+
x: 6165
131+
y: -900
132+
>
133+
p2: <
134+
x: 6165
135+
y: 900
136+
>
137+
thickness: 10
138+
>
139+
field_lines: <
140+
name: "LeftGoalTopLine"
141+
p1: <
142+
x: -5990
143+
y: 900
144+
>
145+
p2: <
146+
x: -6170
147+
y: 900
148+
>
149+
thickness: 10
150+
>
151+
field_lines: <
152+
name: "LeftGoalBottomLine"
153+
p1: <
154+
x: -5990
155+
y: -900
156+
>
157+
p2: <
158+
x: -6170
159+
y: -900
160+
>
161+
thickness: 10
162+
>
163+
field_lines: <
164+
name: "LeftGoalDepthLine"
165+
p1: <
166+
x: -6165
167+
y: -900
168+
>
169+
p2: <
170+
x: -6165
171+
y: 900
172+
>
173+
thickness: 10
174+
>
175+
field_lines: <
176+
name: "LeftFieldLeftPenaltyStretch"
177+
p1: <
178+
x: -5990
179+
y: 1800
180+
>
181+
p2: <
182+
x: -4190
183+
y: 1800
184+
>
185+
thickness: 10
186+
>
187+
field_lines: <
188+
name: "LeftFieldRightPenaltyStretch"
189+
p1: <
190+
x: -5990
191+
y: -1800
192+
>
193+
p2: <
194+
x: -4190
195+
y: -1800
196+
>
197+
thickness: 10
198+
>
199+
field_lines: <
200+
name: "RightFieldLeftPenaltyStretch"
201+
p1: <
202+
x: 5990
203+
y: -1800
204+
>
205+
p2: <
206+
x: 4190
207+
y: -1800
208+
>
209+
thickness: 10
210+
>
211+
field_lines: <
212+
name: "RightFieldRightPenaltyStretch"
213+
p1: <
214+
x: 5990
215+
y: 1800
216+
>
217+
p2: <
218+
x: 4190
219+
y: 1800
220+
>
221+
thickness: 10
222+
>
223+
field_arcs: <
224+
name: "CenterCircle"
225+
center: <
226+
x: 0
227+
y: 0
228+
>
229+
radius: 495
230+
a1: 0
231+
a2: 6.2831855
232+
thickness: 10
233+
>
234+
>
235+
calib <
236+
camera_id: 0
237+
focal_length: 390
238+
principal_point_x: 300
239+
principal_point_y: 300
240+
distortion: 0.2
241+
q0: 0.7
242+
q1: 0.7
243+
q2: 0.7
244+
q3: 0.7
245+
tx: 0
246+
ty: 0
247+
tz: 3500
248+
derived_camera_world_tx: -3010
249+
derived_camera_world_ty: -0
250+
derived_camera_world_tz: 6000
251+
>
252+
calib <
253+
camera_id: 1
254+
focal_length: 390
255+
principal_point_x: 300
256+
principal_point_y: 300
257+
distortion: 0.2
258+
q0: 0.7
259+
q1: 0.7
260+
q2: 0.7
261+
q3: 0.7
262+
tx: 0
263+
ty: 0
264+
tz: 3500
265+
derived_camera_world_tx: 3010
266+
derived_camera_world_ty: -0
267+
derived_camera_world_tz: 6000
268+
>

0 commit comments

Comments
 (0)