cmvr-es/model/xiaozhao/xml/actuators.xml
lgv aabc5a9fef 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

45 lines
2.2 KiB
XML

<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"
joint="joint4-left" kp="150" ctrlrange="-2.355 0"/>
<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"
joint="joint4-right" kp="150" ctrlrange="0 2.355"/>
<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"/>
</actuator>
</mujoco>