28 lines
1.1 KiB
XML
28 lines
1.1 KiB
XML
<mujoco model="differential_drive">
|
|
<option timestep="0.002" integrator="implicitfast"/>
|
|
<default>
|
|
<joint damping="0.02" armature="0.01"/>
|
|
<geom friction="1 0.01 0.001"/>
|
|
</default>
|
|
<worldbody>
|
|
<light pos="0 -1 2" dir="0 0 -1"/>
|
|
<geom name="floor" type="plane" size="2 2 0.1" rgba="0.8 0.82 0.86 1"/>
|
|
<body name="chassis" pos="0 0 0.12">
|
|
<freejoint name="root"/>
|
|
<geom type="box" size="0.14 0.1 0.025" mass="1.5" rgba="0.24 0.53 0.68 1"/>
|
|
<geom type="sphere" pos="-0.13 0 -0.095" size="0.025" mass="0.05"
|
|
friction="0.03 0.01 0.001" rgba="0.28 0.30 0.34 1"/>
|
|
<body name="right" pos="0 -0.13 -0.02">
|
|
<joint name="right_wheel" axis="0 1 0"/>
|
|
<geom name="right_tire" type="cylinder" euler="90 0 0" size="0.1 0.02"
|
|
mass="0.25" rgba="0.19 0.22 0.25 1"/>
|
|
</body>
|
|
<body name="left" pos="0 0.13 -0.02">
|
|
<joint name="left_wheel" axis="0 1 0"/>
|
|
<geom name="left_tire" type="cylinder" euler="90 0 0" size="0.1 0.02"
|
|
mass="0.25" rgba="0.19 0.22 0.25 1"/>
|
|
</body>
|
|
</body>
|
|
</worldbody>
|
|
</mujoco>
|