Go to the documentation of this file.
5 % Length of links for leg 1
10 % Length of links for leg 2
15 % Length of links for leg 3
20 % Anchor points for the 3 legs
32 % Radii of cylinders and spheres used for representation
37 % A ground link without associated geometry
41 link_1_1: cylinder rc (0,0,0) (length_1_1,0,0) yellow decoration
42 sphere rs (0,0,0) black decoration
43 link_1_2: cylinder rc (0,0,0) (length_1_2,0,0) green decoration
44 sphere rs (0,0,0) black decoration
45 link_1_3: cylinder rc (0,0,0) (length_1_3,0,0) yellow decoration
46 sphere rs (0,0,0) black decoration
49 link_2_1: cylinder rc (0,0.5,0) (length_2_1,0.5,0) yellow decoration
50 sphere rs (0,0.5,0) black decoration
51 link_2_2: cylinder rc (0,0.5,0) (length_2_2,0.5,0) green decoration
52 sphere rs (0,0.5,0) black decoration
53 link_2_3: cylinder rc (0,0.5,0) (length_2_3,0.5,0) yellow decoration
54 sphere rs (0,0.5,0) black decoration
57 link_3_1: cylinder rc (0,1,0) (length_3_1,1,0) yellow decoration
58 sphere rs (0,1,0) black decoration
59 link_3_2: cylinder rc (0,1,0) (length_3_2,1,0) green decoration
60 sphere rs (0,1,0) black decoration
61 link_3_3: cylinder rc (0,1,0) (length_3_3,1,0) yellow decoration
62 sphere rs (0,1,0) black decoration
63 sphere rs (length_3_3,1,0) black decoration
64 sphere rs (length_3_3,0.5,0) black decoration
65 sphere rs (length_3_3,0,0) black decoration
66 cylinder rc (length_3_3,1,0) (length_3_3,-0.75,0) red
67 sphere rs (length_3_3,-0.75,0) red
71 REVOLUTE: ground_link (a1_x,0,a1_z)+(0,1,0)
72 link_1_1 ( 0,0, 0)+(0,1,0)
73 REVOLUTE: link_1_1 (length_1_1,0,0)+(0,1,0)
74 link_1_2 ( 0,0,0)+(0,1,0)
75 REVOLUTE: link_1_2 (length_1_2,0,0)+(0,1,0)
76 link_1_3 ( 0,0,0)+(0,1,0)
78 REVOLUTE: ground_link (a2_x,0,a2_z)+(0,1,0)
79 link_2_1 ( 0,0, 0)+(0,1,0)
80 REVOLUTE: link_2_1 (length_2_1,0,0)+(0,1,0)
81 link_2_2 ( 0,0,0)+(0,1,0)
82 REVOLUTE: link_2_2 (length_2_2,0,0)+(0,1,0)
83 link_2_3 ( 0,0,0)+(0,1,0)
85 REVOLUTE: ground_link (a3_x,0,a3_z)+(0,1,0)
86 link_3_1 ( 0,0, 0)+(0,1,0)
87 REVOLUTE: link_3_1 (length_3_1,0,0)+(0,1,0)
88 link_3_2 ( 0,0,0)+(0,1,0)
89 REVOLUTE: link_3_2 (length_3_2,0,0)+(0,1,0)
90 link_3_3 ( 0,0,0)+(0,1,0)
92 REVOLUTE: link_1_3 (length_1_3,0,0)+(0,1,0)
93 link_2_3 (length_2_3,0,0)+(0,1,0)
95 REVOLUTE: link_2_3 (length_2_3,0,0)+(0,1,0)
96 link_3_3 (length_3_3,0,0)+(0,1,0)
98 REVOLUTE: link_1_3 (length_1_3,0,0)+(0,1,0)
99 link_3_3 (length_3_3,0,0)+(0,1,0)
103 % In the WAFR example no obstacles are considered
105 % Obstacles shared in ISRR and IJRR
106 box1 : body "bodies/obstacle1" color (0.1,0.1,0.9)
107 box2 : body "bodies/obstacle2" color (0.1,0.1,0.9)
108 box3 : body "bodies/obstacle3" color (0.1,0.1,0.9)
111 % box4 : body "bodies/obstacle4" color (0.1,0.1,0.9)
112 % box5 : body "bodies/obstacle5" color (0.1,0.1,0.9)
115 box4 : body "bodies/obstacle6" color (0.1,0.1,0.9)
116 box5 : body "bodies/obstacle7" color (0.1,0.1,0.9)
121 Check: link_3_3, box1
122 Check: link_3_3, box2
123 Check: link_3_3, box3
124 Check: link_3_3, box4
125 Check: link_3_3, box5
|
Follow us!