Institut de Robòtica i Informàtica Industrial
KRD Group

The CuikSuite Project

Wheelie6mobile.world

Go to the documentation of this file.
00001 
00002 [CONSTANTS]
00003 
00004 % length of the bar connecting two consecutive triangles
00005 l_in:=8
00006 l_out:=5.596459
00007 
00008 % length of the bar connecting  odd triangles spared by one triangle
00009 l_nc:=13.189931
00010 
00011 % radius of the cylinders representing the bars
00012 rc:=0.05
00013 % radius of the spheres used to decor the extremes of the bars
00014 rs:=0.1
00015 
00016 [LINKS]
00017 
00018 % Six triangles
00019 t1: body "bodies/triangle.off" yellow
00020 
00021 t2: body "bodies/triangle.off" yellow
00022 
00023 t3: body "bodies/triangle.off" yellow
00024 
00025 t4: body "bodies/triangle.off" yellow
00026 
00027 t5: body "bodies/triangle.off" yellow
00028 
00029 t6: body "bodies/triangle.off" yellow
00030 
00031 % Two bars between adjacent triangles
00032 b_1_2_out: cylinder rc (0,0,0) (l_out,0,0) black 
00033            sphere rs (0,    0,0) red
00034            sphere rs (l_out,0,0) red
00035 
00036 b_1_2_in: cylinder rc (0,0,0) (l_in,0,0) black 
00037           sphere rs (0,   0,0) red
00038           sphere rs (l_in,0,0) red
00039 
00040 b_2_3_out: cylinder rc (0,0,0) (l_out,0,0) black 
00041            sphere rs (0,    0,0) red
00042            sphere rs (l_out,0,0) red
00043 
00044 b_2_3_in: cylinder rc (0,0,0) (l_in,0,0) black 
00045           sphere rs (0,   0,0) red
00046           sphere rs (l_in,0,0) red
00047 
00048 b_3_4_out: cylinder rc (0,0,0) (l_out,0,0) black 
00049            sphere rs (0,    0,0) red
00050            sphere rs (l_out,0,0) red
00051 
00052 b_3_4_in: cylinder rc (0,0,0) (l_in,0,0) black 
00053           sphere rs (0,   0,0) red
00054           sphere rs (l_in,0,0) red
00055 
00056 b_4_5_out: cylinder rc (0,0,0) (l_out,0,0) black 
00057            sphere rs (0,    0,0) red
00058            sphere rs (l_out,0,0) red
00059 
00060 b_4_5_in: cylinder rc (0,0,0) (l_in,0,0) black 
00061           sphere rs (0,   0,0) red
00062           sphere rs (l_in,0,0) red
00063 
00064 b_5_6_out: cylinder rc (0,0,0) (l_out,0,0) black 
00065            sphere rs (0,    0,0) red
00066            sphere rs (l_out,0,0) red
00067 
00068 b_5_6_in: cylinder rc (0,0,0) (l_in,0,0) black 
00069           sphere rs (0,   0,0) red
00070           sphere rs (l_in,0,0) red
00071 
00072 b_6_1_out: cylinder rc (0,0,0) (l_out,0,0) black 
00073            sphere rs (0,    0,0) red
00074            sphere rs (l_out,0,0) red
00075 
00076 b_6_1_in: cylinder rc (0,0,0) (l_in,0,0) black 
00077           sphere rs (0,   0,0) red
00078           sphere rs (l_in,0,0) red
00079 
00080 % These bars do not include spheres since they would overlap with
00081 % the spheres of other bars.
00082 b_1_3: cylinder rc (0,0,0) (l_nc,0,0) black 
00083 b_3_5: cylinder rc (0,0,0) (l_nc,0,0) black
00084 
00085 [JOINTS]
00086 
00087 % Two bars between adjacent triangles
00088 revolute: t1 1+(0,1,0)
00089           b_1_2_out 0+(0,1,0)
00090 revolute: b_1_2_out 1+(0,1,0)
00091           t2 0+(0,1,0)
00092 
00093 revolute: t1 2+(0,1,0)
00094           b_1_2_in 0+(0,1,0)
00095 revolute: b_1_2_in 1+(0,1,0)
00096           t2 2+(0,1,0)
00097 
00098 revolute: t2 1+(0,1,0)
00099           b_2_3_out 0+(0,1,0)
00100 revolute: b_2_3_out 1+(0,1,0)
00101           t3 0+(0,1,0)
00102 
00103 revolute: t2 2+(0,1,0)
00104           b_2_3_in 0+(0,1,0)
00105 revolute: b_2_3_in 1+(0,1,0)
00106           t3 2+(0,1,0)
00107 
00108 revolute: t3 1+(0,1,0)
00109           b_3_4_out 0+(0,1,0)
00110 revolute: b_3_4_out 1+(0,1,0)
00111           t4 0+(0,1,0)
00112 
00113 revolute: t3 2+(0,1,0)
00114           b_3_4_in 0+(0,1,0)
00115 revolute: b_3_4_in 1+(0,1,0)
00116           t4 2+(0,1,0)
00117 
00118 revolute: t4 1+(0,1,0)
00119           b_4_5_out 0+(0,1,0)
00120 revolute: b_4_5_out 1+(0,1,0)
00121           t5 0+(0,1,0)
00122 
00123 revolute: t4 2+(0,1,0)
00124           b_4_5_in 0+(0,1,0)
00125 revolute: b_4_5_in 1+(0,1,0)
00126           t5 2+(0,1,0)
00127 
00128 revolute: t5 1+(0,1,0)
00129           b_5_6_out 0+(0,1,0)
00130 revolute: b_5_6_out 1+(0,1,0)
00131           t6 0+(0,1,0)
00132 
00133 revolute: t5 2+(0,1,0)
00134           b_5_6_in 0+(0,1,0)
00135 revolute: b_5_6_in 1+(0,1,0)
00136           t6 2+(0,1,0)
00137 
00138 revolute: t6 1+(0,1,0)
00139           b_6_1_out 0+(0,1,0)
00140 revolute: b_6_1_out 1+(0,1,0)
00141           t1 0+(0,1,0)
00142 
00143 revolute: t6 2+(0,1,0)
00144           b_6_1_in 0+(0,1,0)
00145 revolute: b_6_1_in 1+(0,1,0)
00146           t1 2+(0,1,0)
00147 
00148 % The bars between non-adjacent triangles
00149 revolute: t1 1+(0,1,0)
00150           b_1_3 0+(0,1,0)
00151 revolute: b_1_3 1+(0,1,0)
00152           t3 0+(0,1,0)
00153 
00154 revolute: t3 1+(0,1,0)
00155           b_3_5 0+(0,1,0)
00156 revolute: b_3_5 1+(0,1,0)
00157           t5 0+(0,1,0)
00158 
00159