Skip to content

Extract a shared B0495 camera component for wrists and Cell - #146

Draft
stevenaya wants to merge 4 commits into
enactic:mainfrom
stevenaya:feat/shared-board-camera
Draft

stevenaya wants to merge 4 commits into
enactic:mainfrom
stevenaya:feat/shared-board-camera

Conversation

@stevenaya

@stevenaya stevenaya commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Changes

Extract the B0495 camera from the pinch-gripper base and Cell body visuals into a shared sensor component, then attach it through explicit mounting references. Each assembled camera keeps its existing position and appearance.

  • Remove the embedded PCB, base plate and lens geometry from both original meshes. The separate camera has 808 triangles, with visual groups preserving the wrist and Cell colors.
  • Define a common camera_base_link, a non-emitted CAD reference camera_center, and camera_optical_frame 16 mm forward along the lens axis. Use the arm instance prefixes and remove the old wrist camera_view_frame; retain the existing ceiling reference.
  • Use the same unmirrored camera geometry on both wrists. Each camera attaches through its parent gripper’s mounting reference; camera frames and geometry receive no additional reflection.
  • Add camera instances to the V2 gripper presets, Cell, the mobile example and the standalone pinch-gripper entry. Camera collision and mass remain in the existing parent aggregates.
  • Store image dimensions, optical-frame binding, projection, intrinsics and distortion under config/cam_param/. The 960×600 pinhole intrinsics correspond to the manually tuned MuJoCo vertical FOV of 52.9°; the parameter file is data-only.

The optical pose and camera parameters follow openarm_mujoco@e6c0893.

Validation

  • All 35 existing tests pass, including preset expansion and resource checks.
  • Before/after expansion preserves retained link/frame poses, collision definitions and inertias across the V2, Cell and mobile presets.
  • Geometry comparison confirms unchanged triangle counts and normals; assembled camera vertex differences are below 0.00004 mm.
  • Optical transforms agree with the updated MuJoCo ceiling camera and both wrist cameras within 0.001 mm and 0.0032°.

This branch was successfully deployed

1 active deployment
release — ec0d0b50 Deployed Nov 20, 2026 by stevenaya via Publish #540
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant