Add the pedestal-free xiaozhao URDF, mesh assets, and separate MuJoCo robot, environment, and position-actuator XML files. Align joint frames, rotation directions, inertial transforms, and limits with the calibrated URDF, including the mirrored right hand, and retain the original SolidWorks URDF export. Add a model-selectable CSV limit updater with unit conversion, validation, dry-run support, and rollback on write failures. Synchronize the calibration CSV, document the workflow, add regression tests, and ignore export logs. Validation: 14 joint-limit tests passed; all joint and actuator ranges agree with the URDF. Kinematics and inertial checks passed, along with a 3000-step MuJoCo 3.3.7 simulation and desktop scene loading.
126 lines
11 KiB
XML
126 lines
11 KiB
XML
<?xml version='1.0' encoding='utf-8'?>
|
|
<mujoco model="xiaozhao">
|
|
<!-- Converted from ../urdf/xiaozhao.urdf with MuJoCo 3.3.7. Fixed base_link; 14 joints; no mounting pedestal. -->
|
|
<!-- Large STL meshes are losslessly re-encoded as OBJ. Original inertial, visual and collision definitions are retained. -->
|
|
<!-- Position servos are defined in actuators.xml and included by scene.xml. -->
|
|
<!-- Inertial principal axes include the URDF inertial-origin rotations. -->
|
|
<compiler angle="radian" meshdir="../meshes" />
|
|
<asset>
|
|
<mesh name="base_link" file="base_link.obj" />
|
|
<mesh name="link1-left" file="link1-left.STL" />
|
|
<mesh name="link2-left" file="link2-left.STL" />
|
|
<mesh name="link3-left" file="link3-left.STL" />
|
|
<mesh name="link4-left" file="link4-left.STL" />
|
|
<mesh name="link5-left" file="link5-left.STL" />
|
|
<mesh name="link6-left" file="link6-left.STL" />
|
|
<mesh name="link7-left" file="link7-left.obj" />
|
|
<mesh name="link1-right" file="link1-right.STL" />
|
|
<mesh name="link2-right" file="link2-right.STL" />
|
|
<mesh name="link3-right" file="link3-right.STL" />
|
|
<mesh name="link4-right" file="link4-right.STL" />
|
|
<mesh name="link5-right" file="link5-right.STL" />
|
|
<mesh name="link6-right" content_type="model/stl" file="link6-right.STL" />
|
|
<mesh name="link7-right" content_type="model/stl" file="link7-right.STL" />
|
|
<mesh name="hand-right-mirrored" content_type="model/obj" file="hand-right-mirrored.obj" />
|
|
</asset>
|
|
<worldbody>
|
|
<body name="base_link">
|
|
<inertial pos="-1.19385e-06 0.0158821 0.0601573" quat="-0.102963 0.69957 -0.102952 0.699572" mass="12.0939" diaginertia="0.132319 0.107992 0.0771993" />
|
|
<geom type="mesh" contype="0" conaffinity="0" group="1" density="0" rgba="0.752941 0.752941 0.752941 1" mesh="base_link" />
|
|
<geom type="mesh" rgba="0.752941 0.752941 0.752941 1" mesh="base_link" />
|
|
<body name="link1-left" pos="0.1478 0.0405 0.441" quat="0.707105 0 0.707108 0">
|
|
<inertial pos="6.75324e-05 -0.00414125 0.0357014" quat="0.509548 0.489669 0.510529 0.489842" mass="0.304091" diaginertia="0.000428415 0.000350261 0.000245055" />
|
|
<joint name="joint1-left" pos="0 0 0" axis="0 0 1" range="-3.14 3.14" />
|
|
<geom type="mesh" contype="0" conaffinity="0" group="1" density="0" rgba="0.898039 0.917647 0.929412 1" mesh="link1-left" />
|
|
<geom type="mesh" rgba="0.898039 0.917647 0.929412 1" mesh="link1-left" />
|
|
<body name="link2-left" pos="0 -0.04975 0.053" quat="0.707108 0.707105 0 0">
|
|
<inertial pos="7.2506e-05 0.080783 -0.0422541" quat="0.437069 -0.554493 0.55751 0.436682" mass="0.238736" diaginertia="0.000254541 0.000233071 0.000168039" />
|
|
<joint name="joint2-left" pos="0 0 0" axis="0 0 1" range="-1.57 1.57" />
|
|
<geom pos="0 0 0" quat="0 -1 0 0" type="mesh" contype="0" conaffinity="0" group="1" density="0" rgba="0.898039 0.917647 0.929412 1" mesh="link2-left" />
|
|
<geom pos="0 0 0" quat="0 -1 0 0" type="mesh" rgba="0.898039 0.917647 0.929412 1" mesh="link2-left" />
|
|
<body name="link3-left" pos="0 0.1575 -0.04975" quat="0.707108 -0.707105 0 0">
|
|
<inertial pos="0.000612208 0.00229659 0.0517903" quat="0.554126 0.440405 0.547991 0.445751" mass="0.206576" diaginertia="0.000213017 0.000187538 0.000106796" />
|
|
<joint name="joint3-left" pos="0 0 0" axis="0 0 1" range="-3.14 3.14" />
|
|
<geom type="mesh" contype="0" conaffinity="0" group="1" density="0" rgba="0.898039 0.917647 0.929412 1" mesh="link3-left" />
|
|
<geom type="mesh" rgba="0.898039 0.917647 0.929412 1" mesh="link3-left" />
|
|
<body name="link4-left" pos="0 -0.04125 0.0945" quat="0.707105 0.707108 0 0">
|
|
<inertial pos="0.00026874 0.0373909 -0.035949" quat="0.498863 0.503434 -0.501111 0.496565" mass="0.0803293" diaginertia="0.000120598 0.000106626 1.58831e-05" />
|
|
<joint name="joint4-left" pos="0 0 0" axis="0 0 1" range="-2.355 0" />
|
|
<geom type="mesh" contype="0" conaffinity="0" group="1" density="0" rgba="0.898039 0.917647 0.929412 1" mesh="link4-left" />
|
|
<geom type="mesh" rgba="0.898039 0.917647 0.929412 1" mesh="link4-left" />
|
|
<body name="link5-left" pos="0 0.1315 -0.04125" quat="0.707105 -0.707108 0 0">
|
|
<inertial pos="-0.000647708 0.00811978 0.041878" quat="0.703234 -0.0446477 -0.0360034 0.708642" mass="0.171116" diaginertia="0.000175707 0.000110948 8.42989e-05" />
|
|
<joint name="joint5-left" pos="0 0 0" axis="0 0 1" range="-3.14 3.14" />
|
|
<geom type="mesh" contype="0" conaffinity="0" group="1" density="0" rgba="0.898039 0.917647 0.929412 1" mesh="link5-left" />
|
|
<geom type="mesh" rgba="0.898039 0.917647 0.929412 1" mesh="link5-left" />
|
|
<body name="link6-left" pos="0 -0.0369 0.1145" quat="0.707108 0.707105 0 0">
|
|
<inertial pos="0.0160148 0.000660039 -0.0380435" quat="-0.00781159 -0.707189 0.706915 0.00969709" mass="0.0326968" diaginertia="3.0484e-05 2.67251e-05 6.25024e-06" />
|
|
<joint name="joint6-left" pos="0 0 0" axis="0 0 1" range="-0.785 0.45" />
|
|
<geom quat="0 -1 0 0" type="mesh" contype="0" conaffinity="0" group="1" density="0" rgba="0.898039 0.917647 0.929412 1" mesh="link6-left" />
|
|
<geom quat="0 -1 0 0" type="mesh" rgba="0.898039 0.917647 0.929412 1" mesh="link6-left" />
|
|
<body name="link7-left" pos="-0.037 0 -0.0369" quat="0.707105 2.59734e-06 -0.707108 2.59735e-06">
|
|
<inertial pos="0.00178605 0.0813605 -0.0221116" quat="0.591603 0.379349 -0.390017 0.594969" mass="0.0935117" diaginertia="5.86461e-05 5.06687e-05 2.54633e-05" />
|
|
<joint name="joint7-left" pos="0 0 0" axis="0 0 1" range="-1.05 1.05" />
|
|
<geom type="mesh" contype="0" conaffinity="0" group="1" density="0" rgba="1 1 1 1" mesh="link7-left" />
|
|
<geom type="mesh" rgba="1 1 1 1" mesh="link7-left" />
|
|
</body>
|
|
</body>
|
|
</body>
|
|
</body>
|
|
</body>
|
|
</body>
|
|
</body>
|
|
<body name="link1-right" pos="-0.1478 0.0405 0.441" quat="0.499998 0.5 -0.500002 -0.5">
|
|
<inertial pos="0.00186095 -6.57028e-05 0.0370126" quat="0.707342 0.706656 -0.0127919 0.0118593" mass="0.286348" diaginertia="0.000422643 0.00034441 0.000244327" />
|
|
<joint name="joint1-right" pos="0 0 0" axis="0 0 1" range="-3.14 3.14" />
|
|
<geom type="mesh" contype="0" conaffinity="0" group="1" density="0" rgba="0.898039 0.917647 0.929412 1" mesh="link1-right" />
|
|
<geom type="mesh" rgba="0.898039 0.917647 0.929412 1" mesh="link1-right" />
|
|
<body name="link2-right" pos="0.04975 0 0.053" quat="0.499998 -0.5 0.500002 -0.5">
|
|
<inertial pos="7.27313e-05 -0.080783 -0.0425927" quat="0.434354 0.554857 -0.55773 0.438642" mass="0.238736" diaginertia="0.000254603 0.00023307 0.000167979" />
|
|
<joint name="joint2-right" pos="0 0 0" axis="0 0 1" range="-1.57 1.57" />
|
|
<geom type="mesh" contype="0" conaffinity="0" group="1" density="0" rgba="0.898039 0.917647 0.929412 1" mesh="link2-right" />
|
|
<geom type="mesh" rgba="0.898039 0.917647 0.929412 1" mesh="link2-right" />
|
|
<body name="link3-right" pos="0 -0.164 -0.04975" quat="0.499998 0.5 -0.5 0.500002">
|
|
<inertial pos="-0.00460139 0.00042661 0.0434471" quat="0.703869 0.701746 -0.0777895 0.0779152" mass="0.19403" diaginertia="0.000209946 0.000185096 0.000105795" />
|
|
<joint name="joint3-right" pos="0 0 0" axis="0 0 1" range="-3.14 3.14" />
|
|
<geom type="mesh" contype="0" conaffinity="0" group="1" density="0" rgba="0.898039 0.917647 0.929412 1" mesh="link3-right" />
|
|
<geom type="mesh" rgba="0.898039 0.917647 0.929412 1" mesh="link3-right" />
|
|
<body name="link4-right" pos="0.04125 0 0.088" quat="0.499998 -0.5 0.500002 -0.5">
|
|
<inertial pos="0.000268623 -0.0373908 -0.0354483" quat="0.501111 0.496565 -0.498863 0.503434" mass="0.0803292" diaginertia="0.000120598 0.000106626 1.58831e-05" />
|
|
<joint name="joint4-right" pos="0 0 0" axis="0 0 1" range="0 2.355" />
|
|
<geom type="mesh" contype="0" conaffinity="0" group="1" density="0" rgba="0.898039 0.917647 0.929412 1" mesh="link4-right" />
|
|
<geom type="mesh" rgba="0.898039 0.917647 0.929412 1" mesh="link4-right" />
|
|
<body name="link5-right" pos="0 -0.1315 -0.04125" quat="0.499998 0.5 -0.5 0.500002">
|
|
<inertial pos="-0.0081198 0.000647653 0.0416257" quat="0.998699 -0.0504829 -0.00612479 -0.00374546" mass="0.171116" diaginertia="0.000175707 0.000110871 8.43751e-05" />
|
|
<joint name="joint5-right" pos="0 0 0" axis="0 0 1" range="-3.14 3.14" />
|
|
<geom type="mesh" contype="0" conaffinity="0" group="1" density="0" rgba="0.898039 0.917647 0.929412 1" mesh="link5-right" />
|
|
<geom type="mesh" rgba="0.898039 0.917647 0.929412 1" mesh="link5-right" />
|
|
<body name="link6-right" pos="0.0369 0 0.1145" quat="0.499998 -0.5 0.500002 -0.5">
|
|
<inertial pos="0.0160148 -0.000660099 -0.0368135" quat="0.706915 0.00969709 0.00781159 0.707189" mass="0.0326968" diaginertia="3.0484e-05 2.67251e-05 6.25024e-06" />
|
|
<joint name="joint6-right" pos="0 0 0" axis="0 0 1" range="-0.45 0.785" />
|
|
<geom type="mesh" contype="0" conaffinity="0" group="1" density="0" rgba="0.898039 0.917647 0.929412 1" mesh="link6-right" />
|
|
<geom type="mesh" rgba="0.898039 0.917647 0.929412 1" mesh="link6-right" />
|
|
<body name="link7-right" pos="-0.037 0 -0.0369" quat="0.707105 0 -0.707108 0">
|
|
<inertial pos="-7.26286e-06 0.0250589 0.014929" quat="0.34053 0.620312 -0.619198 0.34036" mass="0.0419947" diaginertia="3.51757e-05 3.12202e-05 1.41845e-05" />
|
|
<joint name="joint7-right" pos="0 0 0" axis="0 0 1" range="-1.05 1.05" />
|
|
<geom quat="0 1 0 0" type="mesh" contype="0" conaffinity="0" group="1" density="0" rgba="0.898039 0.917647 0.929412 1" mesh="link7-right" />
|
|
<geom quat="0 1 0 0" type="mesh" rgba="0.898039 0.917647 0.929412 1" mesh="link7-right" />
|
|
<geom name="mirrored_right_hand_visual" pos="0 0 0" quat="0 1 0 0" type="mesh" contype="0" conaffinity="0" group="1" density="0" rgba="1 1 1 1" mesh="hand-right-mirrored" />
|
|
<geom name="mirrored_right_hand_collision" pos="0 0 0" quat="0 1 0 0" type="mesh" rgba="1 1 1 1" mesh="hand-right-mirrored" />
|
|
</body>
|
|
</body>
|
|
</body>
|
|
</body>
|
|
</body>
|
|
</body>
|
|
</body>
|
|
</body>
|
|
</worldbody>
|
|
<contact>
|
|
<!-- These adjacent mounting meshes overlap at the shoulder joints.
|
|
The fixed base is welded to world, so MuJoCo's parent filter does not exclude them. -->
|
|
<exclude body1="base_link" body2="link1-left" />
|
|
<exclude body1="base_link" body2="link1-right" />
|
|
</contact>
|
|
</mujoco>
|