-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfsm_testing.argos
More file actions
97 lines (82 loc) · 2.98 KB
/
Copy pathfsm_testing.argos
File metadata and controls
97 lines (82 loc) · 2.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<?xml version="1.0" ?>
<argos-configuration>
<!-- ************************* -->
<!-- * General configuration * -->
<!-- ************************* -->
<framework>
<experiment length="0" ticks_per_second="5" />
</framework>
<!-- *************** -->
<!-- * Controllers * -->
<!-- *************** -->
<controllers>
<!-- ***************************************************** -->
<!-- * This is the Lua controller to associate to robots * -->
<!-- ***************************************************** -->
<lua_controller id="x">
<actuators>
<differential_steering implementation="default" />
<leds implementation="default" medium="leds" />
</actuators>
<sensors>
<footbot_proximity implementation="default" show_rays="true" />
</sensors>
<!--params script="footbot.lua" /-->
<params script="test_leds.lua" />
<!--params script="test_eyebot.lua" /-->
</lua_controller>
</controllers>
<!-- Loop Function -->
<!--loop_functions library="/path/to/libmy_loop_functions.so" label="my_loop_functions" /-->
<loop_functions library="loopFunction/build/libtestLoopFunction.so" label="testLoopFunction">
<entity id="testen">
<test id = "test"/>
</entity>
</loop_functions>
<!-- *********************** -->
<!-- * Arena configuration * -->
<!-- *********************** -->
<!-- Note: rotations are specified and performed in ZYX order (opposite of ARGoS1) -->
<arena size="2, 2, 1" center="0, 0, 0.5">
<box id="b0" size="1.5,.1,.1" movable="true" mass="1">
<body position="-.05,-0.75,0" orientation="0,0,0" />
</box>
<box id="b1" size="1.5,.1,.1" movable="true" mass="1">
<body position="-0.75,.05,0" orientation="90,0,0" />
</box>
<box id="b2" size="1.5,.1,.1" movable="true" mass="1">
<body position=".05,0.75,0" orientation="180,0,0" />
</box>
<box id="b3" size="1.5,.1,.1" movable="true" mass="1">
<body position="0.75,-.05,0" orientation="270,0,0" />
</box>
<cylinder id="obstacle" radius=".05" height="0.1" movable="true" mass="1">
<body position="0,0.5,0" orientation="0,0,0" />
</cylinder>
<foot-bot id="fb">
<body position="0,0,0" orientation="0,0,0"/>
<controller config="x"/>
</foot-bot>
</arena>
<!-- ******************* -->
<!-- * Physics engines * -->
<!-- ******************* -->
<physics_engines>
<dynamics2d id="dyn2d" iterations="20"/>
<!--pointmass3d id="pm3d" iterations="20"/-->
</physics_engines>
<media>
<!-- <range_and_bearing id="rab" index="grid" grid_size="2,2,1" /> -->
<led id="leds" index="grid" grid_size="5,5,1" />
</media>
<!-- ****************** -->
<!-- * Visualization * -->
<!-- ****************** -->
<visualization>
<qt-opengl lua_editor="true">
<camera>
<placement idx="0" position="0,0,2.5" look_at="0,0,1.25" up="1,0,0" lens_focal_length="15" />
</camera>
</qt-opengl>
</visualization>
</argos-configuration>