|
1 | 1 | <?xml version="1.0" encoding="UTF-8" ?> |
2 | | -<root BTCPP_format="4" main_tree_to_execute="Admittance Demo"> |
| 2 | +<root BTCPP_format="4" main_tree_to_execute="Stationary Admittance"> |
3 | 3 | <!--//////////--> |
4 | 4 | <BehaviorTree |
5 | | - ID="Admittance Demo" |
6 | | - _description="Reconfoobling the admitt-o-matron." |
| 5 | + ID="Stationary Admittance" |
| 6 | + _description="Puts the arm into Cartesian admittance mode" |
7 | 7 | _favorite="false" |
8 | 8 | > |
9 | 9 | <Control ID="Sequence" name="TopLevelSequence"> |
10 | 10 | <SubTree |
11 | 11 | ID="Move to Waypoint" |
12 | 12 | _collapsed="true" |
13 | | - controller_names="/joint_trajectory_controller" |
| 13 | + controller_names="joint_trajectory_controller" |
14 | 14 | planner_interface="moveit_default" |
15 | 15 | waypoint_name="Home" |
16 | 16 | acceleration_scale_factor="1.0" |
|
42 | 42 | </Decorator> |
43 | 43 | <Action |
44 | 44 | ID="SetAdmittanceParameters" |
45 | | - config_file_name="confooble.yaml" |
| 45 | + config_file_name="stationary_admittance.yaml" |
46 | 46 | admittance_parameters_msg="{admittance_parameters_msg}" |
47 | 47 | /> |
48 | 48 | <Action |
|
59 | 59 | ID="CreateStationaryTrajectory" |
60 | 60 | joint_state="{joint_state}" |
61 | 61 | joint_trajectory_msg="{joint_trajectory_msg}" |
62 | | - trajectory_duration="-1.0" |
| 62 | + trajectory_duration="10" |
| 63 | + /> |
| 64 | + <Action |
| 65 | + ID="LogMessage" |
| 66 | + log_level="info" |
| 67 | + message="Running admittance mode for 10 seconds" |
63 | 68 | /> |
64 | 69 | <Action |
65 | 70 | ID="ExecuteTrajectoryWithAdmittance" |
|
74 | 79 | </Control> |
75 | 80 | </BehaviorTree> |
76 | 81 | <TreeNodesModel> |
77 | | - <SubTree ID="Admittance Demo"> |
| 82 | + <SubTree ID="Stationary Admittance"> |
78 | 83 | <MetadataFields> |
79 | 84 | <Metadata runnable="true" /> |
80 | 85 | <Metadata subcategory="Application - Advanced Examples" /> |
|
0 commit comments