Files
chenlin c32df70326
Checks / Layout, translation and Colab checks (push) Has been cancelled
Checks / Ruff (push) Has been cancelled
Checks / Framework tests (native backend, CPU) (push) Has been cancelled
Checks / Portable Rust controller (push) Has been cancelled
release: v0.1 generic robot training and application platform
2026-11-05 11:05:01 +08:00

155 lines
11 KiB
XML

<mujoco model="go1">
<compiler angle="radian" />
<default>
<default class="go1">
<default class="visual">
<geom type="mesh" contype="0" conaffinity="0" group="2" material="dark" />
</default>
<default class="collision">
<geom type="capsule" group="3" />
<default class="thigh1">
<geom size="0.015 0 0" />
</default>
<default class="thigh2">
<geom size="0.015 0 0" />
</default>
<default class="thigh3">
<geom size="0.015 0 0" />
</default>
<default class="calf1">
<geom size="0.01 0 0" />
</default>
<default class="calf2">
<geom size="0.01 0 0" />
</default>
<default class="foot">
<geom size="0.023 0 0" type="sphere" />
</default>
</default>
</default>
</default>
<asset>
<material name="dark" rgba="0.2 0.2 0.2 1" />
<mesh name="trunk" class="go1" file="../../rl/mjlab/asset_zoo/robots/unitree_go1/xmls/assets/trunk.stl" />
<mesh name="hip" class="go1" file="../../rl/mjlab/asset_zoo/robots/unitree_go1/xmls/assets/hip.stl" />
<mesh name="thigh_mirror" class="go1" file="../../rl/mjlab/asset_zoo/robots/unitree_go1/xmls/assets/thigh_mirror.stl" />
<mesh name="calf" class="go1" file="../../rl/mjlab/asset_zoo/robots/unitree_go1/xmls/assets/calf.stl" />
<mesh name="thigh" class="go1" file="../../rl/mjlab/asset_zoo/robots/unitree_go1/xmls/assets/thigh.stl" />
</asset>
<worldbody>
<body name="trunk" childclass="go1" pos="0 0 0.445">
<inertial pos="0.0223 0.002 -0.0005" quat="-0.00342088 0.705204 0.000106698 0.708996" mass="5.204" diaginertia="0.0716565 0.0630105 0.0168101" />
<joint name="floating_base_joint" type="free" />
<geom class="visual" mesh="trunk" />
<geom name="trunk_collision" class="collision" size="0.13 0.09 0.05" type="box" />
<geom name="head_collision" class="collision" size="0.06" pos="0.24 0 0" type="sphere" />
<site name="head" pos="0.3 0 0" size="0.02" group="5" rgba="1 0 0 1" />
<site name="imu" pos="-0.01592 -0.06659 -0.00617" group="5" />
<camera name="tracking" pos="0.846 -1.3 0.316" quat="0.791164 0.554139 0.148485 0.211997" mode="trackcom" />
<camera name="top" pos="-1 0 1" quat="0.653281 0.270598 -0.270598 -0.653281" mode="trackcom" />
<camera name="side" pos="0 -1 0.3" quat="0.850651 0.525731 0 0" mode="trackcom" />
<camera name="back" pos="-1 0 0.3" quat="0.601501 0.371748 -0.371748 -0.601501" mode="trackcom" />
<light pos="0 0 2" dir="0 0 -1" mode="trackcom" />
<body name="FR_hip" pos="0.1881 -0.04675 0">
<inertial pos="-0.0049166 0.00762615 -8.865e-05" quat="0.507341 0.514169 0.495027 0.482891" mass="0.68" diaginertia="0.000734064 0.000468438 0.000398719" />
<joint name="FR_hip_joint" pos="0 0 0" axis="1 0 0" range="-0.863 0.863" armature="0.00402631" />
<geom class="visual" mesh="hip" />
<geom name="FR_hip_collision" class="collision" size="0.05 0.01" pos="0 -0.03 0" quat="0.707107 -0.707107 0 0" />
<body name="FR_thigh" pos="0 -0.08 0">
<inertial pos="-0.00304722 0.019315 -0.0305004" quat="0.65243 -0.0272313 0.0775126 0.753383" mass="1.009" diaginertia="0.00478717 0.00460903 0.000709268" />
<joint name="FR_thigh_joint" pos="0 0 0" axis="0 1 0" range="-0.686 4.501" armature="0.00402631" />
<geom class="visual" mesh="thigh_mirror" />
<geom name="FR_thigh_collision1" class="thigh1" size="0.015 0.08" pos="-0.02 0 -0.08" />
<geom name="FR_thigh_collision2" class="thigh2" size="0.015 0.0509902" pos="-0.01 0 -0.05" quat="0.995133 0 0.0985376 0" />
<geom name="FR_thigh_collision3" class="thigh3" size="0.015 0.0223607" pos="-0.01 0 -0.18" quat="0.973249 0 -0.229753 0" />
<body name="FR_calf" pos="0 0 -0.213">
<inertial pos="0.00429862 0.000976676 -0.146197" quat="0.691246 0.00357467 0.00511118 0.722592" mass="0.195862" diaginertia="0.00149767 0.00148468 3.58427e-05" />
<joint name="FR_calf_joint" pos="0 0 0" axis="0 1 0" range="-2.818 -0.888" armature="0.0090592" />
<geom class="visual" mesh="calf" />
<geom name="FR_calf_collision1" class="calf1" size="0.01 0.0657647" pos="0.01 0 -0.065" quat="0.997089 0 -0.0762506 0" />
<geom name="FR_calf_collision2" class="calf2" size="0.01 0.0364005" pos="0.01 0 -0.165" quat="0.990334 0 0.138701 0" />
<geom name="FR_foot_collision" class="foot" pos="0 0 -0.213" />
<site name="FR" pos="0 0 -0.213" size="0.023" group="5" />
</body>
</body>
</body>
<body name="FL_hip" pos="0.1881 0.04675 0">
<inertial pos="-0.0049166 -0.00762615 -8.865e-05" quat="0.482891 0.495027 0.514169 0.507341" mass="0.68" diaginertia="0.000734064 0.000468438 0.000398719" />
<joint name="FL_hip_joint" pos="0 0 0" axis="1 0 0" range="-0.863 0.863" armature="0.00402631" />
<geom class="visual" mesh="hip" />
<geom name="FL_hip_collision" class="collision" size="0.05 0.01" pos="0 0.03 0" quat="0.707107 0.707107 0 0" />
<body name="FL_thigh" pos="0 0.08 0">
<inertial pos="-0.00304722 -0.019315 -0.0305004" quat="0.753383 0.0775126 -0.0272313 0.65243" mass="1.009" diaginertia="0.00478717 0.00460903 0.000709268" />
<joint name="FL_thigh_joint" pos="0 0 0" axis="0 1 0" range="-0.686 4.501" armature="0.00402631" />
<geom class="visual" mesh="thigh" />
<geom name="FL_thigh_collision1" class="thigh1" size="0.015 0.08" pos="-0.02 0 -0.08" />
<geom name="FL_thigh_collision2" class="thigh2" size="0.015 0.0509902" pos="-0.01 0 -0.05" quat="0.995133 0 0.0985376 0" />
<geom name="FL_thigh_collision3" class="thigh3" size="0.015 0.0223607" pos="-0.01 0 -0.18" quat="0.973249 0 -0.229753 0" />
<body name="FL_calf" pos="0 0 -0.213">
<inertial pos="0.00429862 0.000976676 -0.146197" quat="0.691246 0.00357467 0.00511118 0.722592" mass="0.195862" diaginertia="0.00149767 0.00148468 3.58427e-05" />
<joint name="FL_calf_joint" pos="0 0 0" axis="0 1 0" range="-2.818 -0.888" armature="0.0090592" />
<geom class="visual" mesh="calf" />
<geom name="FL_calf_collision1" class="calf1" size="0.01 0.0657647" pos="0.01 0 -0.065" quat="0.997089 0 -0.0762506 0" />
<geom name="FL_calf_collision2" class="calf2" size="0.01 0.0364005" pos="0.01 0 -0.165" quat="0.990334 0 0.138701 0" />
<geom name="FL_foot_collision" class="foot" pos="0 0 -0.213" />
<site name="FL" pos="0 0 -0.213" size="0.023" group="5" />
</body>
</body>
</body>
<body name="RR_hip" pos="-0.1881 -0.04675 0">
<inertial pos="0.0049166 0.00762615 -8.865e-05" quat="0.495027 0.482891 0.507341 0.514169" mass="0.68" diaginertia="0.000734064 0.000468438 0.000398719" />
<joint name="RR_hip_joint" pos="0 0 0" axis="1 0 0" range="-0.863 0.863" armature="0.00402631" />
<geom class="visual" quat="0 0 0 -1" mesh="hip" />
<geom name="RR_hip_collision" class="collision" size="0.05 0.01" pos="0 -0.03 0" quat="0.707107 -0.707107 0 0" />
<body name="RR_thigh" pos="0 -0.08 0">
<inertial pos="-0.00304722 0.019315 -0.0305004" quat="0.65243 -0.0272313 0.0775126 0.753383" mass="1.009" diaginertia="0.00478717 0.00460903 0.000709268" />
<joint name="RR_thigh_joint" pos="0 0 0" axis="0 1 0" range="-0.686 4.501" armature="0.00402631" />
<geom class="visual" mesh="thigh_mirror" />
<geom name="RR_thigh_collision1" class="thigh1" size="0.015 0.08" pos="-0.02 0 -0.08" />
<geom name="RR_thigh_collision2" class="thigh2" size="0.015 0.0509902" pos="-0.01 0 -0.05" quat="0.995133 0 0.0985376 0" />
<geom name="RR_thigh_collision3" class="thigh3" size="0.015 0.0223607" pos="-0.01 0 -0.18" quat="0.973249 0 -0.229753 0" />
<body name="RR_calf" pos="0 0 -0.213">
<inertial pos="0.00429862 0.000976676 -0.146197" quat="0.691246 0.00357467 0.00511118 0.722592" mass="0.195862" diaginertia="0.00149767 0.00148468 3.58427e-05" />
<joint name="RR_calf_joint" pos="0 0 0" axis="0 1 0" range="-2.818 -0.888" armature="0.0090592" />
<geom class="visual" mesh="calf" />
<geom name="RR_calf_collision1" class="calf1" size="0.01 0.0657647" pos="0.01 0 -0.065" quat="0.997089 0 -0.0762506 0" />
<geom name="RR_calf_collision2" class="calf2" size="0.01 0.0364005" pos="0.01 0 -0.165" quat="0.990334 0 0.138701 0" />
<geom name="RR_foot_collision" class="foot" pos="0 0 -0.213" />
<site name="RR" pos="0 0 -0.213" size="0.023" group="5" />
</body>
</body>
</body>
<body name="RL_hip" pos="-0.1881 0.04675 0">
<inertial pos="0.0049166 -0.00762615 -8.865e-05" quat="0.514169 0.507341 0.482891 0.495027" mass="0.68" diaginertia="0.000734064 0.000468438 0.000398719" />
<joint name="RL_hip_joint" pos="0 0 0" axis="1 0 0" range="-0.863 0.863" armature="0.00402631" />
<geom class="visual" quat="0 0 1 0" mesh="hip" />
<geom name="RL_hip_collision" class="collision" size="0.05 0.01" pos="0 0.03 0" quat="0.707107 0.707107 0 0" />
<body name="RL_thigh" pos="0 0.08 0">
<inertial pos="-0.00304722 -0.019315 -0.0305004" quat="0.753383 0.0775126 -0.0272313 0.65243" mass="1.009" diaginertia="0.00478717 0.00460903 0.000709268" />
<joint name="RL_thigh_joint" pos="0 0 0" axis="0 1 0" range="-0.686 4.501" armature="0.00402631" />
<geom class="visual" mesh="thigh" />
<geom name="RL_thigh_collision1" class="thigh1" size="0.015 0.08" pos="-0.02 0 -0.08" />
<geom name="RL_thigh_collision2" class="thigh2" size="0.015 0.0509902" pos="-0.01 0 -0.05" quat="0.995133 0 0.0985376 0" />
<geom name="RL_thigh_collision3" class="thigh3" size="0.015 0.0223607" pos="-0.01 0 -0.18" quat="0.973249 0 -0.229753 0" />
<body name="RL_calf" pos="0 0 -0.213">
<inertial pos="0.00429862 0.000976676 -0.146197" quat="0.691246 0.00357467 0.00511118 0.722592" mass="0.195862" diaginertia="0.00149767 0.00148468 3.58427e-05" />
<joint name="RL_calf_joint" pos="0 0 0" axis="0 1 0" range="-2.818 -0.888" armature="0.0090592" />
<geom class="visual" mesh="calf" />
<geom name="RL_calf_collision1" class="calf1" size="0.01 0.0657647" pos="0.01 0 -0.065" quat="0.997089 0 -0.0762506 0" />
<geom name="RL_calf_collision2" class="calf2" size="0.01 0.0364005" pos="0.01 0 -0.165" quat="0.990334 0 0.138701 0" />
<geom name="RL_foot_collision" class="foot" pos="0 0 -0.213" />
<site name="RL" pos="0 0 -0.213" size="0.023" group="5" />
</body>
</body>
</body>
</body>
</worldbody>
<sensor>
<gyro site="imu" name="imu_ang_vel" />
<velocimeter site="imu" name="imu_lin_vel" />
<accelerometer site="imu" name="imu_lin_acc" />
<framezaxis objtype="body" objname="world" reftype="site" refname="imu" name="imu_upvector" />
<subtreeangmom body="trunk" name="root_angmom" />
</sensor>
</mujoco>