grpc_client/robot_model/xiaozhao/xml/head_camera.xml
lgv fb9f589446 feat: add Xiaozhao robot controls and refresh AprilTag assets
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.
2026-11-18 20:19:14 +08:00

25 lines
1.3 KiB
XML

<mujoco model="xiaozhao_head_camera">
<!-- generate_mujoco_xml.py attaches this module to neck_Link3.
Coordinates below are in the urdf7 head link, not the world frame.
Selected CAD window center: (0.0325, 0.10372742, 0.07995996) m.
Outward normal: (0, -0.5, 0.8660254038); optical center is 0.5 mm outside.
At neck zero, the camera looks toward base +X and down about 30.9 degrees. -->
<worldbody>
<body name="external_camera_mount" pos="0.0325 0.10347742 0.08039297">
<!-- Retain the existing device-facing name; this now follows the neck. -->
<camera name="external_touch_cam" pos="0 0 0"
quat="0 0 0.963863295733281 0.26639734821911742"
fovy="50"/>
<site name="external_touch_cam_site" size="0.001" rgba="0.1 0.8 0.3 0"
quat="0 0 0.963863295733281 0.26639734821911742"/>
<!-- Reuse the STL housing; only a thin lens marker is added, behind
the optical center. It contributes no mass or contact geometry. -->
<geom name="external_camera_lens" type="cylinder"
pos="0 0.000125 -0.000216506351"
quat="0.9659258262890683 0.25881904510252074 0 0"
size="0.0025 0.0002" rgba="0.05 0.12 0.18 1"
mass="0" contype="0" conaffinity="0" group="1"/>
</body>
</worldbody>
</mujoco>