|
1 |
| -<?xml version="1.0" encoding="utf-8" ?> |
| 1 | +<?xml version="1.0" encoding="UTF-8" ?> |
2 | 2 | <root
|
3 | 3 | BTCPP_format="4"
|
4 | 4 | main_tree_to_execute="Move Boxes to Loading Zone Start from Waypoint"
|
|
36 | 36 | velocity_scale_factor="1.0"
|
37 | 37 | waypoint_name="{waypoint_name}"
|
38 | 38 | keep_orientation_link_names="grasp_link"
|
| 39 | + seed="0" |
39 | 40 | />
|
40 | 41 | <SubTree ID="Clear Snapshot" _collapsed="false" />
|
41 | 42 | <Decorator ID="Delay" delay_msec="2000">
|
|
105 | 106 | image="{image}"
|
106 | 107 | masks="{clip_masks2d}"
|
107 | 108 | masks_visualization_topic="/masks_visualization"
|
| 109 | + opacity="0.500000" |
108 | 110 | />
|
109 | 111 | <Decorator ID="Inverter">
|
110 | 112 | <Decorator
|
|
134 | 136 | image="{image}"
|
135 | 137 | masks="{masks2d}"
|
136 | 138 | masks_visualization_topic="/masks_visualization"
|
| 139 | + opacity="0.500000" |
137 | 140 | />
|
138 | 141 | <Action
|
139 | 142 | ID="GetMasks3DFromMasks2D"
|
|
180 | 183 | >
|
181 | 184 | <Control ID="Sequence">
|
182 | 185 | <Action
|
183 |
| - ID="LoadObjectiveParameters" |
184 |
| - parameters="{parameters}" |
185 |
| - config_file_name="box_picking_vacuum_config.yaml" |
| 186 | + ID="CreateStampedPose" |
| 187 | + reference_frame="world" |
| 188 | + stamped_pose="{ee_to_tcp}" |
| 189 | + position_xyz="0;0;0" |
| 190 | + orientation_xyzw="0;0;0;1" |
| 191 | + /> |
| 192 | + <Action |
| 193 | + ID="GetCurrentPlanningScene" |
| 194 | + planning_scene_msg="{planning_scene}" |
| 195 | + /> |
| 196 | + <Action |
| 197 | + ID="GenerateVacuumGraspPoses" |
| 198 | + ee_to_tcp_tf="{ee_to_tcp}" |
| 199 | + end_effector_group_name="gripper" |
| 200 | + generate_centroid_grasps="true" |
| 201 | + grasp_poses="{grasp_poses}" |
| 202 | + num_orientation_samples="20" |
| 203 | + padding_dimension="0.01" |
| 204 | + planning_scene_msg="{planning_scene}" |
| 205 | + samples_per_plane="2" |
| 206 | + target_object="{graspable_object}" |
| 207 | + ui_grasp_link="grasp_link" |
186 | 208 | />
|
187 | 209 | <Action
|
188 | 210 | ID="InitializeMTCTask"
|
189 | 211 | controller_names="/joint_trajectory_controller"
|
190 | 212 | task="{task}"
|
191 | 213 | task_id=""
|
| 214 | + trajectory_monitoring="false" |
192 | 215 | />
|
193 | 216 | <Action ID="SetupMTCCurrentState" task="{task}" />
|
194 | 217 | <Action
|
|
199 | 222 | task="{task}"
|
200 | 223 | />
|
201 | 224 | <Action
|
202 |
| - ID="SetupMTCApproachGrasp" |
203 |
| - parameters="{parameters}" |
204 |
| - target_object="{graspable_object}" |
205 |
| - monitored_stage="{monitored_stage}" |
| 225 | + ID="SetupMTCConnectWithTrajectory" |
| 226 | + constraints="{constraints}" |
| 227 | + planner_interface="pro_rrt" |
| 228 | + planning_group_name="manipulator" |
206 | 229 | task="{task}"
|
207 | 230 | />
|
208 | 231 | <Action
|
209 |
| - ID="SetupMTCGenerateVacuumGrasps" |
210 |
| - parameters="{parameters}" |
211 |
| - target_object="{graspable_object}" |
212 |
| - monitored_stage="{monitored_stage}" |
| 232 | + ID="SetupMTCMoveAlongFrameAxis" |
| 233 | + acceleration_scale="1.000000" |
| 234 | + axis_frame="grasp_link" |
| 235 | + axis_x="0.000000" |
| 236 | + axis_y="0.000000" |
| 237 | + axis_z="1.000000" |
| 238 | + hand_frame="grasp_link" |
| 239 | + ignore_environment_collisions="false" |
| 240 | + max_distance="0.2" |
| 241 | + min_distance="0.05" |
| 242 | + planning_group_name="manipulator" |
| 243 | + task="{task}" |
| 244 | + velocity_scale="1.000000" |
| 245 | + /> |
| 246 | + <Action |
| 247 | + ID="SetupMTCBatchPoseIK" |
| 248 | + end_effector_group="moveit_ee" |
| 249 | + end_effector_link="grasp_link" |
| 250 | + ik_group="manipulator" |
| 251 | + ik_timeout_s="0.01" |
| 252 | + max_ik_solutions="1" |
| 253 | + monitored_stage="allow collision (<octomap>, gripper)" |
| 254 | + target_poses="{grasp_poses}" |
213 | 255 | task="{task}"
|
214 | 256 | />
|
215 | 257 | <Control ID="Parallel" success_count="2" failure_count="1">
|
|
301 | 343 | </BehaviorTree>
|
302 | 344 | <TreeNodesModel>
|
303 | 345 | <SubTree ID="Move Boxes to Loading Zone Start from Waypoint">
|
| 346 | + <MetadataFields> |
| 347 | + <Metadata runnable="false" /> |
| 348 | + <Metadata subcategory="Application - Advanced Examples" /> |
| 349 | + </MetadataFields> |
304 | 350 | <input_port name="erosion_size" default="0" />
|
305 | 351 | <input_port name="negative_prompts" default="{negative_prompts}" />
|
306 | 352 | <input_port name="place_pose" default="{place_pose}" />
|
307 | 353 | <inout_port name="prompt" default="{prompt}" />
|
308 | 354 | <input_port name="prompts" default="{prompts}" />
|
309 | 355 | <input_port name="threshold" default="{threshold}" />
|
310 | 356 | <input_port name="waypoint_name" default="View Boxes" />
|
311 |
| - <MetadataFields> |
312 |
| - <Metadata runnable="false" /> |
313 |
| - <Metadata subcategory="Application - Advanced Examples" /> |
314 |
| - </MetadataFields> |
315 | 357 | </SubTree>
|
316 | 358 | </TreeNodesModel>
|
317 | 359 | </root>
|
0 commit comments