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.
25 lines
1.3 KiB
XML
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>
|