Skip to content

Commit e2dd6df

Browse files
authored
Merge pull request #64 from PickNikRobotics/update-deprecated-for-each-type-behaviors
Update ForEach[Type] -> ForEach
2 parents 4e80374 + 77e3d93 commit e2dd6df

26 files changed

+32
-104
lines changed

src/lab_sim/objectives/pick_first_object_in_vector.xml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,7 @@
66
_subtreeOnly="true"
77
_description=""
88
>
9-
<Decorator
10-
ID="ForEachPoseStamped"
11-
vector_in="{pose_vector}"
12-
out="{grasp_pose}"
13-
>
9+
<Decorator ID="ForEach" vector_in="{pose_vector}" out="{grasp_pose}">
1410
<Control ID="Sequence">
1511
<Action
1612
ID="LoadObjectiveParameters"

src/lab_sim/objectives/place_first_object_in_vector.xml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,7 @@
66
_subtreeOnly="true"
77
_description=""
88
>
9-
<Decorator
10-
ID="ForEachPoseStamped"
11-
vector_in="{pose_vector}"
12-
out="{grasp_pose}"
13-
>
9+
<Decorator ID="ForEach" vector_in="{pose_vector}" out="{grasp_pose}">
1410
<Control ID="Sequence">
1511
<Action
1612
ID="LoadObjectiveParameters"

src/lab_sim/objectives/plan_to_pose.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<Action ID="SetupMTCCurrentState" task="{mtc_task}" />
1616
<Action ID="Script" code="pose_ctr := 0" />
1717
<Decorator
18-
ID="ForEachPoseStamped"
18+
ID="ForEach"
1919
vector_in="{target_poses}"
2020
out="{target_pose}"
2121
index="{index}"

src/lab_sim/objectives/run_sam2_onnx.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
timeout_sec="5.000000"
2828
/>
2929
<Action ID="GetMasks3DFromMasks2D" />
30-
<Decorator ID="ForEachMask3D" vector_in="{masks3d}" out="{mask3d}">
30+
<Decorator ID="ForEach" vector_in="{masks3d}" out="{mask3d}">
3131
<Action ID="GetPointCloudFromMask3D" point_cloud="{point_cloud}" />
3232
</Decorator>
3333
<Action ID="SendPointCloudToUI" point_cloud="{point_cloud_fragment}" />

src/moveit_pro_kinova_configs/kinova_gen3_mujoco_config/objectives/test.xml

Lines changed: 0 additions & 16 deletions
This file was deleted.

src/moveit_pro_mobile_manipulation/picknik_ur_mobile_config/objectives/pick_first_object_in_vector.xml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,7 @@
22
<root BTCPP_format="4" main_tree_to_execute="Pick first object in vector">
33
<!--//////////-->
44
<BehaviorTree ID="Pick first object in vector">
5-
<Decorator
6-
ID="ForEachPoseStamped"
7-
vector_in="{pose_vector}"
8-
out="{grasp_pose}"
9-
>
5+
<Decorator ID="ForEach" vector_in="{pose_vector}" out="{grasp_pose}">
106
<Control ID="Sequence">
117
<Action
128
ID="LoadObjectiveParameters"

src/moveit_pro_mobile_manipulation/picknik_ur_mobile_config/objectives/pick_object.xml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,7 @@
2626
output_poses="{output_poses}"
2727
/>
2828
<!--Flip the direction of the grasp pose-->
29-
<Decorator
30-
ID="ForEachPoseStamped"
31-
vector_in="{output_poses}"
32-
out="{flipped_pose}"
33-
>
29+
<Decorator ID="ForEach" vector_in="{output_poses}" out="{flipped_pose}">
3430
<Action
3531
ID="TransformPose"
3632
output_pose="{corrected_pose}"

src/moveit_pro_ur_configs/arm_on_rail_sim/objectives/pick_first_object_in_vector.xml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,7 @@
66
_subtreeOnly="true"
77
_description=""
88
>
9-
<Decorator
10-
ID="ForEachPoseStamped"
11-
vector_in="{pose_vector}"
12-
out="{grasp_pose}"
13-
>
9+
<Decorator ID="ForEach" vector_in="{pose_vector}" out="{grasp_pose}">
1410
<Control ID="Sequence">
1511
<Action
1612
ID="LoadObjectiveParameters"

src/moveit_pro_ur_configs/arm_on_rail_sim/objectives/place_first_object_in_vector.xml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,7 @@
66
_subtreeOnly="true"
77
_description=""
88
>
9-
<Decorator
10-
ID="ForEachPoseStamped"
11-
vector_in="{pose_vector}"
12-
out="{grasp_pose}"
13-
>
9+
<Decorator ID="ForEach" vector_in="{pose_vector}" out="{grasp_pose}">
1410
<Control ID="Sequence">
1511
<Action
1612
ID="LoadObjectiveParameters"

src/moveit_pro_ur_configs/picknik_ur_site_config/objectives/close_cabinet_door.xml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,7 @@
3636
neighbor_radius="0.1"
3737
output_poses="{output_poses}"
3838
/>
39-
<Decorator
40-
ID="ForEachPoseStamped"
41-
vector_in="{output_poses}"
42-
out="{pose}"
43-
>
39+
<Decorator ID="ForEach" vector_in="{output_poses}" out="{pose}">
4440
<Control ID="Sequence">
4541
<Action
4642
ID="TransformPose"

0 commit comments

Comments
 (0)