|
| 1 | +diff --git a/cartpole_modified.xml b/cartpole_modified.xml |
| 2 | +--- a/cartpole_modified.xml |
| 3 | ++++ b/cartpole_modified.xml |
| 4 | +@@ -1,10 +1,6 @@ |
| 5 | +-<mujoco model="cart-pole"> |
| 6 | +- <include file="./common/skybox.xml"/> |
| 7 | +- <include file="./common/visual.xml"/> |
| 8 | +- <include file="./common/materials.xml"/> |
| 9 | +- |
| 10 | +- <option timestep="0.01" integrator="RK4"> |
| 11 | +- <flag contact="disable" energy="enable"/> |
| 12 | ++<mujoco model="Cartpole"> |
| 13 | ++ <option timestep="0.001"> |
| 14 | ++ <flag contact="disable"/> |
| 15 | + </option> |
| 16 | + |
| 17 | + <default> |
| 18 | +@@ -18,15 +14,16 @@ |
| 19 | + <light name="light" pos="0 0 6"/> |
| 20 | + <camera name="fixed" pos="0 -4 1" zaxis="0 -1 0"/> |
| 21 | + <camera name="lookatcart" mode="targetbody" target="cart" pos="0 -2 2"/> |
| 22 | +- <geom name="floor" pos="0 0 -.05" size="4 4 .2" type="plane" material="grid"/> |
| 23 | ++ <geom name="floor" pos="0 0 -.05" size="4 4 .2" type="plane" material="blue_grid"/> |
| 24 | + <geom name="rail1" type="capsule" pos="0 .07 1" zaxis="1 0 0" size="0.02 2" material="decoration" /> |
| 25 | + <geom name="rail2" type="capsule" pos="0 -.07 1" zaxis="1 0 0" size="0.02 2" material="decoration" /> |
| 26 | + <body name="cart" pos="0 0 1"> |
| 27 | +- <joint name="slider" type="slide" limited="true" axis="1 0 0" range="-1.8 1.8" solreflimit=".08 1" damping="5e-4"/> |
| 28 | ++ <joint name="slider" type="slide" limited="true" axis="1 0 0" range="-1.8 1.8" solreflimit=".08 1" damping="1.0e-4"/> |
| 29 | + <geom name="cart" type="box" size="0.2 0.15 0.1" material="self" mass="1"/> |
| 30 | + <body name="pole_1" childclass="pole"> |
| 31 | +- <joint name="hinge_1"/> |
| 32 | ++ <joint name="hinge_1" damping="1.0e-4"/> |
| 33 | + <geom name="pole_1"/> |
| 34 | ++ <site name="tip" pos="0 0 1"/> |
| 35 | + </body> |
| 36 | + </body> |
| 37 | + </worldbody> |
0 commit comments