Skip to content

Migrate lab_sim CLIPSeg objectives to SAM3#524

Draft
griswaldbrooks wants to merge 1 commit intomainfrom
refactor/lab-sim-clipseg-to-sam3
Draft

Migrate lab_sim CLIPSeg objectives to SAM3#524
griswaldbrooks wants to merge 1 commit intomainfrom
refactor/lab-sim-clipseg-to-sam3

Conversation

@griswaldbrooks
Copy link

Summary

  • Add two reusable SAM3 subtrees (SAM3 Segment Image Subtree, SAM3 Segment Point Cloud Subtree) that replace the shared CLIPSeg-based subtrees from ur_base_config
  • Migrate 5 lab_sim objectives from GetMasks2DFromTextQuery (CLIPSeg) to GetMasks2DFromExemplar (SAM3)
  • Simplify get_candidate_grasps_subtree.xml from a two-stage CLIPSeg → SAM2 refinement pipeline to a single SAM3 call
  • Remove dependency on moveit_pro_clipseg models for all lab_sim objectives

Test plan

  • test_load_objectives passes — all 85 XML objectives load cleanly
  • Manual: run ML Segment Image objective and verify masks appear
  • Manual: run Pick 1 Pill Bottle objective end-to-end
  • Manual: run Pick All Pill Bottles objective end-to-end
  • Manual: run AddBottlesToPlanningScene objective and verify collision objects added

🤖 Generated with Claude Code

@griswaldbrooks griswaldbrooks force-pushed the refactor/lab-sim-clipseg-to-sam3 branch from 87bf727 to a9fb533 Compare March 4, 2026 23:32
Replace GetMasks2DFromTextQuery (CLIPSeg) with GetMasks2DFromExemplar
(SAM3) across 5 lab_sim objectives and 2 reusable subtrees. This
simplifies the grasping pipeline from a two-stage CLIPSeg+SAM2
refinement loop to a single SAM3 call, and removes the dependency on
moveit_pro_clipseg models.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@JWhitleyWork JWhitleyWork force-pushed the refactor/lab-sim-clipseg-to-sam3 branch from a9fb533 to ac6d218 Compare March 5, 2026 17:58
@JWhitleyWork
Copy link
Member

Rebased to pick up CI fix.

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.

2 participants