21 lines
898 B
XML
21 lines
898 B
XML
<?xml version='1.0' encoding='utf-8'?>
|
|
<root BTCPP_format="4">
|
|
<BehaviorTree ID="Place">
|
|
<Sequence>
|
|
|
|
<Script code="action:='/mtp_jtc'"/>
|
|
<Script code="get_workspace:='/get_workspace'"/>
|
|
|
|
<Action ID="GetGraspPlacePose" action_name="place" pre_pose="{preplace}" pose="{place}" post_pose="{postplace}" service_name="/get_pick_place_poses"/>
|
|
|
|
<Action ID="MoveToPose" pose="{preplace}" robot_name="{robot_name}" duration="2" action_name="{action}" />
|
|
<Action ID="MoveToPose" pose="{place}" robot_name="{robot_name}" duration="2" action_name="{action}" />
|
|
<Action ID="ToggleVacuumGrippper" enable="false" service_name="/gz_ros2_vacuum_gripper_plugin/toggle" />
|
|
<Action ID="MoveToPose" pose="{postplace}" robot_name="{robot_name}" duration="2" action_name="{action}" />
|
|
|
|
</Sequence>
|
|
</BehaviorTree>
|
|
|
|
<TreeNodesModel>
|
|
</TreeNodesModel>
|
|
</root>
|