File: catenary.xml

package info (click to toggle)
mujoco 2.2.2-3.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 39,796 kB
  • sloc: ansic: 28,947; cpp: 28,897; cs: 14,241; python: 10,465; xml: 5,104; sh: 93; makefile: 34
file content (34 lines) | stat: -rw-r--r-- 924 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<mujoco>
  <visual>
    <global elevation="-20"/>
  </visual>

  <worldbody>
    <geom type="plane" size="1 1 .1"/>
    <light pos="0 -.2 2" dir="0 1 -4" diffuse="1 1 1"/>
    <body pos="0 0 .8">
      <joint type="slide" stiffness="1000"/>
      <geom size=".05" mass="20"/>
      <site name="hook" pos="0 0 -.05"/>
    </body>

    <body pos="-.15 -.15 .3">
      <joint name="hinge" type="hinge" axis="0 0 1" damping=".5"/>
      <geom type="cylinder" size=".01" fromto="0 0 0 0 0 .1"/>
      <geom type="capsule" size=".01" fromto="0 0 0 .25 0 0"/>
      <geom size=".02" pos=".25 0 0"/>
      <site name="corner" pos=".25 0 .02"/>
    </body>
  </worldbody>

  <tendon>
    <spatial limited="true" range="0 .5" rgba="0 .1 1 1" width=".005">
      <site site="hook"/>
      <site site="corner"/>
    </spatial>
  </tendon>

  <actuator>
    <general joint="hinge" biasprm="2" biastype="affine"/>
  </actuator>
</mujoco>