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_actuators">
|
|
|
|
|
<!-- Simulation position servos; ctrl values are joint angles in radians.
|
|
|
|
|
Gains are initial simulation settings, not identified hardware parameters.
|
|
|
|
|
URDF effort limits are zero placeholders, so no hardware torque limits are assumed. -->
|
|
|
|
|
<default>
|
|
|
|
|
<default class="xiaozhao_position">
|
|
|
|
|
<position kp="200" dampratio="1" ctrllimited="true"/>
|
|
|
|
|
</default>
|
|
|
|
|
</default>
|
|
|
|
|
|
|
|
|
|
<actuator>
|
|
|
|
|
<!-- Left arm -->
|
|
|
|
|
<position name="joint1-left_pos" class="xiaozhao_position"
|
|
|
|
|
joint="joint1-left" ctrlrange="-3.14 3.14"/>
|
|
|
|
|
<position name="joint2-left_pos" class="xiaozhao_position"
|
|
|
|
|
joint="joint2-left" ctrlrange="-1.57 1.57"/>
|
|
|
|
|
<position name="joint3-left_pos" class="xiaozhao_position"
|
|
|
|
|
joint="joint3-left" ctrlrange="-3.14 3.14"/>
|
|
|
|
|
<position name="joint4-left_pos" class="xiaozhao_position"
|
2026-11-18 15:05:55 +08:00
|
|
|
joint="joint4-left" kp="150" ctrlrange="0 2.35"/>
|
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
|
|
|
<position name="joint5-left_pos" class="xiaozhao_position"
|
|
|
|
|
joint="joint5-left" kp="80" ctrlrange="-3.14 3.14"/>
|
|
|
|
|
<position name="joint6-left_pos" class="xiaozhao_position"
|
|
|
|
|
joint="joint6-left" kp="80" ctrlrange="-0.785 0.45"/>
|
|
|
|
|
<position name="joint7-left_pos" class="xiaozhao_position"
|
|
|
|
|
joint="joint7-left" kp="80" ctrlrange="-1.05 1.05"/>
|
|
|
|
|
|
|
|
|
|
<!-- Right arm -->
|
|
|
|
|
<position name="joint1-right_pos" class="xiaozhao_position"
|
|
|
|
|
joint="joint1-right" ctrlrange="-3.14 3.14"/>
|
|
|
|
|
<position name="joint2-right_pos" class="xiaozhao_position"
|
|
|
|
|
joint="joint2-right" ctrlrange="-1.57 1.57"/>
|
|
|
|
|
<position name="joint3-right_pos" class="xiaozhao_position"
|
|
|
|
|
joint="joint3-right" ctrlrange="-3.14 3.14"/>
|
|
|
|
|
<position name="joint4-right_pos" class="xiaozhao_position"
|
2026-11-18 15:05:55 +08:00
|
|
|
joint="joint4-right" kp="150" ctrlrange="-2.35 0"/>
|
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
|
|
|
<position name="joint5-right_pos" class="xiaozhao_position"
|
|
|
|
|
joint="joint5-right" kp="80" ctrlrange="-3.14 3.14"/>
|
|
|
|
|
<position name="joint6-right_pos" class="xiaozhao_position"
|
|
|
|
|
joint="joint6-right" kp="80" ctrlrange="-0.45 0.785"/>
|
|
|
|
|
<position name="joint7-right_pos" class="xiaozhao_position"
|
|
|
|
|
joint="joint7-right" kp="80" ctrlrange="-1.05 1.05"/>
|
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
|
|
|
|
|
|
|
|
<!-- Neck: append after the arms to preserve their actuator indices. -->
|
|
|
|
|
<position name="neck-joint1_pos" class="xiaozhao_position"
|
|
|
|
|
joint="neck-joint1" kp="80" ctrlrange="-1.57 1.57"/>
|
|
|
|
|
<position name="neck-joint2_pos" class="xiaozhao_position"
|
|
|
|
|
joint="neck-joint2" kp="80" ctrlrange="-1.57 0.44"/>
|
|
|
|
|
<position name="neck-joint3_pos" class="xiaozhao_position"
|
|
|
|
|
joint="neck-joint3" kp="80" ctrlrange="-0.44 0.44"/>
|
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
|
|
|
</actuator>
|
|
|
|
|
</mujoco>
|