Skip to content
This repository has been archived by the owner on Dec 13, 2024. It is now read-only.

Replace use of ForEachCollisionObject with ForEachGraspableObject #74

Merged
merged 1 commit into from
Jul 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@
<!-- Detect all cuboids in that point cloud-->
<Action ID="FindSingularCuboids" point_cloud="{point_cloud}" parameters="{parameters}" detected_shapes="{cuboids}"/>

<!-- Get the first detected cuboid. NOTE: this is a small hack to get ForEachCollisionObject to iterate just once, which returns the first object in the vector. -->
<!-- Get the first detected cuboid. NOTE: this is a small hack to get ForEachGraspableObject to iterate just once, which returns the first object in the vector. -->
<Control ID="Sequence">
<Decorator ID="ForceSuccess">
<Decorator ID="ForEachCollisionObject" vector_in="{cuboids}" out="{cuboid_object}">
<Decorator ID="ForEachGraspableObject" vector_in="{cuboids}" out="{cuboid_object}">
<Control ID="Sequence">
<Action ID="AlwaysFailure"/>
</Control>
Expand Down