|
| 1 | +<mujoco model="aloha"> |
| 2 | + <include file="../../common.xml"/> |
| 3 | + |
| 4 | + <size memory="1M"/> |
| 5 | + |
| 6 | + <asset> |
| 7 | + <texture name="groundplane" type="2d" builtin="flat" rgb1="0.20000000000000001 0.29999999999999999 0.40000000000000002" rgb2="0.10000000000000001 0.20000000000000001 0.29999999999999999" mark="edge" markrgb="0.50000000000000004 0.50000000000000004 0.50000000000000004" width="200" height="200"/> |
| 8 | + <material name="groundplane" texture="groundplane" texrepeat="2 2" texuniform="true" reflectance="0.20000000000000001"/> |
| 9 | + </asset> |
| 10 | + |
| 11 | + <custom> |
| 12 | + <numeric name="agent_planner" data="0" /> |
| 13 | + <numeric name="agent_horizon" data="1.0" /> |
| 14 | + <numeric name="agent_timestep" data="0.01" /> |
| 15 | + <numeric name="agent_sample_width" data="0.0025" /> |
| 16 | + <numeric name="agent_policy_width" data="0.0035" /> |
| 17 | + <numeric name="sampling_exploration" data="0.5" /> |
| 18 | + <numeric name="sampling_trajectories" data="120"/> |
| 19 | + <numeric name="sampling_spline_points" data="4" /> |
| 20 | + <numeric name="gradient_spline_points" data="6" /> |
| 21 | + </custom> |
| 22 | + |
| 23 | + <statistic extent="1.5" center="0.0 0.35 0.2"/> |
| 24 | + |
| 25 | + <visual> |
| 26 | + <quality shadowsize="8192"/> |
| 27 | + <global azimuth="90" elevation="-30"/> |
| 28 | + <scale framelength=".3" framewidth=".03"/> |
| 29 | + </visual> |
| 30 | + |
| 31 | + <!-- since the included reorientation_cube brings its own sensors, the residuals must be specified first --> |
| 32 | + <sensor> |
| 33 | + <user name="Reach L" dim="3" user="2 0.1 0 .5 0.005"/> |
| 34 | + <user name="Reach R" dim="3" user="2 0.1 0 .5 0.005"/> |
| 35 | + <user name="Bring" dim="3" user="2 1 0 1 0.003"/> |
| 36 | + <user name="Cube Orientation" dim="3" user="0 0.02 0 .2" /> |
| 37 | + <user name="Cube Velocity" dim="3" user="0 .01 0 .2" /> |
| 38 | + <framequat name="cube_goal_orientation" objtype="body" objname="goal"/> |
| 39 | + <framepos name="left/gripper" objtype="site" objname="left/gripper"/> |
| 40 | + <framepos name="right/gripper" objtype="site" objname="right/gripper"/> |
| 41 | + <framepos name="box" objtype="body" objname="cube"/> |
| 42 | + <framepos name="target" objtype="body" objname="box_goal_mocap"/> |
| 43 | + <framepos name="trace0" objtype="body" objname="cube"/> |
| 44 | + <framepos name="trace1" objtype="site" objname="left/gripper"/> |
| 45 | + <framepos name="trace2" objtype="site" objname="right/gripper"/> |
| 46 | + </sensor> |
| 47 | + |
| 48 | + <include file="../aloha_cartesian.xml"/> |
| 49 | + <include file="../../common_assets/reorientation_cube.xml"/> |
| 50 | + |
| 51 | + <worldbody> |
| 52 | + <light pos="0 -0.1 0.5" dir="0 0.2 -1" diffuse="0.7 0.7 0.7" specular="0.3 0.3 0.3" |
| 53 | + directional="true" castshadow="true"/> |
| 54 | + <geom name="floor" pos="0 0 -0.75" size="0 0 0.05" type="plane" material="groundplane"/> |
| 55 | + <body name="table" pos="0 0 -0.75"> |
| 56 | + <geom name="table" pos="0 0 0.6509" size="0.61 0.37 0.1" type="box" class="collision"/> |
| 57 | + <geom name="table_visual" pos="0 0 0.6509" size="0.61 0.37 0.1" type="box" rgba="0.4 0.4 0.4 1" conaffinity="0" contype="0"/> |
| 58 | + </body> |
| 59 | + <body mocap="true" name="box_goal_mocap"> |
| 60 | + <geom group="2" size="0.02" rgba="1 0.4 0.4 1" conaffinity="0" contype="0"/> |
| 61 | + </body> |
| 62 | + <body name="goal" pos="0.325 0.17 0.0475"> |
| 63 | + <joint type="ball" damping="0.001"/> |
| 64 | + <geom type="box" size=".03 .03 .03" mass=".124" material="cube" contype="0" conaffinity="0"/> |
| 65 | + </body> |
| 66 | + </worldbody> |
| 67 | + <keyframe> |
| 68 | + <key name="home" qpos= |
| 69 | + "0 -0.96 1.16 0 -0.3 0 0.002 0.002 |
| 70 | + 0 -0.96 1.16 0 -0.3 0 0.002 0.002 |
| 71 | + 0.02 0.02 0.075 1 0 0 0 |
| 72 | + 1 0 0 0 |
| 73 | + " |
| 74 | + mpos="0 0 0.25" |
| 75 | + act= "-0.1 0 0 0 0 0 0.03 0.1 0 0 0 0 0 0.03" |
| 76 | + ctrl="-0.1 0 0 0 0 0 0.03 0.1 0 0 0 0 0 0.03"/> |
| 77 | + </keyframe> |
| 78 | +</mujoco> |
0 commit comments