11<root BTCPP_format =" 4" main_tree_to_execute =" Move to Waypoint" >
2- <BehaviorTree ID =" Move to Waypoint" _description =" This Objective is used when moving to one of the saved waypoints in your site configuration" _subtreeOnly =" true" >
3- <Control ID =" Sequence" name =" root" >
4- <Action ID =" RetrieveWaypoint" waypoint_joint_state =" {target_joint_state}" waypoint_name =" {waypoint_name}" joint_group_name =" {joint_group_name}" />
5- <Action ID =" InitializeMTCTask" task_id =" move_to_named_pose" controller_names =" {controller_names}" task =" {move_to_waypoint_task}" />
6- <Action ID =" SetupMTCCurrentState" task =" {move_to_waypoint_task}" />
7- <Action ID =" SetupMTCMoveToJointState" joint_state =" {target_joint_state}" name =" SetupMTCMoveToJointState" planning_group_name =" {joint_group_name}" planner_interface =" {planner_interface}" constraints =" {constraints}" task =" {move_to_waypoint_task}" />
8- <Action ID =" PlanMTCTask" solution =" {move_to_waypoint_solution}" task =" {move_to_waypoint_task}" />
9- <Action ID =" BlockingExecuteMTCTask" solution =" {move_to_waypoint_solution}" />
10- </Control >
11- </BehaviorTree >
12- <TreeNodesModel >
13- <SubTree ID =" Move to Waypoint" >
14- <input_port name =" waypoint_name" default =" Point A" />
15- <input_port name =" joint_group_name" default =" manipulator" />
16- <input_port name =" planner_interface" default =" moveit_default" />
17- <input_port name =" controller_names" default =" /joint_trajectory_controller" />
18- </SubTree >
19- </TreeNodesModel >
20- </root >
2+ <BehaviorTree
3+ ID =" Move to Waypoint"
4+ _description =" This Objective is used when moving to one of the saved waypoints in your site configuration"
5+ _subtreeOnly =" true"
6+ >
7+ <Control ID =" Sequence" name =" root" >
8+ <Action
9+ ID =" RetrieveWaypoint"
10+ waypoint_joint_state =" {target_joint_state}"
11+ waypoint_name =" {waypoint_name}"
12+ joint_group_name =" {joint_group_name}"
13+ />
14+ <Action
15+ ID =" InitializeMTCTask"
16+ task_id =" move_to_named_pose"
17+ controller_names =" {controller_names}"
18+ task =" {move_to_waypoint_task}"
19+ />
20+ <Action ID =" SetupMTCCurrentState" task =" {move_to_waypoint_task}" />
21+ <Action
22+ ID =" SetupMTCMoveToJointState"
23+ joint_state =" {target_joint_state}"
24+ name =" SetupMTCMoveToJointState"
25+ planning_group_name =" {joint_group_name}"
26+ planner_interface =" {planner_interface}"
27+ constraints =" {constraints}"
28+ task =" {move_to_waypoint_task}"
29+ />
30+ <Action
31+ ID =" PlanMTCTask"
32+ solution =" {move_to_waypoint_solution}"
33+ task =" {move_to_waypoint_task}"
34+ />
35+ <Action
36+ ID =" BlockingExecuteMTCTask"
37+ solution =" {move_to_waypoint_solution}"
38+ />
39+ </Control >
40+ </BehaviorTree >
41+ <TreeNodesModel >
42+ <SubTree ID =" Move to Waypoint" >
43+ <input_port name =" waypoint_name" default =" Point A" />
44+ <input_port name =" joint_group_name" default =" manipulator" />
45+ <input_port name =" planner_interface" default =" moveit_default" />
46+ <input_port
47+ name =" controller_names"
48+ default =" /joint_trajectory_controller"
49+ />
50+ <MetadataFields >
51+ <Metadata subcategory =" Motion - Execute" />
52+ </MetadataFields >
53+ </SubTree >
54+ </TreeNodesModel >
55+ </root >
0 commit comments