feat(model): add xiaozhao MuJoCo model and joint limit tooling
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.
2026-11-12 13:39:08 +08:00
|
|
|
<mujoco model="xiaozhao_environment">
|
|
|
|
|
<!-- Background, floor material and lighting match ../../xiaoyan_description/dual_arm.xml. -->
|
|
|
|
|
<visual>
|
feat(mujoco): integrate xiaozhao dual-arm and touch simulation
Update xiaozhao geometry, base axes, TCPs, neck joints and actuators.
Add mesh generation tools, simplified visuals, screen and hand tags,
and hand/head camera attachments.
Configure both arms and enable the right-arm visual touch workflow with
updated calibration, a camera-visible initial pose and higher-resolution
external perception. Keep touch tests distance-limited with ZeroSimTouch.
Release MuJoCo joint state control on torqueOff, latch the disabled state
until torqueOn, and add regression coverage for actuator and fallback modes.
Validation: isolated device/task initialization, camera acquisition and
AprilTag pose checks passed. Full visual-servo motion was not validated.
2026-11-17 17:26:05 +08:00
|
|
|
<global offwidth="1280" offheight="720"/>
|
feat(model): add xiaozhao MuJoCo model and joint limit tooling
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.
2026-11-12 13:39:08 +08:00
|
|
|
<map znear="0.02" zfar="5"/>
|
|
|
|
|
</visual>
|
|
|
|
|
|
|
|
|
|
<asset>
|
|
|
|
|
<texture name="skybox" type="skybox" builtin="gradient"
|
|
|
|
|
rgb1="0.4 0.6 0.8" rgb2="0 0 0" width="512" height="512"/>
|
|
|
|
|
<texture name="grid" type="2d" builtin="checker"
|
|
|
|
|
width="512" height="512"
|
|
|
|
|
rgb1="0.2 0.3 0.4" rgb2="0.1 0.2 0.3"
|
|
|
|
|
mark="cross" markrgb="0.8 0.8 0.8"/>
|
|
|
|
|
<material name="grid_floor" texture="grid" texrepeat="5 5"
|
|
|
|
|
rgba="1 1 1.0 1" emission="0.9" specular="0.5"
|
|
|
|
|
shininess="1" reflectance="0.3"/>
|
|
|
|
|
</asset>
|
|
|
|
|
|
|
|
|
|
<worldbody>
|
|
|
|
|
<light name="top_light" mode="track" directional="true"
|
|
|
|
|
diffuse="0.4 0.4 0.4" specular="0.3 0.3 0.3"
|
|
|
|
|
pos="0 0 3" dir="0 0 -1"/>
|
|
|
|
|
<!-- The original base mesh extends 0.183 m below base_link. -->
|
|
|
|
|
<geom name="floor" type="plane" pos="0 0 -0.183" size="0 0 0.05"
|
|
|
|
|
material="grid_floor" condim="3" friction="1 0.005 0.0001"/>
|
|
|
|
|
</worldbody>
|
|
|
|
|
</mujoco>
|