diff options
| author | 2026-11-09 17:48:23 +0000 | |
|---|---|---|
| committer | 2026-11-09 18:03:25 +0000 | |
| commit | bd1b82e7eba0695ad7bb62ca0482e756dc374ba4 (patch) | |
| tree | 8cc51952853cd21cd55b48974c94d57f955ea555 /res/mimic.sdf | |
| download | summer-practice-master.tar.gz | |
Diffstat (limited to 'res/mimic.sdf')
| -rw-r--r-- | res/mimic.sdf | 655 |
1 files changed, 655 insertions, 0 deletions
diff --git a/res/mimic.sdf b/res/mimic.sdf new file mode 100644 index 0000000..7bcbdfa --- /dev/null +++ b/res/mimic.sdf | |||
| @@ -0,0 +1,655 @@ | |||
| 1 | <?xml version="1.0" ?> | ||
| 2 | <!-- | ||
| 3 | Gazebo Mimic constraint demo | ||
| 4 | |||
| 5 | --> | ||
| 6 | <sdf version="1.6"> | ||
| 7 | <world name="default"> | ||
| 8 | <physics name="1ms" type="ode"> | ||
| 9 | <max_step_size>0.001</max_step_size> | ||
| 10 | <real_time_factor>0</real_time_factor> | ||
| 11 | </physics> | ||
| 12 | |||
| 13 | <light type="directional" name="sun"> | ||
| 14 | <cast_shadows>true</cast_shadows> | ||
| 15 | <pose>0 0 10 0 0 0</pose> | ||
| 16 | <diffuse>0.8 0.8 0.8 1</diffuse> | ||
| 17 | <specular>0.2 0.2 0.2 1</specular> | ||
| 18 | <attenuation> | ||
| 19 | <range>1000</range> | ||
| 20 | <constant>0.9</constant> | ||
| 21 | <linear>0.01</linear> | ||
| 22 | <quadratic>0.001</quadratic> | ||
| 23 | </attenuation> | ||
| 24 | <direction>-0.5 0.1 -0.9</direction> | ||
| 25 | </light> | ||
| 26 | |||
| 27 | <model name="ground_plane"> | ||
| 28 | <static>true</static> | ||
| 29 | <link name="link"> | ||
| 30 | <collision name="collision"> | ||
| 31 | <geometry> | ||
| 32 | <plane> | ||
| 33 | <normal>0 0 1</normal> | ||
| 34 | <size>100 100</size> | ||
| 35 | </plane> | ||
| 36 | </geometry> | ||
| 37 | </collision> | ||
| 38 | <visual name="visual"> | ||
| 39 | <geometry> | ||
| 40 | <plane> | ||
| 41 | <normal>0 0 1</normal> | ||
| 42 | <size>100 100</size> | ||
| 43 | </plane> | ||
| 44 | </geometry> | ||
| 45 | <material> | ||
| 46 | <ambient>0.8 0.8 0.8 1</ambient> | ||
| 47 | <diffuse>0.8 0.8 0.8 1</diffuse> | ||
| 48 | <specular>0.8 0.8 0.8 1</specular> | ||
| 49 | </material> | ||
| 50 | </visual> | ||
| 51 | </link> | ||
| 52 | </model> | ||
| 53 | |||
| 54 | <model name="pendulum_with_base"> | ||
| 55 | <pose>0 0 0 0 0 0</pose> | ||
| 56 | <link name="base"> | ||
| 57 | <inertial> | ||
| 58 | <mass>100</mass> | ||
| 59 | </inertial> | ||
| 60 | <visual name="vis_plate_on_ground"> | ||
| 61 | <pose>0 0 0.01 0 0 0</pose> | ||
| 62 | <geometry> | ||
| 63 | <cylinder> | ||
| 64 | <radius>0.8</radius> | ||
| 65 | <length>0.02</length> | ||
| 66 | </cylinder> | ||
| 67 | </geometry> | ||
| 68 | <material> | ||
| 69 | <ambient>0.8 0.8 0.8 1</ambient> | ||
| 70 | <diffuse>0.8 0.8 0.8 1</diffuse> | ||
| 71 | <specular>0.8 0.8 0.8 1</specular> | ||
| 72 | </material> | ||
| 73 | </visual> | ||
| 74 | <visual name="vis_pole"> | ||
| 75 | <pose>-0.275 0 1.1 0 0 0</pose> | ||
| 76 | <geometry> | ||
| 77 | <box> | ||
| 78 | <size>0.2 0.2 2.2</size> | ||
| 79 | </box> | ||
| 80 | </geometry> | ||
| 81 | <material> | ||
| 82 | <ambient>0.8 0.8 0.8 1</ambient> | ||
| 83 | <diffuse>0.8 0.8 0.8 1</diffuse> | ||
| 84 | <specular>0.8 0.8 0.8 1</specular> | ||
| 85 | </material> | ||
| 86 | </visual> | ||
| 87 | <collision name="col_plate_on_ground"> | ||
| 88 | <pose>0 0 0.01 0 0 0</pose> | ||
| 89 | <geometry> | ||
| 90 | <cylinder> | ||
| 91 | <radius>0.8</radius> | ||
| 92 | <length>0.02</length> | ||
| 93 | </cylinder> | ||
| 94 | </geometry> | ||
| 95 | </collision> | ||
| 96 | <collision name="col_pole"> | ||
| 97 | <pose>-0.275 0 1.1 0 0 0</pose> | ||
| 98 | <geometry> | ||
| 99 | <box> | ||
| 100 | <size>0.2 0.2 2.2</size> | ||
| 101 | </box> | ||
| 102 | </geometry> | ||
| 103 | </collision> | ||
| 104 | </link> | ||
| 105 | |||
| 106 | <!-- upper link 1, length 1, IC -90 degrees --> | ||
| 107 | <link name="upper_link_1"> | ||
| 108 | <pose>0 0 2.1 -1.5708 0 0</pose> | ||
| 109 | <self_collide>0</self_collide> | ||
| 110 | <inertial> | ||
| 111 | <mass>1.0</mass> | ||
| 112 | <pose>0 0 0.5 0 0 0</pose> | ||
| 113 | <inertia> | ||
| 114 | <ixx>0.087</ixx> | ||
| 115 | <ixy>0</ixy> | ||
| 116 | <ixz>0</ixz> | ||
| 117 | <iyy>0.087</iyy> | ||
| 118 | <iyz>0</iyz> | ||
| 119 | <izz>0.006</izz> | ||
| 120 | </inertia> | ||
| 121 | </inertial> | ||
| 122 | <visual name="vis_upper_joint"> | ||
| 123 | <pose>-0.05 0 0 0 1.5708 0</pose> | ||
| 124 | <geometry> | ||
| 125 | <cylinder> | ||
| 126 | <radius>0.1</radius> | ||
| 127 | <length>0.3</length> | ||
| 128 | </cylinder> | ||
| 129 | </geometry> | ||
| 130 | <material> | ||
| 131 | <ambient>0.8 0.8 0.8 1</ambient> | ||
| 132 | <diffuse>0.8 0.8 0.8 1</diffuse> | ||
| 133 | <specular>0.8 0.8 0.8 1</specular> | ||
| 134 | </material> | ||
| 135 | </visual> | ||
| 136 | <visual name="vis_cylinder"> | ||
| 137 | <pose>0 0 0.5 0 0 0</pose> | ||
| 138 | <geometry> | ||
| 139 | <cylinder> | ||
| 140 | <radius>0.1</radius> | ||
| 141 | <length>1.0</length> | ||
| 142 | </cylinder> | ||
| 143 | </geometry> | ||
| 144 | <material> | ||
| 145 | <ambient>0.8 0.8 0.8 1</ambient> | ||
| 146 | <diffuse>0.8 0.8 0.8 1</diffuse> | ||
| 147 | <specular>0.8 0.8 0.8 1</specular> | ||
| 148 | </material> | ||
| 149 | </visual> | ||
| 150 | <collision name="col_upper_joint"> | ||
| 151 | <pose>-0.05 0 0 0 1.5708 0</pose> | ||
| 152 | <geometry> | ||
| 153 | <cylinder> | ||
| 154 | <radius>0.1</radius> | ||
| 155 | <length>0.3</length> | ||
| 156 | </cylinder> | ||
| 157 | </geometry> | ||
| 158 | </collision> | ||
| 159 | <collision name="col_cylinder"> | ||
| 160 | <pose>0 0 0.5 0 0 0</pose> | ||
| 161 | <geometry> | ||
| 162 | <cylinder> | ||
| 163 | <radius>0.1</radius> | ||
| 164 | <length>1.0</length> | ||
| 165 | </cylinder> | ||
| 166 | </geometry> | ||
| 167 | </collision> | ||
| 168 | </link> | ||
| 169 | |||
| 170 | <!-- upper link 2, length 0.5, IC -90 degrees --> | ||
| 171 | <link name="upper_link_2"> | ||
| 172 | <pose>-0.5 0 2.1 -1.5708 0 0</pose> | ||
| 173 | <self_collide>0</self_collide> | ||
| 174 | <inertial> | ||
| 175 | <mass>1.0</mass> | ||
| 176 | <pose>0 0 0.25 0 0 0</pose> | ||
| 177 | <inertia> | ||
| 178 | <ixx>0.024</ixx> | ||
| 179 | <ixy>0</ixy> | ||
| 180 | <ixz>0</ixz> | ||
| 181 | <iyy>0.024</iyy> | ||
| 182 | <iyz>0</iyz> | ||
| 183 | <izz>0.006</izz> | ||
| 184 | </inertia> | ||
| 185 | </inertial> | ||
| 186 | <visual name="vis_upper_joint_2"> | ||
| 187 | <pose>0.05 0 0 0 1.5708 0</pose> | ||
| 188 | <geometry> | ||
| 189 | <cylinder> | ||
| 190 | <radius>0.1</radius> | ||
| 191 | <length>0.3</length> | ||
| 192 | </cylinder> | ||
| 193 | </geometry> | ||
| 194 | <material> | ||
| 195 | <ambient>0.8 0.8 0.8 1</ambient> | ||
| 196 | <diffuse>0.8 0.8 0.8 1</diffuse> | ||
| 197 | <specular>0.8 0.8 0.8 1</specular> | ||
| 198 | </material> | ||
| 199 | </visual> | ||
| 200 | <visual name="vis_cylinder_2"> | ||
| 201 | <pose>0 0 0.25 0 0 0</pose> | ||
| 202 | <geometry> | ||
| 203 | <cylinder> | ||
| 204 | <radius>0.1</radius> | ||
| 205 | <length>0.5</length> | ||
| 206 | </cylinder> | ||
| 207 | </geometry> | ||
| 208 | <material> | ||
| 209 | <ambient>0.8 0.8 0.8 1</ambient> | ||
| 210 | <diffuse>0.8 0.8 0.8 1</diffuse> | ||
| 211 | <specular>0.8 0.8 0.8 1</specular> | ||
| 212 | </material> | ||
| 213 | </visual> | ||
| 214 | <collision name="col_upper_joint_2"> | ||
| 215 | <pose>0.05 0 0 0 1.5708 0</pose> | ||
| 216 | <geometry> | ||
| 217 | <cylinder> | ||
| 218 | <radius>0.1</radius> | ||
| 219 | <length>0.3</length> | ||
| 220 | </cylinder> | ||
| 221 | </geometry> | ||
| 222 | </collision> | ||
| 223 | <collision name="col_cylinder_2"> | ||
| 224 | <pose>0 0 0.2 0 0 0</pose> | ||
| 225 | <geometry> | ||
| 226 | <cylinder> | ||
| 227 | <radius>0.1</radius> | ||
| 228 | <length>0.5</length> | ||
| 229 | </cylinder> | ||
| 230 | </geometry> | ||
| 231 | </collision> | ||
| 232 | </link> | ||
| 233 | |||
| 234 | <joint name="upper_joint_1" type="revolute"> | ||
| 235 | <parent>base</parent> | ||
| 236 | <child>upper_link_1</child> | ||
| 237 | <axis> | ||
| 238 | <xyz>1.0 0 0</xyz> | ||
| 239 | </axis> | ||
| 240 | </joint> | ||
| 241 | |||
| 242 | <joint name="upper_joint_2" type="revolute"> | ||
| 243 | <parent>base</parent> | ||
| 244 | <child>upper_link_2</child> | ||
| 245 | <axis> | ||
| 246 | <xyz>1.0 0 0</xyz> | ||
| 247 | </axis> | ||
| 248 | </joint> | ||
| 249 | |||
| 250 | </model> | ||
| 251 | |||
| 252 | <model name="pendulum_with_base_mimic_big_follows_small"> | ||
| 253 | <pose>0 3 0 0 0 0</pose> | ||
| 254 | <link name="base"> | ||
| 255 | <inertial> | ||
| 256 | <mass>100</mass> | ||
| 257 | </inertial> | ||
| 258 | <visual name="vis_plate_on_ground"> | ||
| 259 | <pose>0 0 0.01 0 0 0</pose> | ||
| 260 | <geometry> | ||
| 261 | <cylinder> | ||
| 262 | <radius>0.8</radius> | ||
| 263 | <length>0.02</length> | ||
| 264 | </cylinder> | ||
| 265 | </geometry> | ||
| 266 | <material> | ||
| 267 | <ambient>0.8 0.8 0.8 1</ambient> | ||
| 268 | <diffuse>0.8 0.8 0.8 1</diffuse> | ||
| 269 | <specular>0.8 0.8 0.8 1</specular> | ||
| 270 | </material> | ||
| 271 | </visual> | ||
| 272 | <visual name="vis_pole"> | ||
| 273 | <pose>-0.275 0 1.1 0 0 0</pose> | ||
| 274 | <geometry> | ||
| 275 | <box> | ||
| 276 | <size>0.2 0.2 2.2</size> | ||
| 277 | </box> | ||
| 278 | </geometry> | ||
| 279 | <material> | ||
| 280 | <ambient>0.8 0.8 0.8 1</ambient> | ||
| 281 | <diffuse>0.8 0.8 0.8 1</diffuse> | ||
| 282 | <specular>0.8 0.8 0.8 1</specular> | ||
| 283 | </material> | ||
| 284 | </visual> | ||
| 285 | <collision name="col_plate_on_ground"> | ||
| 286 | <pose>0 0 0.01 0 0 0</pose> | ||
| 287 | <geometry> | ||
| 288 | <cylinder> | ||
| 289 | <radius>0.8</radius> | ||
| 290 | <length>0.02</length> | ||
| 291 | </cylinder> | ||
| 292 | </geometry> | ||
| 293 | </collision> | ||
| 294 | <collision name="col_pole"> | ||
| 295 | <pose>-0.275 0 1.1 0 0 0</pose> | ||
| 296 | <geometry> | ||
| 297 | <box> | ||
| 298 | <size>0.2 0.2 2.2</size> | ||
| 299 | </box> | ||
| 300 | </geometry> | ||
| 301 | </collision> | ||
| 302 | </link> | ||
| 303 | |||
| 304 | <!-- upper link 1, length 1, IC -90 degrees --> | ||
| 305 | <link name="upper_link_1"> | ||
| 306 | <pose>0 0 2.1 -1.5708 0 0</pose> | ||
| 307 | <self_collide>0</self_collide> | ||
| 308 | <inertial> | ||
| 309 | <mass>1.0</mass> | ||
| 310 | <pose>0 0 0.5 0 0 0</pose> | ||
| 311 | <inertia> | ||
| 312 | <ixx>0.087</ixx> | ||
| 313 | <ixy>0</ixy> | ||
| 314 | <ixz>0</ixz> | ||
| 315 | <iyy>0.087</iyy> | ||
| 316 | <iyz>0</iyz> | ||
| 317 | <izz>0.006</izz> | ||
| 318 | </inertia> | ||
| 319 | </inertial> | ||
| 320 | <visual name="vis_upper_joint"> | ||
| 321 | <pose>-0.05 0 0 0 1.5708 0</pose> | ||
| 322 | <geometry> | ||
| 323 | <cylinder> | ||
| 324 | <radius>0.1</radius> | ||
| 325 | <length>0.3</length> | ||
| 326 | </cylinder> | ||
| 327 | </geometry> | ||
| 328 | <material> | ||
| 329 | <ambient>0.8 0.8 0.8 1</ambient> | ||
| 330 | <diffuse>0.8 0.8 0.8 1</diffuse> | ||
| 331 | <specular>0.8 0.8 0.8 1</specular> | ||
| 332 | </material> | ||
| 333 | </visual> | ||
| 334 | <visual name="vis_cylinder"> | ||
| 335 | <pose>0 0 0.5 0 0 0</pose> | ||
| 336 | <geometry> | ||
| 337 | <cylinder> | ||
| 338 | <radius>0.1</radius> | ||
| 339 | <length>1.0</length> | ||
| 340 | </cylinder> | ||
| 341 | </geometry> | ||
| 342 | <material> | ||
| 343 | <ambient>0.8 0.8 0.8 1</ambient> | ||
| 344 | <diffuse>0.8 0.8 0.8 1</diffuse> | ||
| 345 | <specular>0.8 0.8 0.8 1</specular> | ||
| 346 | </material> | ||
| 347 | </visual> | ||
| 348 | <collision name="col_upper_joint"> | ||
| 349 | <pose>-0.05 0 0 0 1.5708 0</pose> | ||
| 350 | <geometry> | ||
| 351 | <cylinder> | ||
| 352 | <radius>0.1</radius> | ||
| 353 | <length>0.3</length> | ||
| 354 | </cylinder> | ||
| 355 | </geometry> | ||
| 356 | </collision> | ||
| 357 | <collision name="col_cylinder"> | ||
| 358 | <pose>0 0 0.5 0 0 0</pose> | ||
| 359 | <geometry> | ||
| 360 | <cylinder> | ||
| 361 | <radius>0.1</radius> | ||
| 362 | <length>1.0</length> | ||
| 363 | </cylinder> | ||
| 364 | </geometry> | ||
| 365 | </collision> | ||
| 366 | </link> | ||
| 367 | |||
| 368 | <!-- upper link 2, length 0.5, IC -90 degrees --> | ||
| 369 | <link name="upper_link_2"> | ||
| 370 | <pose>-0.5 0 2.1 -1.5708 0 0</pose> | ||
| 371 | <self_collide>0</self_collide> | ||
| 372 | <inertial> | ||
| 373 | <mass>1.0</mass> | ||
| 374 | <pose>0 0 0.25 0 0 0</pose> | ||
| 375 | <inertia> | ||
| 376 | <ixx>0.024</ixx> | ||
| 377 | <ixy>0</ixy> | ||
| 378 | <ixz>0</ixz> | ||
| 379 | <iyy>0.024</iyy> | ||
| 380 | <iyz>0</iyz> | ||
| 381 | <izz>0.006</izz> | ||
| 382 | </inertia> | ||
| 383 | </inertial> | ||
| 384 | <visual name="vis_upper_joint_2"> | ||
| 385 | <pose>0.05 0 0 0 1.5708 0</pose> | ||
| 386 | <geometry> | ||
| 387 | <cylinder> | ||
| 388 | <radius>0.1</radius> | ||
| 389 | <length>0.3</length> | ||
| 390 | </cylinder> | ||
| 391 | </geometry> | ||
| 392 | <material> | ||
| 393 | <ambient>0.8 0.8 0.8 1</ambient> | ||
| 394 | <diffuse>0.8 0.8 0.8 1</diffuse> | ||
| 395 | <specular>0.8 0.8 0.8 1</specular> | ||
| 396 | </material> | ||
| 397 | </visual> | ||
| 398 | <visual name="vis_cylinder_2"> | ||
| 399 | <pose>0 0 0.25 0 0 0</pose> | ||
| 400 | <geometry> | ||
| 401 | <cylinder> | ||
| 402 | <radius>0.1</radius> | ||
| 403 | <length>0.5</length> | ||
| 404 | </cylinder> | ||
| 405 | </geometry> | ||
| 406 | <material> | ||
| 407 | <ambient>0.8 0.8 0.8 1</ambient> | ||
| 408 | <diffuse>0.8 0.8 0.8 1</diffuse> | ||
| 409 | <specular>0.8 0.8 0.8 1</specular> | ||
| 410 | </material> | ||
| 411 | </visual> | ||
| 412 | <collision name="col_upper_joint_2"> | ||
| 413 | <pose>0.05 0 0 0 1.5708 0</pose> | ||
| 414 | <geometry> | ||
| 415 | <cylinder> | ||
| 416 | <radius>0.1</radius> | ||
| 417 | <length>0.3</length> | ||
| 418 | </cylinder> | ||
| 419 | </geometry> | ||
| 420 | </collision> | ||
| 421 | <collision name="col_cylinder_2"> | ||
| 422 | <pose>0 0 0.2 0 0 0</pose> | ||
| 423 | <geometry> | ||
| 424 | <cylinder> | ||
| 425 | <radius>0.1</radius> | ||
| 426 | <length>0.5</length> | ||
| 427 | </cylinder> | ||
| 428 | </geometry> | ||
| 429 | </collision> | ||
| 430 | </link> | ||
| 431 | |||
| 432 | <joint name="upper_joint_1" type="revolute"> | ||
| 433 | <parent>base</parent> | ||
| 434 | <child>upper_link_1</child> | ||
| 435 | <axis> | ||
| 436 | <xyz>1.0 0 0</xyz> | ||
| 437 | <mimic joint="upper_joint_2" axis="axis"> | ||
| 438 | <multiplier>1</multiplier> | ||
| 439 | </mimic> | ||
| 440 | </axis> | ||
| 441 | </joint> | ||
| 442 | |||
| 443 | <joint name="upper_joint_2" type="revolute"> | ||
| 444 | <parent>base</parent> | ||
| 445 | <child>upper_link_2</child> | ||
| 446 | <axis> | ||
| 447 | <xyz>1.0 0 0</xyz> | ||
| 448 | </axis> | ||
| 449 | </joint> | ||
| 450 | |||
| 451 | </model> | ||
| 452 | |||
| 453 | <model name="pendulum_with_base_mimic_small_follows_big"> | ||
| 454 | <pose>0 -3 0 0 0 0</pose> | ||
| 455 | <link name="base"> | ||
| 456 | <inertial> | ||
| 457 | <mass>100</mass> | ||
| 458 | </inertial> | ||
| 459 | <visual name="vis_plate_on_ground"> | ||
| 460 | <pose>0 0 0.01 0 0 0</pose> | ||
| 461 | <geometry> | ||
| 462 | <cylinder> | ||
| 463 | <radius>0.8</radius> | ||
| 464 | <length>0.02</length> | ||
| 465 | </cylinder> | ||
| 466 | </geometry> | ||
| 467 | <material> | ||
| 468 | <ambient>0.8 0.8 0.8 1</ambient> | ||
| 469 | <diffuse>0.8 0.8 0.8 1</diffuse> | ||
| 470 | <specular>0.8 0.8 0.8 1</specular> | ||
| 471 | </material> | ||
| 472 | </visual> | ||
| 473 | <visual name="vis_pole"> | ||
| 474 | <pose>-0.275 0 1.1 0 0 0</pose> | ||
| 475 | <geometry> | ||
| 476 | <box> | ||
| 477 | <size>0.2 0.2 2.2</size> | ||
| 478 | </box> | ||
| 479 | </geometry> | ||
| 480 | <material> | ||
| 481 | <ambient>0.8 0.8 0.8 1</ambient> | ||
| 482 | <diffuse>0.8 0.8 0.8 1</diffuse> | ||
| 483 | <specular>0.8 0.8 0.8 1</specular> | ||
| 484 | </material> | ||
| 485 | </visual> | ||
| 486 | <collision name="col_plate_on_ground"> | ||
| 487 | <pose>0 0 0.01 0 0 0</pose> | ||
| 488 | <geometry> | ||
| 489 | <cylinder> | ||
| 490 | <radius>0.8</radius> | ||
| 491 | <length>0.02</length> | ||
| 492 | </cylinder> | ||
| 493 | </geometry> | ||
| 494 | </collision> | ||
| 495 | <collision name="col_pole"> | ||
| 496 | <pose>-0.275 0 1.1 0 0 0</pose> | ||
| 497 | <geometry> | ||
| 498 | <box> | ||
| 499 | <size>0.2 0.2 2.2</size> | ||
| 500 | </box> | ||
| 501 | </geometry> | ||
| 502 | </collision> | ||
| 503 | </link> | ||
| 504 | |||
| 505 | <!-- upper link 1, length 1, IC -90 degrees --> | ||
| 506 | <link name="upper_link_1"> | ||
| 507 | <pose>0 0 2.1 -1.5708 0 0</pose> | ||
| 508 | <self_collide>0</self_collide> | ||
| 509 | <inertial> | ||
| 510 | <mass>1.0</mass> | ||
| 511 | <pose>0 0 0.5 0 0 0</pose> | ||
| 512 | <inertia> | ||
| 513 | <ixx>0.087</ixx> | ||
| 514 | <ixy>0</ixy> | ||
| 515 | <ixz>0</ixz> | ||
| 516 | <iyy>0.087</iyy> | ||
| 517 | <iyz>0</iyz> | ||
| 518 | <izz>0.006</izz> | ||
| 519 | </inertia> | ||
| 520 | </inertial> | ||
| 521 | <visual name="vis_upper_joint"> | ||
| 522 | <pose>-0.05 0 0 0 1.5708 0</pose> | ||
| 523 | <geometry> | ||
| 524 | <cylinder> | ||
| 525 | <radius>0.1</radius> | ||
| 526 | <length>0.3</length> | ||
| 527 | </cylinder> | ||
| 528 | </geometry> | ||
| 529 | <material> | ||
| 530 | <ambient>0.8 0.8 0.8 1</ambient> | ||
| 531 | <diffuse>0.8 0.8 0.8 1</diffuse> | ||
| 532 | <specular>0.8 0.8 0.8 1</specular> | ||
| 533 | </material> | ||
| 534 | </visual> | ||
| 535 | <visual name="vis_cylinder"> | ||
| 536 | <pose>0 0 0.5 0 0 0</pose> | ||
| 537 | <geometry> | ||
| 538 | <cylinder> | ||
| 539 | <radius>0.1</radius> | ||
| 540 | <length>1.0</length> | ||
| 541 | </cylinder> | ||
| 542 | </geometry> | ||
| 543 | <material> | ||
| 544 | <ambient>0.8 0.8 0.8 1</ambient> | ||
| 545 | <diffuse>0.8 0.8 0.8 1</diffuse> | ||
| 546 | <specular>0.8 0.8 0.8 1</specular> | ||
| 547 | </material> | ||
| 548 | </visual> | ||
| 549 | <collision name="col_upper_joint"> | ||
| 550 | <pose>-0.05 0 0 0 1.5708 0</pose> | ||
| 551 | <geometry> | ||
| 552 | <cylinder> | ||
| 553 | <radius>0.1</radius> | ||
| 554 | <length>0.3</length> | ||
| 555 | </cylinder> | ||
| 556 | </geometry> | ||
| 557 | </collision> | ||
| 558 | <collision name="col_cylinder"> | ||
| 559 | <pose>0 0 0.5 0 0 0</pose> | ||
| 560 | <geometry> | ||
| 561 | <cylinder> | ||
| 562 | <radius>0.1</radius> | ||
| 563 | <length>1.0</length> | ||
| 564 | </cylinder> | ||
| 565 | </geometry> | ||
| 566 | </collision> | ||
| 567 | </link> | ||
| 568 | |||
| 569 | <!-- upper link 2, length 0.5, IC -90 degrees --> | ||
| 570 | <link name="upper_link_2"> | ||
| 571 | <pose>-0.5 0 2.1 -1.5708 0 0</pose> | ||
| 572 | <self_collide>0</self_collide> | ||
| 573 | <inertial> | ||
| 574 | <mass>1.0</mass> | ||
| 575 | <pose>0 0 0.25 0 0 0</pose> | ||
| 576 | <inertia> | ||
| 577 | <ixx>0.024</ixx> | ||
| 578 | <ixy>0</ixy> | ||
| 579 | <ixz>0</ixz> | ||
| 580 | <iyy>0.024</iyy> | ||
| 581 | <iyz>0</iyz> | ||
| 582 | <izz>0.006</izz> | ||
| 583 | </inertia> | ||
| 584 | </inertial> | ||
| 585 | <visual name="vis_upper_joint_2"> | ||
| 586 | <pose>0.05 0 0 0 1.5708 0</pose> | ||
| 587 | <geometry> | ||
| 588 | <cylinder> | ||
| 589 | <radius>0.1</radius> | ||
| 590 | <length>0.3</length> | ||
| 591 | </cylinder> | ||
| 592 | </geometry> | ||
| 593 | <material> | ||
| 594 | <ambient>0.8 0.8 0.8 1</ambient> | ||
| 595 | <diffuse>0.8 0.8 0.8 1</diffuse> | ||
| 596 | <specular>0.8 0.8 0.8 1</specular> | ||
| 597 | </material> | ||
| 598 | </visual> | ||
| 599 | <visual name="vis_cylinder_2"> | ||
| 600 | <pose>0 0 0.25 0 0 0</pose> | ||
| 601 | <geometry> | ||
| 602 | <cylinder> | ||
| 603 | <radius>0.1</radius> | ||
| 604 | <length>0.5</length> | ||
| 605 | </cylinder> | ||
| 606 | </geometry> | ||
| 607 | <material> | ||
| 608 | <ambient>0.8 0.8 0.8 1</ambient> | ||
| 609 | <diffuse>0.8 0.8 0.8 1</diffuse> | ||
| 610 | <specular>0.8 0.8 0.8 1</specular> | ||
| 611 | </material> | ||
| 612 | </visual> | ||
| 613 | <collision name="col_upper_joint_2"> | ||
| 614 | <pose>0.05 0 0 0 1.5708 0</pose> | ||
| 615 | <geometry> | ||
| 616 | <cylinder> | ||
| 617 | <radius>0.1</radius> | ||
| 618 | <length>0.3</length> | ||
| 619 | </cylinder> | ||
| 620 | </geometry> | ||
| 621 | </collision> | ||
| 622 | <collision name="col_cylinder_2"> | ||
| 623 | <pose>0 0 0.2 0 0 0</pose> | ||
| 624 | <geometry> | ||
| 625 | <cylinder> | ||
| 626 | <radius>0.1</radius> | ||
| 627 | <length>0.5</length> | ||
| 628 | </cylinder> | ||
| 629 | </geometry> | ||
| 630 | </collision> | ||
| 631 | </link> | ||
| 632 | |||
| 633 | <joint name="upper_joint_1" type="revolute"> | ||
| 634 | <parent>base</parent> | ||
| 635 | <child>upper_link_1</child> | ||
| 636 | <axis> | ||
| 637 | <xyz>1.0 0 0</xyz> | ||
| 638 | </axis> | ||
| 639 | </joint> | ||
| 640 | |||
| 641 | <joint name="upper_joint_2" type="revolute"> | ||
| 642 | <parent>base</parent> | ||
| 643 | <child>upper_link_2</child> | ||
| 644 | <axis> | ||
| 645 | <xyz>1.0 0 0</xyz> | ||
| 646 | <mimic joint="upper_joint_1" axis="axis"> | ||
| 647 | <multiplier>1</multiplier> | ||
| 648 | </mimic> | ||
| 649 | </axis> | ||
| 650 | </joint> | ||
| 651 | |||
| 652 | </model> | ||
| 653 | |||
| 654 | </world> | ||
| 655 | </sdf> | ||
