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.
53 lines
2.7 KiB
XML
53 lines
2.7 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"/>
|
|
|
|
<!-- 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"/>
|
|
</actuator>
|
|
</mujoco>
|