diff options
| author | 2026-11-09 17:48:23 +0000 | |
|---|---|---|
| committer | 2026-11-09 18:03:25 +0000 | |
| commit | bd1b82e7eba0695ad7bb62ca0482e756dc374ba4 (patch) | |
| tree | 8cc51952853cd21cd55b48974c94d57f955ea555 /res/robot.urdf | |
| download | summer-practice-master.tar.gz | |
Diffstat (limited to 'res/robot.urdf')
| -rw-r--r-- | res/robot.urdf | 241 |
1 files changed, 241 insertions, 0 deletions
diff --git a/res/robot.urdf b/res/robot.urdf new file mode 100644 index 0000000..57a3509 --- /dev/null +++ b/res/robot.urdf | |||
| @@ -0,0 +1,241 @@ | |||
| 1 | <?xml version="1.0"?> | ||
| 2 | <robot name="robot"> | ||
| 3 | <mujoco> | ||
| 4 | <compiler discardvisual="false"/> | ||
| 5 | </mujoco> | ||
| 6 | |||
| 7 | <material name="static"> | ||
| 8 | <color rgba="0.5 0.5 0.5 1"/> | ||
| 9 | </material> | ||
| 10 | <material name="shoulder"> | ||
| 11 | <color rgba="0.7 0.3 0.3 1"/> | ||
| 12 | </material> | ||
| 13 | <material name="rod"> | ||
| 14 | <color rgba="0.3 0.3 0.7 1"/> | ||
| 15 | </material> | ||
| 16 | <material name="carriage"> | ||
| 17 | <color rgba="0.3 0.7 0.3 1"/> | ||
| 18 | </material> | ||
| 19 | |||
| 20 | <link name="foundation"> | ||
| 21 | <visual> | ||
| 22 | <geometry> | ||
| 23 | <mesh filename="foundation.stl"/> | ||
| 24 | </geometry> | ||
| 25 | <material name="static"/> | ||
| 26 | </visual> | ||
| 27 | </link> | ||
| 28 | |||
| 29 | <link name="base-link"> | ||
| 30 | <visual> | ||
| 31 | <geometry> | ||
| 32 | <mesh filename="base-link.stl"/> | ||
| 33 | </geometry> | ||
| 34 | <material name="static"/> | ||
| 35 | </visual> | ||
| 36 | </link> | ||
| 37 | <joint name="foundation_to_base-link" type="fixed"> | ||
| 38 | <parent link="foundation"/> | ||
| 39 | <child link="base-link"/> | ||
| 40 | <origin xyz="0 0 .19"/> | ||
| 41 | </joint> | ||
| 42 | |||
| 43 | <link name="shoulder-left"> | ||
| 44 | <visual> | ||
| 45 | <geometry> | ||
| 46 | <mesh filename="shoulder-horizontal.stl"/> | ||
| 47 | </geometry> | ||
| 48 | <material name="shoulder"/> | ||
| 49 | </visual> | ||
| 50 | <inertial> | ||
| 51 | <mass value="1"/> | ||
| 52 | <inertia ixx="100" ixy="0" ixz="0" iyy="100" iyz="0" izz="100"/> | ||
| 53 | </inertial> | ||
| 54 | </link> | ||
| 55 | <joint name="base-link_to_shoulder-left" type="continuous"> | ||
| 56 | <parent link="base-link"/> | ||
| 57 | <child link="shoulder-left"/> | ||
| 58 | <origin xyz=".274 -.15 1.29" rpy="0 0.261799387799 0"/> | ||
| 59 | <axis xyz="0 0 1"/> | ||
| 60 | </joint> | ||
| 61 | |||
| 62 | <link name="shoulder-left_rod-left-lower_1"> | ||
| 63 | <inertial> | ||
| 64 | <mass value="1e-15"/> | ||
| 65 | <inertia ixx="1" ixy="0" ixz="0" iyy="1" iyz="0" izz="1"/> | ||
| 66 | </inertial> | ||
| 67 | </link> | ||
| 68 | <joint name="shoulder-left_to_shoulder-left_rod-left-lower_1" type="continuous"> | ||
| 69 | <parent link="shoulder-left" /> | ||
| 70 | <child link="shoulder-left_rod-left-lower_1" /> | ||
| 71 | <axis xyz="1 0 0" /> | ||
| 72 | <origin xyz=".549 -.02 -.04" rpy="0 0 0"/> | ||
| 73 | <dynamics damping="0.005" /> | ||
| 74 | </joint> | ||
| 75 | |||
| 76 | <link name="shoulder-left_rod-left-lower_2"> | ||
| 77 | <inertial> | ||
| 78 | <mass value="1e-15"/> | ||
| 79 | <inertia ixx="1" ixy="0" ixz="0" iyy="1" iyz="0" izz="1"/> | ||
| 80 | </inertial> | ||
| 81 | </link> | ||
| 82 | <joint name="rod-left-lower_1_to_rod-left-lower_2" type="continuous"> | ||
| 83 | <parent link="shoulder-left_rod-left-lower_1"/> | ||
| 84 | <child link="shoulder-left_rod-left-lower_2"/> | ||
| 85 | <axis xyz="0 1 0" /> | ||
| 86 | <dynamics damping="0.005" /> | ||
| 87 | </joint> | ||
| 88 | |||
| 89 | <link name="rod-left-lower"> | ||
| 90 | <visual> | ||
| 91 | <geometry> | ||
| 92 | <mesh filename="rod.stl"/> | ||
| 93 | </geometry> | ||
| 94 | <material name="rod"/> | ||
| 95 | </visual> | ||
| 96 | <inertial> | ||
| 97 | <mass value="1"/> | ||
| 98 | <inertia ixx="100" ixy="0" ixz="0" iyy="100" iyz="0" izz="100"/> | ||
| 99 | </inertial> | ||
| 100 | </link> | ||
| 101 | <joint name="shoulder-left_rod-left-lower_2_to_rod-left-lower" type="continuous" > | ||
| 102 | <parent link="shoulder-left_rod-left-lower_2"/> | ||
| 103 | <child link="rod-left-lower"/> | ||
| 104 | <axis xyz="1 0 0" /> | ||
| 105 | <dynamics damping="0.005" /> | ||
| 106 | </joint> | ||
| 107 | |||
| 108 | |||
| 109 | |||
| 110 | |||
| 111 | |||
| 112 | |||
| 113 | |||
| 114 | |||
| 115 | <link name="shoulder-left_rod-left-upper_1"> | ||
| 116 | <inertial> | ||
| 117 | <mass value="1e-15"/> | ||
| 118 | <inertia ixx="1" ixy="0" ixz="0" iyy="1" iyz="0" izz="1"/> | ||
| 119 | </inertial> | ||
| 120 | </link> | ||
| 121 | <joint name="shoulder-left_to_shoulder-left_rod-left-upper_1" type="continuous"> | ||
| 122 | <parent link="shoulder-left" /> | ||
| 123 | <child link="shoulder-left_rod-left-upper_1" /> | ||
| 124 | <axis xyz="1 0 0" /> | ||
| 125 | <origin xyz=".549 -.02 +.04" rpy="3.14159265359 0 0"/> | ||
| 126 | <dynamics damping="0.005" /> | ||
| 127 | </joint> | ||
| 128 | |||
| 129 | <link name="shoulder-left_rod-left-upper_2"> | ||
| 130 | <inertial> | ||
| 131 | <mass value="1e-15"/> | ||
| 132 | <inertia ixx="1" ixy="0" ixz="0" iyy="1" iyz="0" izz="1"/> | ||
| 133 | </inertial> | ||
| 134 | </link> | ||
| 135 | <joint name="rod-left-upper_1_to_rod-left-upper_2" type="continuous"> | ||
| 136 | <parent link="shoulder-left_rod-left-upper_1"/> | ||
| 137 | <child link="shoulder-left_rod-left-upper_2"/> | ||
| 138 | <axis xyz="0 1 0" /> | ||
| 139 | <dynamics damping="0.005" /> | ||
| 140 | </joint> | ||
| 141 | |||
| 142 | <link name="rod-left-upper"> | ||
| 143 | <visual> | ||
| 144 | <geometry> | ||
| 145 | <mesh filename="rod.stl"/> | ||
| 146 | </geometry> | ||
| 147 | <material name="rod"/> | ||
| 148 | </visual> | ||
| 149 | <inertial> | ||
| 150 | <mass value="1"/> | ||
| 151 | <inertia ixx="100" ixy="0" ixz="0" iyy="100" iyz="0" izz="100"/> | ||
| 152 | </inertial> | ||
| 153 | </link> | ||
| 154 | <joint name="shoulder-left_rod-left-upper_2_to_rod-left-upper" type="continuous" > | ||
| 155 | <parent link="shoulder-left_rod-left-upper_2"/> | ||
| 156 | <child link="rod-left-upper"/> | ||
| 157 | <axis xyz="1 0 0" /> | ||
| 158 | <dynamics damping="0.005" /> | ||
| 159 | </joint> | ||
| 160 | |||
| 161 | |||
| 162 | |||
| 163 | |||
| 164 | |||
| 165 | |||
| 166 | |||
| 167 | |||
| 168 | |||
| 169 | |||
| 170 | |||
| 171 | |||
| 172 | |||
| 173 | <link name="shoulder-right"> | ||
| 174 | <visual> | ||
| 175 | <geometry> | ||
| 176 | <mesh filename="shoulder-horizontal.stl"/> | ||
| 177 | </geometry> | ||
| 178 | <material name="shoulder"/> | ||
| 179 | </visual> | ||
| 180 | <inertial> | ||
| 181 | <mass value="1"/> | ||
| 182 | <inertia ixx="100" ixy="0" ixz="0" iyy="100" iyz="0" izz="100"/> | ||
| 183 | </inertial> | ||
| 184 | </link> | ||
| 185 | |||
| 186 | <joint name="base-link_to_shoulder-right" type="continuous"> | ||
| 187 | <parent link="base-link"/> | ||
| 188 | <child link="shoulder-right"/> | ||
| 189 | <origin xyz=".305 .15 1.41" rpy="3.14159265359 0.261799387799 0"/> | ||
| 190 | <axis xyz="0 0 1"/> | ||
| 191 | </joint> | ||
| 192 | |||
| 193 | <link name="shoulder-upper"> | ||
| 194 | <visual> | ||
| 195 | <geometry> | ||
| 196 | <mesh filename="shoulder-vertical.stl"/> | ||
| 197 | </geometry> | ||
| 198 | <material name="shoulder"/> | ||
| 199 | </visual> | ||
| 200 | <inertial> | ||
| 201 | <mass value="1"/> | ||
| 202 | <inertia ixx="100" ixy="0" ixz="0" iyy="100" iyz="0" izz="100"/> | ||
| 203 | </inertial> | ||
| 204 | </link> | ||
| 205 | <joint name="base-link_to_shoulder-upper" type="continuous"> | ||
| 206 | <parent link="base-link"/> | ||
| 207 | <child link="shoulder-upper"/> | ||
| 208 | <origin xyz=".282 -.02 1.494" rpy="-1.5707963268 0 0"/> | ||
| 209 | <axis xyz="0 0 1"/> | ||
| 210 | </joint> | ||
| 211 | |||
| 212 | |||
| 213 | |||
| 214 | |||
| 215 | |||
| 216 | <link name="carriage"> | ||
| 217 | <visual> | ||
| 218 | <geometry> | ||
| 219 | <mesh filename="carriage.stl"/> | ||
| 220 | </geometry> | ||
| 221 | <material name="carriage"/> | ||
| 222 | </visual> | ||
| 223 | <inertial> | ||
| 224 | <mass value="1"/> | ||
| 225 | <inertia ixx="100" ixy="0" ixz="0" iyy="100" iyz="0" izz="100"/> | ||
| 226 | </inertial> | ||
| 227 | </link> | ||
| 228 | <joint name="rod-left-lower_to_carriage" type="continuous"> | ||
| 229 | <parent link="rod-left-lower"/> | ||
| 230 | <child link="carriage"/> | ||
| 231 | <origin xyz=".282 -.02 1.494" rpy="-1.5707963268 0 0"/> | ||
| 232 | <axis xyz="0 0 1"/> | ||
| 233 | </joint> | ||
| 234 | <joint name="rod-left-upper_to_carriage" type="continuous"> | ||
| 235 | <parent link="rod-left-upper"/> | ||
| 236 | <child link="carriage"/> | ||
| 237 | <origin xyz=".282 -.02 1.494" rpy="-1.5707963268 0 0"/> | ||
| 238 | <axis xyz="0 0 1"/> | ||
| 239 | </joint> | ||
| 240 | |||
| 241 | </robot> | ||
