Rotational2.world
Go to the documentation of this file.
1 
2 [CONSTANTS]
3 
4 
5 % minimum extension of the legs
6 rho1:= 2.5
7 
8 % maximum extension of the legs
9 rho2:=rho1+2.5
10 
11 % length of the central leg
12 rho3:= 3.7
13 
14 % beg leg
15 rho4:= 7
16 rbeg:=0.2 % nominal value 0.04 max 0.235
17 % rbeg:=0.23 % nominal value 0.04 max 0.235
18 
19 % Now we define the base and the platforma as equilater triangles
20 % with the given parameters
21 
22 % Base Points (wrt the base reference frame)
23 % (this must correspond with the points in bodies/triangleR1)
24 a1x := 1.5
25 a1y := 0
26 a1z := 0
27 
28 a2x := -0.75
29 a2y := 1.3
30 a2z := 0
31 
32 a3x := -0.75
33 a3y := -1.3
34 a3z := 0
35 
36 % Platform Points (wrt the platform reference frame)
37 % (this must correspond with the points in bodies/triangleR2)
38 b1x := 1.5
39 b1y := 0
40 b1z := 0
41 
42 b2x := -0.75
43 b2y := 1.3
44 b2z := 0
45 
46 b3x := -0.75
47 b3y := -1.3
48 b3z := 0
49 
50 [LINKS]
51 
52 base : body "bodies/triangleR1" color (0.25,0.25,0)
53  cylinder 0.1 (0,0,0) (0,0,rho3) color (0.75,0.1,0.1)
54  sphere 0.2 (0,0,rho3) color (0.9,0.9,0)
55 
56 platform: body "bodies/triangleR2" color (0.25,0.25,0) decoration
57  cylinder rbeg (0,0,0) (0,0,rho4) color (0.1,0.9,0.1)
58 
59 [JOINTS]
60 
61 spherical: base (0,0,rho3)
62  platform (0,0,0)
63  range [pi/3] +(0,0,1) +(0,0,1)
64 
65 sph_prs_sph leg1 : base (a1x,a1y,a1z)
66  platform (b1x,b1y,b1z)
67  range [rho1,rho2]
68  radius 0.15
69  color (0.9,0.9,0.9)
70 
71 sph_prs_sph leg2 : base (a2x,a2y,a2z)
72  platform (b2x,b2y,b2z)
73  range [rho1,rho2]
74  radius 0.15
75  color (0.9,0.9,0.9)
76 
77 sph_prs_sph leg3 : base (a3x,a3y,a3z)
78  platform (b3x,b3y,b3z)
79  range [rho1,rho2]
80  radius 0.15
81  color (0.9,0.9,0.9)
82 
83 [OBSTACLES]
84 
85  obs1: body "bodies/obstacleR1" color (0.1,0.1,0.9)
86  obs2: body "bodies/obstacleR2" color (0.1,0.1,0.9)
87  obs5: body "bodies/obstacleR5" color (0.1,0.1,0.9) hidden
88  obs6: body "bodies/obstacleR6" color (0.1,0.1,0.9) hidden
89  obs7: body "bodies/obstacleR7" color (0.1,0.1,0.9)
90  obs10: body "bodies/obstacleR10" color (0.1,0.1,0.9)
91  obs11: body "bodies/obstacleR11" color (0.1,0.1,0.9)
92  obs12: body "bodies/obstacleR12" color (0.1,0.1,0.9)
93 
94 
95 
96 [COLLISIONS]
97 
98  Do Not Check : all
99  Check: platform,obs1
100  Check: platform,obs2
101  Check: platform,obs5
102  Check: platform,obs6
103  Check: platform,obs7
104  Check: platform,obs10
105  Check: platform,obs11
106  Check: platform,obs12
107