Add attached collision object for picked boxes in hangar_sim ML objective#727
Draft
davetcoleman wants to merge 1 commit into
Draft
Add attached collision object for picked boxes in hangar_sim ML objective#727davetcoleman wants to merge 1 commit into
davetcoleman wants to merge 1 commit into
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
…era, widen suction-cup collision The ML box-picking objective now adds the box mesh to the planning scene at its ICP-refined pose and attaches it to grasp_link on pickup, so the move to the loading zone plans around the carried box; it is detached on release. Grasp candidate markers are cleared each pick loop. The scene camera is nudged toward the aircraft for better framing, and the suction-cup collision margin/gap is widened 0.02 -> 0.04. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
8fc8a9a to
0bae7b7
Compare
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Three changes to the ML Move Boxes to Loading Zone workflow in
hangar_sim.Attach grasped box as a collision object
The pick/place subtree (
move_boxes_to_loading_zone_from_waypoint.xml) now, right after the vacuum grips a box:AddCollisionMesh— addspackage://hangar_sim/objectives/box.stlto the planning scene at the box's ICP-refined pose ({target_pose}, world frame), withoverwrite="true"so a re-picked id replaces the stale world entry.AttachObject— attaches it tograsp_link, with the suction-cup links allowed to touch it.On release at the loading zone it is
DetachObject-ed back into the world. This makes the move to the loading zone plan around the carried box instead of ignoring it.It also clears grasp-candidate markers each pick loop (
ClearAllVisualMarkers) so stalegrasp_*markers (lifetime 0 = persist forever) no longer accumulate in the 3D view.Reframe scene camera
Nudged the
scene_camera(and its paired optical-frame site) inhangar_scene.xmltoward the aircraft for better framing.Widen suction-cup collision
vacuum.xml: suction-cup collisionmargin/gapwidened0.02 -> 0.04.Notes
grasped_box: withoverwrite, only the most-recently-placed box persists as a world collision object (carry-time avoidance works every pick). A unique id per pick would persist every placed box; deferred as out of scope.Release notes
None