Add Xiaozhao arms and head models, device selection, and fresh GetPose queries with configurable end links. Reset polling, commands, and plots on device changes. Expose MoveJ jerk and joint zero calibration, improve joint naming and plot handling, and cover model switching and request lifecycles with regression tests. Update AprilTag generation to default to PDF and include the refreshed exports, model meshes, and existing workspace artifacts.
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>
|