Datasets:
Commit
•
232415c
1
Parent(s):
86003c5
Upload folder using huggingface_hub
Browse files- JumperHard.csproj +1 -1
- JumperHard.csproj.old +12 -0
- Player.tscn +144 -144
- addons/godot_rl_agents/controller/ai_controller_2d.gd +2 -76
- addons/godot_rl_agents/controller/ai_controller_3d.gd +2 -74
- addons/godot_rl_agents/icon.png +2 -2
- addons/godot_rl_agents/icon.png.import +1 -1
- icon.png +2 -2
- icon.png.import +1 -1
JumperHard.csproj
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
<Project Sdk="Godot.NET.Sdk/4.
|
2 |
<PropertyGroup>
|
3 |
<TargetFramework>net6.0</TargetFramework>
|
4 |
<EnableDynamicLoading>true</EnableDynamicLoading>
|
|
|
1 |
+
<Project Sdk="Godot.NET.Sdk/4.1.1">
|
2 |
<PropertyGroup>
|
3 |
<TargetFramework>net6.0</TargetFramework>
|
4 |
<EnableDynamicLoading>true</EnableDynamicLoading>
|
JumperHard.csproj.old
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<Project Sdk="Godot.NET.Sdk/4.0.2">
|
2 |
+
<PropertyGroup>
|
3 |
+
<TargetFramework>net6.0</TargetFramework>
|
4 |
+
<EnableDynamicLoading>true</EnableDynamicLoading>
|
5 |
+
</PropertyGroup>
|
6 |
+
<ItemGroup>
|
7 |
+
<PackageReference Include="Microsoft.ML.OnnxRuntime" Version="1.14.1" />
|
8 |
+
<PackageReference Include="Microsoft.ML.OnnxRuntime.DirectML" Version="1.14.1" />
|
9 |
+
<PackageReference Include="Microsoft.ML.OnnxRuntime.Gpu" Version="1.14.1" />
|
10 |
+
<PackageReference Include="System.Numerics.Tensors" Version="0.1.0" />
|
11 |
+
</ItemGroup>
|
12 |
+
</Project>
|
Player.tscn
CHANGED
@@ -44,436 +44,436 @@ n_rays_width = 12.0
|
|
44 |
n_rays_height = 12.0
|
45 |
ray_length = 15.0
|
46 |
|
47 |
-
[node name="@node_0 0@
|
48 |
target_position = Vector3(-6.14364, -6.92623, 11.8018)
|
49 |
|
50 |
-
[node name="
|
51 |
target_position = Vector3(-6.399, -5.74025, 12.2924)
|
52 |
|
53 |
-
[node name="
|
54 |
target_position = Vector3(-6.60566, -4.51059, 12.6894)
|
55 |
|
56 |
-
[node name="
|
57 |
target_position = Vector3(-6.76205, -3.24659, 12.9898)
|
58 |
|
59 |
-
[node name="
|
60 |
target_position = Vector3(-6.86697, -1.95789, 13.1913)
|
61 |
|
62 |
-
[node name="
|
63 |
target_position = Vector3(-6.91964, -0.654291, 13.2925)
|
64 |
|
65 |
-
[node name="
|
66 |
target_position = Vector3(-6.91964, 0.654291, 13.2925)
|
67 |
|
68 |
-
[node name="
|
69 |
target_position = Vector3(-6.86697, 1.95789, 13.1913)
|
70 |
|
71 |
-
[node name="
|
72 |
target_position = Vector3(-6.76205, 3.24659, 12.9898)
|
73 |
|
74 |
-
[node name="
|
75 |
target_position = Vector3(-6.60566, 4.51059, 12.6894)
|
76 |
|
77 |
-
[node name="
|
78 |
target_position = Vector3(-6.399, 5.74025, 12.2924)
|
79 |
|
80 |
-
[node name="
|
81 |
target_position = Vector3(-6.14364, 6.92623, 11.8018)
|
82 |
|
83 |
-
[node name="
|
84 |
target_position = Vector3(-5.09167, -6.92623, 12.2924)
|
85 |
|
86 |
-
[node name="
|
87 |
target_position = Vector3(-5.3033, -5.74025, 12.8033)
|
88 |
|
89 |
-
[node name="
|
90 |
target_position = Vector3(-5.47458, -4.51059, 13.2168)
|
91 |
|
92 |
-
[node name="
|
93 |
target_position = Vector3(-5.60418, -3.24659, 13.5297)
|
94 |
|
95 |
-
[node name="
|
96 |
target_position = Vector3(-5.69114, -1.95789, 13.7396)
|
97 |
|
98 |
-
[node name="
|
99 |
target_position = Vector3(-5.73479, -0.654291, 13.845)
|
100 |
|
101 |
-
[node name="
|
102 |
target_position = Vector3(-5.73479, 0.654291, 13.845)
|
103 |
|
104 |
-
[node name="
|
105 |
target_position = Vector3(-5.69114, 1.95789, 13.7396)
|
106 |
|
107 |
-
[node name="
|
108 |
target_position = Vector3(-5.60418, 3.24659, 13.5297)
|
109 |
|
110 |
-
[node name="
|
111 |
target_position = Vector3(-5.47458, 4.51059, 13.2168)
|
112 |
|
113 |
-
[node name="
|
114 |
target_position = Vector3(-5.3033, 5.74025, 12.8033)
|
115 |
|
116 |
-
[node name="
|
117 |
target_position = Vector3(-5.09167, 6.92623, 12.2924)
|
118 |
|
119 |
-
[node name="
|
120 |
target_position = Vector3(-4.00094, -6.92623, 12.6894)
|
121 |
|
122 |
-
[node name="
|
123 |
target_position = Vector3(-4.16724, -5.74025, 13.2168)
|
124 |
|
125 |
-
[node name="
|
126 |
target_position = Vector3(-4.30182, -4.51059, 13.6436)
|
127 |
|
128 |
-
[node name="
|
129 |
target_position = Vector3(-4.40367, -3.24659, 13.9667)
|
130 |
|
131 |
-
[node name="
|
132 |
target_position = Vector3(-4.472, -1.95789, 14.1834)
|
133 |
|
134 |
-
[node name="
|
135 |
target_position = Vector3(-4.50629, -0.654291, 14.2921)
|
136 |
|
137 |
-
[node name="
|
138 |
target_position = Vector3(-4.50629, 0.654291, 14.2921)
|
139 |
|
140 |
-
[node name="
|
141 |
target_position = Vector3(-4.472, 1.95789, 14.1834)
|
142 |
|
143 |
-
[node name="
|
144 |
target_position = Vector3(-4.40367, 3.24659, 13.9667)
|
145 |
|
146 |
-
[node name="
|
147 |
target_position = Vector3(-4.30182, 4.51059, 13.6436)
|
148 |
|
149 |
-
[node name="
|
150 |
target_position = Vector3(-4.16724, 5.74025, 13.2168)
|
151 |
|
152 |
-
[node name="
|
153 |
target_position = Vector3(-4.00094, 6.92623, 12.6894)
|
154 |
|
155 |
-
[node name="
|
156 |
target_position = Vector3(-2.87976, -6.92623, 12.9898)
|
157 |
|
158 |
-
[node name="
|
159 |
target_position = Vector3(-2.99946, -5.74025, 13.5297)
|
160 |
|
161 |
-
[node name="
|
162 |
target_position = Vector3(-3.09633, -4.51059, 13.9667)
|
163 |
|
164 |
-
[node name="
|
165 |
target_position = Vector3(-3.16964, -3.24659, 14.2973)
|
166 |
|
167 |
-
[node name="
|
168 |
target_position = Vector3(-3.21882, -1.95789, 14.5192)
|
169 |
|
170 |
-
[node name="
|
171 |
target_position = Vector3(-3.2435, -0.654291, 14.6305)
|
172 |
|
173 |
-
[node name="
|
174 |
target_position = Vector3(-3.2435, 0.654291, 14.6305)
|
175 |
|
176 |
-
[node name="
|
177 |
target_position = Vector3(-3.21882, 1.95789, 14.5192)
|
178 |
|
179 |
-
[node name="
|
180 |
target_position = Vector3(-3.16964, 3.24659, 14.2973)
|
181 |
|
182 |
-
[node name="
|
183 |
target_position = Vector3(-3.09633, 4.51059, 13.9667)
|
184 |
|
185 |
-
[node name="
|
186 |
target_position = Vector3(-2.99946, 5.74025, 13.5297)
|
187 |
|
188 |
-
[node name="
|
189 |
target_position = Vector3(-2.87976, 6.92623, 12.9898)
|
190 |
|
191 |
-
[node name="
|
192 |
target_position = Vector3(-1.73667, -6.92623, 13.1913)
|
193 |
|
194 |
-
[node name="
|
195 |
target_position = Vector3(-1.80886, -5.74025, 13.7396)
|
196 |
|
197 |
-
[node name="
|
198 |
target_position = Vector3(-1.86728, -4.51059, 14.1834)
|
199 |
|
200 |
-
[node name="
|
201 |
target_position = Vector3(-1.91148, -3.24659, 14.5192)
|
202 |
|
203 |
-
[node name="
|
204 |
target_position = Vector3(-1.94114, -1.95789, 14.7444)
|
205 |
|
206 |
-
[node name="
|
207 |
target_position = Vector3(-1.95603, -0.654291, 14.8575)
|
208 |
|
209 |
-
[node name="
|
210 |
target_position = Vector3(-1.95603, 0.654291, 14.8575)
|
211 |
|
212 |
-
[node name="
|
213 |
target_position = Vector3(-1.94114, 1.95789, 14.7444)
|
214 |
|
215 |
-
[node name="
|
216 |
target_position = Vector3(-1.91148, 3.24659, 14.5192)
|
217 |
|
218 |
-
[node name="
|
219 |
target_position = Vector3(-1.86728, 4.51059, 14.1834)
|
220 |
|
221 |
-
[node name="
|
222 |
target_position = Vector3(-1.80886, 5.74025, 13.7396)
|
223 |
|
224 |
-
[node name="
|
225 |
target_position = Vector3(-1.73667, 6.92623, 13.1913)
|
226 |
|
227 |
-
[node name="
|
228 |
target_position = Vector3(-0.580363, -6.92623, 13.2925)
|
229 |
|
230 |
-
[node name="
|
231 |
target_position = Vector3(-0.604486, -5.74025, 13.845)
|
232 |
|
233 |
-
[node name="
|
234 |
target_position = Vector3(-0.624008, -4.51059, 14.2921)
|
235 |
|
236 |
-
[node name="
|
237 |
target_position = Vector3(-0.638781, -3.24659, 14.6305)
|
238 |
|
239 |
-
[node name="
|
240 |
target_position = Vector3(-0.648693, -1.95789, 14.8575)
|
241 |
|
242 |
-
[node name="
|
243 |
target_position = Vector3(-0.653668, -0.654291, 14.9715)
|
244 |
|
245 |
-
[node name="
|
246 |
target_position = Vector3(-0.653668, 0.654291, 14.9715)
|
247 |
|
248 |
-
[node name="
|
249 |
target_position = Vector3(-0.648693, 1.95789, 14.8575)
|
250 |
|
251 |
-
[node name="
|
252 |
target_position = Vector3(-0.638781, 3.24659, 14.6305)
|
253 |
|
254 |
-
[node name="
|
255 |
target_position = Vector3(-0.624008, 4.51059, 14.2921)
|
256 |
|
257 |
-
[node name="
|
258 |
target_position = Vector3(-0.604486, 5.74025, 13.845)
|
259 |
|
260 |
-
[node name="
|
261 |
target_position = Vector3(-0.580363, 6.92623, 13.2925)
|
262 |
|
263 |
-
[node name="
|
264 |
target_position = Vector3(0.580363, -6.92623, 13.2925)
|
265 |
|
266 |
-
[node name="
|
267 |
target_position = Vector3(0.604486, -5.74025, 13.845)
|
268 |
|
269 |
-
[node name="
|
270 |
target_position = Vector3(0.624008, -4.51059, 14.2921)
|
271 |
|
272 |
-
[node name="
|
273 |
target_position = Vector3(0.638781, -3.24659, 14.6305)
|
274 |
|
275 |
-
[node name="
|
276 |
target_position = Vector3(0.648693, -1.95789, 14.8575)
|
277 |
|
278 |
-
[node name="
|
279 |
target_position = Vector3(0.653668, -0.654291, 14.9715)
|
280 |
|
281 |
-
[node name="
|
282 |
target_position = Vector3(0.653668, 0.654291, 14.9715)
|
283 |
|
284 |
-
[node name="
|
285 |
target_position = Vector3(0.648693, 1.95789, 14.8575)
|
286 |
|
287 |
-
[node name="
|
288 |
target_position = Vector3(0.638781, 3.24659, 14.6305)
|
289 |
|
290 |
-
[node name="
|
291 |
target_position = Vector3(0.624008, 4.51059, 14.2921)
|
292 |
|
293 |
-
[node name="
|
294 |
target_position = Vector3(0.604486, 5.74025, 13.845)
|
295 |
|
296 |
-
[node name="
|
297 |
target_position = Vector3(0.580363, 6.92623, 13.2925)
|
298 |
|
299 |
-
[node name="
|
300 |
target_position = Vector3(1.73667, -6.92623, 13.1913)
|
301 |
|
302 |
-
[node name="
|
303 |
target_position = Vector3(1.80886, -5.74025, 13.7396)
|
304 |
|
305 |
-
[node name="
|
306 |
target_position = Vector3(1.86728, -4.51059, 14.1834)
|
307 |
|
308 |
-
[node name="
|
309 |
target_position = Vector3(1.91148, -3.24659, 14.5192)
|
310 |
|
311 |
-
[node name="
|
312 |
target_position = Vector3(1.94114, -1.95789, 14.7444)
|
313 |
|
314 |
-
[node name="
|
315 |
target_position = Vector3(1.95603, -0.654291, 14.8575)
|
316 |
|
317 |
-
[node name="
|
318 |
target_position = Vector3(1.95603, 0.654291, 14.8575)
|
319 |
|
320 |
-
[node name="
|
321 |
target_position = Vector3(1.94114, 1.95789, 14.7444)
|
322 |
|
323 |
-
[node name="
|
324 |
target_position = Vector3(1.91148, 3.24659, 14.5192)
|
325 |
|
326 |
-
[node name="
|
327 |
target_position = Vector3(1.86728, 4.51059, 14.1834)
|
328 |
|
329 |
-
[node name="
|
330 |
target_position = Vector3(1.80886, 5.74025, 13.7396)
|
331 |
|
332 |
-
[node name="
|
333 |
target_position = Vector3(1.73667, 6.92623, 13.1913)
|
334 |
|
335 |
-
[node name="
|
336 |
target_position = Vector3(2.87976, -6.92623, 12.9898)
|
337 |
|
338 |
-
[node name="
|
339 |
target_position = Vector3(2.99946, -5.74025, 13.5297)
|
340 |
|
341 |
-
[node name="
|
342 |
target_position = Vector3(3.09633, -4.51059, 13.9667)
|
343 |
|
344 |
-
[node name="
|
345 |
target_position = Vector3(3.16964, -3.24659, 14.2973)
|
346 |
|
347 |
-
[node name="
|
348 |
target_position = Vector3(3.21882, -1.95789, 14.5192)
|
349 |
|
350 |
-
[node name="
|
351 |
target_position = Vector3(3.2435, -0.654291, 14.6305)
|
352 |
|
353 |
-
[node name="
|
354 |
target_position = Vector3(3.2435, 0.654291, 14.6305)
|
355 |
|
356 |
-
[node name="
|
357 |
target_position = Vector3(3.21882, 1.95789, 14.5192)
|
358 |
|
359 |
-
[node name="
|
360 |
target_position = Vector3(3.16964, 3.24659, 14.2973)
|
361 |
|
362 |
-
[node name="
|
363 |
target_position = Vector3(3.09633, 4.51059, 13.9667)
|
364 |
|
365 |
-
[node name="
|
366 |
target_position = Vector3(2.99946, 5.74025, 13.5297)
|
367 |
|
368 |
-
[node name="
|
369 |
target_position = Vector3(2.87976, 6.92623, 12.9898)
|
370 |
|
371 |
-
[node name="
|
372 |
target_position = Vector3(4.00094, -6.92623, 12.6894)
|
373 |
|
374 |
-
[node name="
|
375 |
target_position = Vector3(4.16724, -5.74025, 13.2168)
|
376 |
|
377 |
-
[node name="
|
378 |
target_position = Vector3(4.30182, -4.51059, 13.6436)
|
379 |
|
380 |
-
[node name="
|
381 |
target_position = Vector3(4.40367, -3.24659, 13.9667)
|
382 |
|
383 |
-
[node name="
|
384 |
target_position = Vector3(4.472, -1.95789, 14.1834)
|
385 |
|
386 |
-
[node name="
|
387 |
target_position = Vector3(4.50629, -0.654291, 14.2921)
|
388 |
|
389 |
-
[node name="
|
390 |
target_position = Vector3(4.50629, 0.654291, 14.2921)
|
391 |
|
392 |
-
[node name="
|
393 |
target_position = Vector3(4.472, 1.95789, 14.1834)
|
394 |
|
395 |
-
[node name="
|
396 |
target_position = Vector3(4.40367, 3.24659, 13.9667)
|
397 |
|
398 |
-
[node name="
|
399 |
target_position = Vector3(4.30182, 4.51059, 13.6436)
|
400 |
|
401 |
-
[node name="
|
402 |
target_position = Vector3(4.16724, 5.74025, 13.2168)
|
403 |
|
404 |
-
[node name="
|
405 |
target_position = Vector3(4.00094, 6.92623, 12.6894)
|
406 |
|
407 |
-
[node name="
|
408 |
target_position = Vector3(5.09167, -6.92623, 12.2924)
|
409 |
|
410 |
-
[node name="
|
411 |
target_position = Vector3(5.3033, -5.74025, 12.8033)
|
412 |
|
413 |
-
[node name="
|
414 |
target_position = Vector3(5.47458, -4.51059, 13.2168)
|
415 |
|
416 |
-
[node name="
|
417 |
target_position = Vector3(5.60418, -3.24659, 13.5297)
|
418 |
|
419 |
-
[node name="
|
420 |
target_position = Vector3(5.69114, -1.95789, 13.7396)
|
421 |
|
422 |
-
[node name="
|
423 |
target_position = Vector3(5.73479, -0.654291, 13.845)
|
424 |
|
425 |
-
[node name="
|
426 |
target_position = Vector3(5.73479, 0.654291, 13.845)
|
427 |
|
428 |
-
[node name="
|
429 |
target_position = Vector3(5.69114, 1.95789, 13.7396)
|
430 |
|
431 |
-
[node name="
|
432 |
target_position = Vector3(5.60418, 3.24659, 13.5297)
|
433 |
|
434 |
-
[node name="
|
435 |
target_position = Vector3(5.47458, 4.51059, 13.2168)
|
436 |
|
437 |
-
[node name="
|
438 |
target_position = Vector3(5.3033, 5.74025, 12.8033)
|
439 |
|
440 |
-
[node name="
|
441 |
target_position = Vector3(5.09167, 6.92623, 12.2924)
|
442 |
|
443 |
-
[node name="
|
444 |
target_position = Vector3(6.14364, -6.92623, 11.8018)
|
445 |
|
446 |
-
[node name="
|
447 |
target_position = Vector3(6.399, -5.74025, 12.2924)
|
448 |
|
449 |
-
[node name="
|
450 |
target_position = Vector3(6.60566, -4.51059, 12.6894)
|
451 |
|
452 |
-
[node name="
|
453 |
target_position = Vector3(6.76205, -3.24659, 12.9898)
|
454 |
|
455 |
-
[node name="
|
456 |
target_position = Vector3(6.86697, -1.95789, 13.1913)
|
457 |
|
458 |
-
[node name="
|
459 |
target_position = Vector3(6.91964, -0.654291, 13.2925)
|
460 |
|
461 |
-
[node name="
|
462 |
target_position = Vector3(6.91964, 0.654291, 13.2925)
|
463 |
|
464 |
-
[node name="
|
465 |
target_position = Vector3(6.86697, 1.95789, 13.1913)
|
466 |
|
467 |
-
[node name="
|
468 |
target_position = Vector3(6.76205, 3.24659, 12.9898)
|
469 |
|
470 |
-
[node name="
|
471 |
target_position = Vector3(6.60566, 4.51059, 12.6894)
|
472 |
|
473 |
-
[node name="
|
474 |
target_position = Vector3(6.399, 5.74025, 12.2924)
|
475 |
|
476 |
-
[node name="
|
477 |
target_position = Vector3(6.14364, 6.92623, 11.8018)
|
478 |
|
479 |
[node name="Robot" parent="." instance=ExtResource("3_pt6ta")]
|
|
|
44 |
n_rays_height = 12.0
|
45 |
ray_length = 15.0
|
46 |
|
47 |
+
[node name="@node_0 0@29044" type="RayCast3D" parent="RayCastSensor3D"]
|
48 |
target_position = Vector3(-6.14364, -6.92623, 11.8018)
|
49 |
|
50 |
+
[node name="node_0 1" type="RayCast3D" parent="RayCastSensor3D"]
|
51 |
target_position = Vector3(-6.399, -5.74025, 12.2924)
|
52 |
|
53 |
+
[node name="node_0 2" type="RayCast3D" parent="RayCastSensor3D"]
|
54 |
target_position = Vector3(-6.60566, -4.51059, 12.6894)
|
55 |
|
56 |
+
[node name="node_0 3" type="RayCast3D" parent="RayCastSensor3D"]
|
57 |
target_position = Vector3(-6.76205, -3.24659, 12.9898)
|
58 |
|
59 |
+
[node name="node_0 4" type="RayCast3D" parent="RayCastSensor3D"]
|
60 |
target_position = Vector3(-6.86697, -1.95789, 13.1913)
|
61 |
|
62 |
+
[node name="node_0 5" type="RayCast3D" parent="RayCastSensor3D"]
|
63 |
target_position = Vector3(-6.91964, -0.654291, 13.2925)
|
64 |
|
65 |
+
[node name="node_0 6" type="RayCast3D" parent="RayCastSensor3D"]
|
66 |
target_position = Vector3(-6.91964, 0.654291, 13.2925)
|
67 |
|
68 |
+
[node name="node_0 7" type="RayCast3D" parent="RayCastSensor3D"]
|
69 |
target_position = Vector3(-6.86697, 1.95789, 13.1913)
|
70 |
|
71 |
+
[node name="node_0 8" type="RayCast3D" parent="RayCastSensor3D"]
|
72 |
target_position = Vector3(-6.76205, 3.24659, 12.9898)
|
73 |
|
74 |
+
[node name="node_0 9" type="RayCast3D" parent="RayCastSensor3D"]
|
75 |
target_position = Vector3(-6.60566, 4.51059, 12.6894)
|
76 |
|
77 |
+
[node name="node_0 10" type="RayCast3D" parent="RayCastSensor3D"]
|
78 |
target_position = Vector3(-6.399, 5.74025, 12.2924)
|
79 |
|
80 |
+
[node name="node_0 11" type="RayCast3D" parent="RayCastSensor3D"]
|
81 |
target_position = Vector3(-6.14364, 6.92623, 11.8018)
|
82 |
|
83 |
+
[node name="node_1 0" type="RayCast3D" parent="RayCastSensor3D"]
|
84 |
target_position = Vector3(-5.09167, -6.92623, 12.2924)
|
85 |
|
86 |
+
[node name="node_1 1" type="RayCast3D" parent="RayCastSensor3D"]
|
87 |
target_position = Vector3(-5.3033, -5.74025, 12.8033)
|
88 |
|
89 |
+
[node name="node_1 2" type="RayCast3D" parent="RayCastSensor3D"]
|
90 |
target_position = Vector3(-5.47458, -4.51059, 13.2168)
|
91 |
|
92 |
+
[node name="node_1 3" type="RayCast3D" parent="RayCastSensor3D"]
|
93 |
target_position = Vector3(-5.60418, -3.24659, 13.5297)
|
94 |
|
95 |
+
[node name="node_1 4" type="RayCast3D" parent="RayCastSensor3D"]
|
96 |
target_position = Vector3(-5.69114, -1.95789, 13.7396)
|
97 |
|
98 |
+
[node name="node_1 5" type="RayCast3D" parent="RayCastSensor3D"]
|
99 |
target_position = Vector3(-5.73479, -0.654291, 13.845)
|
100 |
|
101 |
+
[node name="node_1 6" type="RayCast3D" parent="RayCastSensor3D"]
|
102 |
target_position = Vector3(-5.73479, 0.654291, 13.845)
|
103 |
|
104 |
+
[node name="node_1 7" type="RayCast3D" parent="RayCastSensor3D"]
|
105 |
target_position = Vector3(-5.69114, 1.95789, 13.7396)
|
106 |
|
107 |
+
[node name="node_1 8" type="RayCast3D" parent="RayCastSensor3D"]
|
108 |
target_position = Vector3(-5.60418, 3.24659, 13.5297)
|
109 |
|
110 |
+
[node name="node_1 9" type="RayCast3D" parent="RayCastSensor3D"]
|
111 |
target_position = Vector3(-5.47458, 4.51059, 13.2168)
|
112 |
|
113 |
+
[node name="node_1 10" type="RayCast3D" parent="RayCastSensor3D"]
|
114 |
target_position = Vector3(-5.3033, 5.74025, 12.8033)
|
115 |
|
116 |
+
[node name="node_1 11" type="RayCast3D" parent="RayCastSensor3D"]
|
117 |
target_position = Vector3(-5.09167, 6.92623, 12.2924)
|
118 |
|
119 |
+
[node name="node_2 0" type="RayCast3D" parent="RayCastSensor3D"]
|
120 |
target_position = Vector3(-4.00094, -6.92623, 12.6894)
|
121 |
|
122 |
+
[node name="node_2 1" type="RayCast3D" parent="RayCastSensor3D"]
|
123 |
target_position = Vector3(-4.16724, -5.74025, 13.2168)
|
124 |
|
125 |
+
[node name="node_2 2" type="RayCast3D" parent="RayCastSensor3D"]
|
126 |
target_position = Vector3(-4.30182, -4.51059, 13.6436)
|
127 |
|
128 |
+
[node name="node_2 3" type="RayCast3D" parent="RayCastSensor3D"]
|
129 |
target_position = Vector3(-4.40367, -3.24659, 13.9667)
|
130 |
|
131 |
+
[node name="node_2 4" type="RayCast3D" parent="RayCastSensor3D"]
|
132 |
target_position = Vector3(-4.472, -1.95789, 14.1834)
|
133 |
|
134 |
+
[node name="node_2 5" type="RayCast3D" parent="RayCastSensor3D"]
|
135 |
target_position = Vector3(-4.50629, -0.654291, 14.2921)
|
136 |
|
137 |
+
[node name="node_2 6" type="RayCast3D" parent="RayCastSensor3D"]
|
138 |
target_position = Vector3(-4.50629, 0.654291, 14.2921)
|
139 |
|
140 |
+
[node name="node_2 7" type="RayCast3D" parent="RayCastSensor3D"]
|
141 |
target_position = Vector3(-4.472, 1.95789, 14.1834)
|
142 |
|
143 |
+
[node name="node_2 8" type="RayCast3D" parent="RayCastSensor3D"]
|
144 |
target_position = Vector3(-4.40367, 3.24659, 13.9667)
|
145 |
|
146 |
+
[node name="node_2 9" type="RayCast3D" parent="RayCastSensor3D"]
|
147 |
target_position = Vector3(-4.30182, 4.51059, 13.6436)
|
148 |
|
149 |
+
[node name="node_2 10" type="RayCast3D" parent="RayCastSensor3D"]
|
150 |
target_position = Vector3(-4.16724, 5.74025, 13.2168)
|
151 |
|
152 |
+
[node name="node_2 11" type="RayCast3D" parent="RayCastSensor3D"]
|
153 |
target_position = Vector3(-4.00094, 6.92623, 12.6894)
|
154 |
|
155 |
+
[node name="node_3 0" type="RayCast3D" parent="RayCastSensor3D"]
|
156 |
target_position = Vector3(-2.87976, -6.92623, 12.9898)
|
157 |
|
158 |
+
[node name="node_3 1" type="RayCast3D" parent="RayCastSensor3D"]
|
159 |
target_position = Vector3(-2.99946, -5.74025, 13.5297)
|
160 |
|
161 |
+
[node name="node_3 2" type="RayCast3D" parent="RayCastSensor3D"]
|
162 |
target_position = Vector3(-3.09633, -4.51059, 13.9667)
|
163 |
|
164 |
+
[node name="node_3 3" type="RayCast3D" parent="RayCastSensor3D"]
|
165 |
target_position = Vector3(-3.16964, -3.24659, 14.2973)
|
166 |
|
167 |
+
[node name="node_3 4" type="RayCast3D" parent="RayCastSensor3D"]
|
168 |
target_position = Vector3(-3.21882, -1.95789, 14.5192)
|
169 |
|
170 |
+
[node name="node_3 5" type="RayCast3D" parent="RayCastSensor3D"]
|
171 |
target_position = Vector3(-3.2435, -0.654291, 14.6305)
|
172 |
|
173 |
+
[node name="node_3 6" type="RayCast3D" parent="RayCastSensor3D"]
|
174 |
target_position = Vector3(-3.2435, 0.654291, 14.6305)
|
175 |
|
176 |
+
[node name="node_3 7" type="RayCast3D" parent="RayCastSensor3D"]
|
177 |
target_position = Vector3(-3.21882, 1.95789, 14.5192)
|
178 |
|
179 |
+
[node name="node_3 8" type="RayCast3D" parent="RayCastSensor3D"]
|
180 |
target_position = Vector3(-3.16964, 3.24659, 14.2973)
|
181 |
|
182 |
+
[node name="node_3 9" type="RayCast3D" parent="RayCastSensor3D"]
|
183 |
target_position = Vector3(-3.09633, 4.51059, 13.9667)
|
184 |
|
185 |
+
[node name="node_3 10" type="RayCast3D" parent="RayCastSensor3D"]
|
186 |
target_position = Vector3(-2.99946, 5.74025, 13.5297)
|
187 |
|
188 |
+
[node name="node_3 11" type="RayCast3D" parent="RayCastSensor3D"]
|
189 |
target_position = Vector3(-2.87976, 6.92623, 12.9898)
|
190 |
|
191 |
+
[node name="node_4 0" type="RayCast3D" parent="RayCastSensor3D"]
|
192 |
target_position = Vector3(-1.73667, -6.92623, 13.1913)
|
193 |
|
194 |
+
[node name="node_4 1" type="RayCast3D" parent="RayCastSensor3D"]
|
195 |
target_position = Vector3(-1.80886, -5.74025, 13.7396)
|
196 |
|
197 |
+
[node name="node_4 2" type="RayCast3D" parent="RayCastSensor3D"]
|
198 |
target_position = Vector3(-1.86728, -4.51059, 14.1834)
|
199 |
|
200 |
+
[node name="node_4 3" type="RayCast3D" parent="RayCastSensor3D"]
|
201 |
target_position = Vector3(-1.91148, -3.24659, 14.5192)
|
202 |
|
203 |
+
[node name="node_4 4" type="RayCast3D" parent="RayCastSensor3D"]
|
204 |
target_position = Vector3(-1.94114, -1.95789, 14.7444)
|
205 |
|
206 |
+
[node name="node_4 5" type="RayCast3D" parent="RayCastSensor3D"]
|
207 |
target_position = Vector3(-1.95603, -0.654291, 14.8575)
|
208 |
|
209 |
+
[node name="node_4 6" type="RayCast3D" parent="RayCastSensor3D"]
|
210 |
target_position = Vector3(-1.95603, 0.654291, 14.8575)
|
211 |
|
212 |
+
[node name="node_4 7" type="RayCast3D" parent="RayCastSensor3D"]
|
213 |
target_position = Vector3(-1.94114, 1.95789, 14.7444)
|
214 |
|
215 |
+
[node name="node_4 8" type="RayCast3D" parent="RayCastSensor3D"]
|
216 |
target_position = Vector3(-1.91148, 3.24659, 14.5192)
|
217 |
|
218 |
+
[node name="node_4 9" type="RayCast3D" parent="RayCastSensor3D"]
|
219 |
target_position = Vector3(-1.86728, 4.51059, 14.1834)
|
220 |
|
221 |
+
[node name="node_4 10" type="RayCast3D" parent="RayCastSensor3D"]
|
222 |
target_position = Vector3(-1.80886, 5.74025, 13.7396)
|
223 |
|
224 |
+
[node name="node_4 11" type="RayCast3D" parent="RayCastSensor3D"]
|
225 |
target_position = Vector3(-1.73667, 6.92623, 13.1913)
|
226 |
|
227 |
+
[node name="node_5 0" type="RayCast3D" parent="RayCastSensor3D"]
|
228 |
target_position = Vector3(-0.580363, -6.92623, 13.2925)
|
229 |
|
230 |
+
[node name="node_5 1" type="RayCast3D" parent="RayCastSensor3D"]
|
231 |
target_position = Vector3(-0.604486, -5.74025, 13.845)
|
232 |
|
233 |
+
[node name="node_5 2" type="RayCast3D" parent="RayCastSensor3D"]
|
234 |
target_position = Vector3(-0.624008, -4.51059, 14.2921)
|
235 |
|
236 |
+
[node name="node_5 3" type="RayCast3D" parent="RayCastSensor3D"]
|
237 |
target_position = Vector3(-0.638781, -3.24659, 14.6305)
|
238 |
|
239 |
+
[node name="node_5 4" type="RayCast3D" parent="RayCastSensor3D"]
|
240 |
target_position = Vector3(-0.648693, -1.95789, 14.8575)
|
241 |
|
242 |
+
[node name="node_5 5" type="RayCast3D" parent="RayCastSensor3D"]
|
243 |
target_position = Vector3(-0.653668, -0.654291, 14.9715)
|
244 |
|
245 |
+
[node name="node_5 6" type="RayCast3D" parent="RayCastSensor3D"]
|
246 |
target_position = Vector3(-0.653668, 0.654291, 14.9715)
|
247 |
|
248 |
+
[node name="node_5 7" type="RayCast3D" parent="RayCastSensor3D"]
|
249 |
target_position = Vector3(-0.648693, 1.95789, 14.8575)
|
250 |
|
251 |
+
[node name="node_5 8" type="RayCast3D" parent="RayCastSensor3D"]
|
252 |
target_position = Vector3(-0.638781, 3.24659, 14.6305)
|
253 |
|
254 |
+
[node name="node_5 9" type="RayCast3D" parent="RayCastSensor3D"]
|
255 |
target_position = Vector3(-0.624008, 4.51059, 14.2921)
|
256 |
|
257 |
+
[node name="node_5 10" type="RayCast3D" parent="RayCastSensor3D"]
|
258 |
target_position = Vector3(-0.604486, 5.74025, 13.845)
|
259 |
|
260 |
+
[node name="node_5 11" type="RayCast3D" parent="RayCastSensor3D"]
|
261 |
target_position = Vector3(-0.580363, 6.92623, 13.2925)
|
262 |
|
263 |
+
[node name="node_6 0" type="RayCast3D" parent="RayCastSensor3D"]
|
264 |
target_position = Vector3(0.580363, -6.92623, 13.2925)
|
265 |
|
266 |
+
[node name="node_6 1" type="RayCast3D" parent="RayCastSensor3D"]
|
267 |
target_position = Vector3(0.604486, -5.74025, 13.845)
|
268 |
|
269 |
+
[node name="node_6 2" type="RayCast3D" parent="RayCastSensor3D"]
|
270 |
target_position = Vector3(0.624008, -4.51059, 14.2921)
|
271 |
|
272 |
+
[node name="node_6 3" type="RayCast3D" parent="RayCastSensor3D"]
|
273 |
target_position = Vector3(0.638781, -3.24659, 14.6305)
|
274 |
|
275 |
+
[node name="node_6 4" type="RayCast3D" parent="RayCastSensor3D"]
|
276 |
target_position = Vector3(0.648693, -1.95789, 14.8575)
|
277 |
|
278 |
+
[node name="node_6 5" type="RayCast3D" parent="RayCastSensor3D"]
|
279 |
target_position = Vector3(0.653668, -0.654291, 14.9715)
|
280 |
|
281 |
+
[node name="node_6 6" type="RayCast3D" parent="RayCastSensor3D"]
|
282 |
target_position = Vector3(0.653668, 0.654291, 14.9715)
|
283 |
|
284 |
+
[node name="node_6 7" type="RayCast3D" parent="RayCastSensor3D"]
|
285 |
target_position = Vector3(0.648693, 1.95789, 14.8575)
|
286 |
|
287 |
+
[node name="node_6 8" type="RayCast3D" parent="RayCastSensor3D"]
|
288 |
target_position = Vector3(0.638781, 3.24659, 14.6305)
|
289 |
|
290 |
+
[node name="node_6 9" type="RayCast3D" parent="RayCastSensor3D"]
|
291 |
target_position = Vector3(0.624008, 4.51059, 14.2921)
|
292 |
|
293 |
+
[node name="node_6 10" type="RayCast3D" parent="RayCastSensor3D"]
|
294 |
target_position = Vector3(0.604486, 5.74025, 13.845)
|
295 |
|
296 |
+
[node name="node_6 11" type="RayCast3D" parent="RayCastSensor3D"]
|
297 |
target_position = Vector3(0.580363, 6.92623, 13.2925)
|
298 |
|
299 |
+
[node name="node_7 0" type="RayCast3D" parent="RayCastSensor3D"]
|
300 |
target_position = Vector3(1.73667, -6.92623, 13.1913)
|
301 |
|
302 |
+
[node name="node_7 1" type="RayCast3D" parent="RayCastSensor3D"]
|
303 |
target_position = Vector3(1.80886, -5.74025, 13.7396)
|
304 |
|
305 |
+
[node name="node_7 2" type="RayCast3D" parent="RayCastSensor3D"]
|
306 |
target_position = Vector3(1.86728, -4.51059, 14.1834)
|
307 |
|
308 |
+
[node name="node_7 3" type="RayCast3D" parent="RayCastSensor3D"]
|
309 |
target_position = Vector3(1.91148, -3.24659, 14.5192)
|
310 |
|
311 |
+
[node name="node_7 4" type="RayCast3D" parent="RayCastSensor3D"]
|
312 |
target_position = Vector3(1.94114, -1.95789, 14.7444)
|
313 |
|
314 |
+
[node name="node_7 5" type="RayCast3D" parent="RayCastSensor3D"]
|
315 |
target_position = Vector3(1.95603, -0.654291, 14.8575)
|
316 |
|
317 |
+
[node name="node_7 6" type="RayCast3D" parent="RayCastSensor3D"]
|
318 |
target_position = Vector3(1.95603, 0.654291, 14.8575)
|
319 |
|
320 |
+
[node name="node_7 7" type="RayCast3D" parent="RayCastSensor3D"]
|
321 |
target_position = Vector3(1.94114, 1.95789, 14.7444)
|
322 |
|
323 |
+
[node name="node_7 8" type="RayCast3D" parent="RayCastSensor3D"]
|
324 |
target_position = Vector3(1.91148, 3.24659, 14.5192)
|
325 |
|
326 |
+
[node name="node_7 9" type="RayCast3D" parent="RayCastSensor3D"]
|
327 |
target_position = Vector3(1.86728, 4.51059, 14.1834)
|
328 |
|
329 |
+
[node name="node_7 10" type="RayCast3D" parent="RayCastSensor3D"]
|
330 |
target_position = Vector3(1.80886, 5.74025, 13.7396)
|
331 |
|
332 |
+
[node name="node_7 11" type="RayCast3D" parent="RayCastSensor3D"]
|
333 |
target_position = Vector3(1.73667, 6.92623, 13.1913)
|
334 |
|
335 |
+
[node name="node_8 0" type="RayCast3D" parent="RayCastSensor3D"]
|
336 |
target_position = Vector3(2.87976, -6.92623, 12.9898)
|
337 |
|
338 |
+
[node name="node_8 1" type="RayCast3D" parent="RayCastSensor3D"]
|
339 |
target_position = Vector3(2.99946, -5.74025, 13.5297)
|
340 |
|
341 |
+
[node name="node_8 2" type="RayCast3D" parent="RayCastSensor3D"]
|
342 |
target_position = Vector3(3.09633, -4.51059, 13.9667)
|
343 |
|
344 |
+
[node name="node_8 3" type="RayCast3D" parent="RayCastSensor3D"]
|
345 |
target_position = Vector3(3.16964, -3.24659, 14.2973)
|
346 |
|
347 |
+
[node name="node_8 4" type="RayCast3D" parent="RayCastSensor3D"]
|
348 |
target_position = Vector3(3.21882, -1.95789, 14.5192)
|
349 |
|
350 |
+
[node name="node_8 5" type="RayCast3D" parent="RayCastSensor3D"]
|
351 |
target_position = Vector3(3.2435, -0.654291, 14.6305)
|
352 |
|
353 |
+
[node name="node_8 6" type="RayCast3D" parent="RayCastSensor3D"]
|
354 |
target_position = Vector3(3.2435, 0.654291, 14.6305)
|
355 |
|
356 |
+
[node name="node_8 7" type="RayCast3D" parent="RayCastSensor3D"]
|
357 |
target_position = Vector3(3.21882, 1.95789, 14.5192)
|
358 |
|
359 |
+
[node name="node_8 8" type="RayCast3D" parent="RayCastSensor3D"]
|
360 |
target_position = Vector3(3.16964, 3.24659, 14.2973)
|
361 |
|
362 |
+
[node name="node_8 9" type="RayCast3D" parent="RayCastSensor3D"]
|
363 |
target_position = Vector3(3.09633, 4.51059, 13.9667)
|
364 |
|
365 |
+
[node name="node_8 10" type="RayCast3D" parent="RayCastSensor3D"]
|
366 |
target_position = Vector3(2.99946, 5.74025, 13.5297)
|
367 |
|
368 |
+
[node name="node_8 11" type="RayCast3D" parent="RayCastSensor3D"]
|
369 |
target_position = Vector3(2.87976, 6.92623, 12.9898)
|
370 |
|
371 |
+
[node name="node_9 0" type="RayCast3D" parent="RayCastSensor3D"]
|
372 |
target_position = Vector3(4.00094, -6.92623, 12.6894)
|
373 |
|
374 |
+
[node name="node_9 1" type="RayCast3D" parent="RayCastSensor3D"]
|
375 |
target_position = Vector3(4.16724, -5.74025, 13.2168)
|
376 |
|
377 |
+
[node name="node_9 2" type="RayCast3D" parent="RayCastSensor3D"]
|
378 |
target_position = Vector3(4.30182, -4.51059, 13.6436)
|
379 |
|
380 |
+
[node name="node_9 3" type="RayCast3D" parent="RayCastSensor3D"]
|
381 |
target_position = Vector3(4.40367, -3.24659, 13.9667)
|
382 |
|
383 |
+
[node name="node_9 4" type="RayCast3D" parent="RayCastSensor3D"]
|
384 |
target_position = Vector3(4.472, -1.95789, 14.1834)
|
385 |
|
386 |
+
[node name="node_9 5" type="RayCast3D" parent="RayCastSensor3D"]
|
387 |
target_position = Vector3(4.50629, -0.654291, 14.2921)
|
388 |
|
389 |
+
[node name="node_9 6" type="RayCast3D" parent="RayCastSensor3D"]
|
390 |
target_position = Vector3(4.50629, 0.654291, 14.2921)
|
391 |
|
392 |
+
[node name="node_9 7" type="RayCast3D" parent="RayCastSensor3D"]
|
393 |
target_position = Vector3(4.472, 1.95789, 14.1834)
|
394 |
|
395 |
+
[node name="node_9 8" type="RayCast3D" parent="RayCastSensor3D"]
|
396 |
target_position = Vector3(4.40367, 3.24659, 13.9667)
|
397 |
|
398 |
+
[node name="node_9 9" type="RayCast3D" parent="RayCastSensor3D"]
|
399 |
target_position = Vector3(4.30182, 4.51059, 13.6436)
|
400 |
|
401 |
+
[node name="node_9 10" type="RayCast3D" parent="RayCastSensor3D"]
|
402 |
target_position = Vector3(4.16724, 5.74025, 13.2168)
|
403 |
|
404 |
+
[node name="node_9 11" type="RayCast3D" parent="RayCastSensor3D"]
|
405 |
target_position = Vector3(4.00094, 6.92623, 12.6894)
|
406 |
|
407 |
+
[node name="node_10 0" type="RayCast3D" parent="RayCastSensor3D"]
|
408 |
target_position = Vector3(5.09167, -6.92623, 12.2924)
|
409 |
|
410 |
+
[node name="node_10 1" type="RayCast3D" parent="RayCastSensor3D"]
|
411 |
target_position = Vector3(5.3033, -5.74025, 12.8033)
|
412 |
|
413 |
+
[node name="node_10 2" type="RayCast3D" parent="RayCastSensor3D"]
|
414 |
target_position = Vector3(5.47458, -4.51059, 13.2168)
|
415 |
|
416 |
+
[node name="node_10 3" type="RayCast3D" parent="RayCastSensor3D"]
|
417 |
target_position = Vector3(5.60418, -3.24659, 13.5297)
|
418 |
|
419 |
+
[node name="node_10 4" type="RayCast3D" parent="RayCastSensor3D"]
|
420 |
target_position = Vector3(5.69114, -1.95789, 13.7396)
|
421 |
|
422 |
+
[node name="node_10 5" type="RayCast3D" parent="RayCastSensor3D"]
|
423 |
target_position = Vector3(5.73479, -0.654291, 13.845)
|
424 |
|
425 |
+
[node name="node_10 6" type="RayCast3D" parent="RayCastSensor3D"]
|
426 |
target_position = Vector3(5.73479, 0.654291, 13.845)
|
427 |
|
428 |
+
[node name="node_10 7" type="RayCast3D" parent="RayCastSensor3D"]
|
429 |
target_position = Vector3(5.69114, 1.95789, 13.7396)
|
430 |
|
431 |
+
[node name="node_10 8" type="RayCast3D" parent="RayCastSensor3D"]
|
432 |
target_position = Vector3(5.60418, 3.24659, 13.5297)
|
433 |
|
434 |
+
[node name="node_10 9" type="RayCast3D" parent="RayCastSensor3D"]
|
435 |
target_position = Vector3(5.47458, 4.51059, 13.2168)
|
436 |
|
437 |
+
[node name="node_10 10" type="RayCast3D" parent="RayCastSensor3D"]
|
438 |
target_position = Vector3(5.3033, 5.74025, 12.8033)
|
439 |
|
440 |
+
[node name="node_10 11" type="RayCast3D" parent="RayCastSensor3D"]
|
441 |
target_position = Vector3(5.09167, 6.92623, 12.2924)
|
442 |
|
443 |
+
[node name="node_11 0" type="RayCast3D" parent="RayCastSensor3D"]
|
444 |
target_position = Vector3(6.14364, -6.92623, 11.8018)
|
445 |
|
446 |
+
[node name="node_11 1" type="RayCast3D" parent="RayCastSensor3D"]
|
447 |
target_position = Vector3(6.399, -5.74025, 12.2924)
|
448 |
|
449 |
+
[node name="node_11 2" type="RayCast3D" parent="RayCastSensor3D"]
|
450 |
target_position = Vector3(6.60566, -4.51059, 12.6894)
|
451 |
|
452 |
+
[node name="node_11 3" type="RayCast3D" parent="RayCastSensor3D"]
|
453 |
target_position = Vector3(6.76205, -3.24659, 12.9898)
|
454 |
|
455 |
+
[node name="node_11 4" type="RayCast3D" parent="RayCastSensor3D"]
|
456 |
target_position = Vector3(6.86697, -1.95789, 13.1913)
|
457 |
|
458 |
+
[node name="node_11 5" type="RayCast3D" parent="RayCastSensor3D"]
|
459 |
target_position = Vector3(6.91964, -0.654291, 13.2925)
|
460 |
|
461 |
+
[node name="node_11 6" type="RayCast3D" parent="RayCastSensor3D"]
|
462 |
target_position = Vector3(6.91964, 0.654291, 13.2925)
|
463 |
|
464 |
+
[node name="node_11 7" type="RayCast3D" parent="RayCastSensor3D"]
|
465 |
target_position = Vector3(6.86697, 1.95789, 13.1913)
|
466 |
|
467 |
+
[node name="node_11 8" type="RayCast3D" parent="RayCastSensor3D"]
|
468 |
target_position = Vector3(6.76205, 3.24659, 12.9898)
|
469 |
|
470 |
+
[node name="node_11 9" type="RayCast3D" parent="RayCastSensor3D"]
|
471 |
target_position = Vector3(6.60566, 4.51059, 12.6894)
|
472 |
|
473 |
+
[node name="node_11 10" type="RayCast3D" parent="RayCastSensor3D"]
|
474 |
target_position = Vector3(6.399, 5.74025, 12.2924)
|
475 |
|
476 |
+
[node name="node_11 11" type="RayCast3D" parent="RayCastSensor3D"]
|
477 |
target_position = Vector3(6.14364, 6.92623, 11.8018)
|
478 |
|
479 |
[node name="Robot" parent="." instance=ExtResource("3_pt6ta")]
|
addons/godot_rl_agents/controller/ai_controller_2d.gd
CHANGED
@@ -1,82 +1,8 @@
|
|
1 |
-
extends
|
2 |
class_name AIController2D
|
3 |
|
4 |
-
|
5 |
-
|
6 |
-
var heuristic := "human"
|
7 |
-
var done := false
|
8 |
-
var reward := 0.0
|
9 |
-
var n_steps := 0
|
10 |
-
var needs_reset := false
|
11 |
-
|
12 |
var _player: Node2D
|
13 |
|
14 |
-
func _ready():
|
15 |
-
add_to_group("AGENT")
|
16 |
-
|
17 |
func init(player: Node2D):
|
18 |
_player = player
|
19 |
-
|
20 |
-
#-- Methods that need implementing using the "extend script" option in Godot --#
|
21 |
-
func get_obs() -> Dictionary:
|
22 |
-
assert(false, "the get_obs method is not implemented when extending from ai_controller")
|
23 |
-
return {"obs":[]}
|
24 |
-
|
25 |
-
func get_reward() -> float:
|
26 |
-
assert(false, "the get_reward method is not implemented when extending from ai_controller")
|
27 |
-
return 0.0
|
28 |
-
|
29 |
-
func get_action_space() -> Dictionary:
|
30 |
-
assert(false, "the get get_action_space method is not implemented when extending from ai_controller")
|
31 |
-
return {
|
32 |
-
"example_actions_continous" : {
|
33 |
-
"size": 2,
|
34 |
-
"action_type": "continuous"
|
35 |
-
},
|
36 |
-
"example_actions_discrete" : {
|
37 |
-
"size": 2,
|
38 |
-
"action_type": "discrete"
|
39 |
-
},
|
40 |
-
}
|
41 |
-
|
42 |
-
func set_action(action) -> void:
|
43 |
-
assert(false, "the get set_action method is not implemented when extending from ai_controller")
|
44 |
-
# -----------------------------------------------------------------------------#
|
45 |
-
|
46 |
-
func _physics_process(delta):
|
47 |
-
n_steps += 1
|
48 |
-
if n_steps > reset_after:
|
49 |
-
needs_reset = true
|
50 |
-
|
51 |
-
func get_obs_space():
|
52 |
-
# may need overriding if the obs space is complex
|
53 |
-
var obs = get_obs()
|
54 |
-
return {
|
55 |
-
"obs": {
|
56 |
-
"size": [len(obs["obs"])],
|
57 |
-
"space": "box"
|
58 |
-
},
|
59 |
-
}
|
60 |
-
|
61 |
-
func reset():
|
62 |
-
n_steps = 0
|
63 |
-
needs_reset = false
|
64 |
-
|
65 |
-
func reset_if_done():
|
66 |
-
if done:
|
67 |
-
reset()
|
68 |
-
|
69 |
-
func set_heuristic(h):
|
70 |
-
# sets the heuristic from "human" or "model" nothing to change here
|
71 |
-
heuristic = h
|
72 |
-
|
73 |
-
func get_done():
|
74 |
-
return done
|
75 |
-
|
76 |
-
func set_done_false():
|
77 |
-
done = false
|
78 |
-
|
79 |
-
func zero_reward():
|
80 |
-
reward = 0.0
|
81 |
-
|
82 |
-
|
|
|
1 |
+
extends AIController
|
2 |
class_name AIController2D
|
3 |
|
4 |
+
# ------------------ Godot RL Agents Logic ------------------------------------#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
var _player: Node2D
|
6 |
|
|
|
|
|
|
|
7 |
func init(player: Node2D):
|
8 |
_player = player
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
addons/godot_rl_agents/controller/ai_controller_3d.gd
CHANGED
@@ -1,80 +1,8 @@
|
|
1 |
-
extends
|
2 |
class_name AIController3D
|
3 |
|
4 |
-
|
5 |
-
|
6 |
-
var heuristic := "human"
|
7 |
-
var done := false
|
8 |
-
var reward := 0.0
|
9 |
-
var n_steps := 0
|
10 |
-
var needs_reset := false
|
11 |
-
|
12 |
var _player: Node3D
|
13 |
|
14 |
-
func _ready():
|
15 |
-
add_to_group("AGENT")
|
16 |
-
|
17 |
func init(player: Node3D):
|
18 |
_player = player
|
19 |
-
|
20 |
-
#-- Methods that need implementing using the "extend script" option in Godot --#
|
21 |
-
func get_obs() -> Dictionary:
|
22 |
-
assert(false, "the get_obs method is not implemented when extending from ai_controller")
|
23 |
-
return {"obs":[]}
|
24 |
-
|
25 |
-
func get_reward() -> float:
|
26 |
-
assert(false, "the get_reward method is not implemented when extending from ai_controller")
|
27 |
-
return 0.0
|
28 |
-
|
29 |
-
func get_action_space() -> Dictionary:
|
30 |
-
assert(false, "the get get_action_space method is not implemented when extending from ai_controller")
|
31 |
-
return {
|
32 |
-
"example_actions_continous" : {
|
33 |
-
"size": 2,
|
34 |
-
"action_type": "continuous"
|
35 |
-
},
|
36 |
-
"example_actions_discrete" : {
|
37 |
-
"size": 2,
|
38 |
-
"action_type": "discrete"
|
39 |
-
},
|
40 |
-
}
|
41 |
-
|
42 |
-
func set_action(action) -> void:
|
43 |
-
assert(false, "the get set_action method is not implemented when extending from ai_controller")
|
44 |
-
# -----------------------------------------------------------------------------#
|
45 |
-
|
46 |
-
func _physics_process(delta):
|
47 |
-
n_steps += 1
|
48 |
-
if n_steps > reset_after:
|
49 |
-
needs_reset = true
|
50 |
-
|
51 |
-
func get_obs_space():
|
52 |
-
# may need overriding if the obs space is complex
|
53 |
-
var obs = get_obs()
|
54 |
-
return {
|
55 |
-
"obs": {
|
56 |
-
"size": [len(obs["obs"])],
|
57 |
-
"space": "box"
|
58 |
-
},
|
59 |
-
}
|
60 |
-
|
61 |
-
func reset():
|
62 |
-
n_steps = 0
|
63 |
-
needs_reset = false
|
64 |
-
|
65 |
-
func reset_if_done():
|
66 |
-
if done:
|
67 |
-
reset()
|
68 |
-
|
69 |
-
func set_heuristic(h):
|
70 |
-
# sets the heuristic from "human" or "model" nothing to change here
|
71 |
-
heuristic = h
|
72 |
-
|
73 |
-
func get_done():
|
74 |
-
return done
|
75 |
-
|
76 |
-
func set_done_false():
|
77 |
-
done = false
|
78 |
-
|
79 |
-
func zero_reward():
|
80 |
-
reward = 0.0
|
|
|
1 |
+
extends AIController
|
2 |
class_name AIController3D
|
3 |
|
4 |
+
# ------------------ Godot RL Agents Logic ------------------------------------#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
var _player: Node3D
|
6 |
|
|
|
|
|
|
|
7 |
func init(player: Node3D):
|
8 |
_player = player
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
addons/godot_rl_agents/icon.png
CHANGED
Git LFS Details
|
Git LFS Details
|
addons/godot_rl_agents/icon.png.import
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
importer="texture"
|
4 |
type="CompressedTexture2D"
|
5 |
-
uid="uid://
|
6 |
path="res://.godot/imported/icon.png-45a871b53434e556222f5901d598ab34.ctex"
|
7 |
metadata={
|
8 |
"vram_texture": false
|
|
|
2 |
|
3 |
importer="texture"
|
4 |
type="CompressedTexture2D"
|
5 |
+
uid="uid://76cvgkrq2p4x"
|
6 |
path="res://.godot/imported/icon.png-45a871b53434e556222f5901d598ab34.ctex"
|
7 |
metadata={
|
8 |
"vram_texture": false
|
icon.png
CHANGED
Git LFS Details
|
Git LFS Details
|
icon.png.import
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
importer="texture"
|
4 |
type="CompressedTexture2D"
|
5 |
-
uid="uid://
|
6 |
path="res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.ctex"
|
7 |
metadata={
|
8 |
"vram_texture": false
|
|
|
2 |
|
3 |
importer="texture"
|
4 |
type="CompressedTexture2D"
|
5 |
+
uid="uid://bg0fr0qlw10jy"
|
6 |
path="res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.ctex"
|
7 |
metadata={
|
8 |
"vram_texture": false
|