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

Commit

Permalink
replace use of ForEachCollisionObject with ForEachGraspableObject (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
schornakj authored Jul 27, 2023
1 parent f4d0f16 commit 7665566
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 7665566

Please sign in to comment.