|
1 | | -<?xml version='1.0' encoding='utf-8'?> |
| 1 | +<?xml version="1.0" encoding="utf-8" ?> |
2 | 2 | <root BTCPP_format="4" main_tree_to_execute="Bring It"> |
3 | 3 | <!--//////////--> |
4 | | - <BehaviorTree ID="Bring It" _description="Bring beer to table" _favorite="true"> |
| 4 | + <BehaviorTree |
| 5 | + ID="Bring It" |
| 6 | + _description="Bring beer to table" |
| 7 | + _favorite="true" |
| 8 | + > |
5 | 9 | <Control ID="Sequence"> |
6 | | - <Action ID="CreateStampedPose" reference_frame="world" stamped_pose="{place_pose}" orientation_xyzw="0;1.0;0;0" position_xyz="-4.5;8.4;0.5"/> |
| 10 | + <Action |
| 11 | + ID="CreateStampedPose" |
| 12 | + reference_frame="world" |
| 13 | + stamped_pose="{place_pose}" |
| 14 | + orientation_xyzw="0;1.0;0;0" |
| 15 | + position_xyz="-4.5;8.4;0.5" |
| 16 | + /> |
7 | 17 | <Decorator ID="RetryUntilSuccessful" num_attempts="1000"> |
8 | 18 | <Decorator ID="ForceFailure"> |
9 | 19 | <Control ID="Sequence"> |
10 | 20 | <Control ID="Fallback"> |
11 | | - <SubTree ID="Bring It start from waypoint" waypoint_name="View Boxes" _collapsed="true" threshold="0.25" prompt="a small brown box" negative_prompts="yellow ladder;" prompts="small boxes" place_pose="{place_pose}" erosion_size="10"/> |
12 | | - <SubTree ID="Bring It start from waypoint" waypoint_name="View Boxes 2" place_pose="{place_pose}" threshold="0.4" _collapsed="true" prompts="small boxes" negative_prompts="gray;gray;rails" erosion_size="2"/> |
| 21 | + <SubTree |
| 22 | + ID="Bring It start from waypoint" |
| 23 | + waypoint_name="View Boxes" |
| 24 | + _collapsed="true" |
| 25 | + threshold="0.25" |
| 26 | + prompt="a small brown box" |
| 27 | + negative_prompts="yellow ladder;" |
| 28 | + prompts="small boxes" |
| 29 | + place_pose="{place_pose}" |
| 30 | + erosion_size="10" |
| 31 | + /> |
| 32 | + <SubTree |
| 33 | + ID="Bring It start from waypoint" |
| 34 | + waypoint_name="View Boxes 2" |
| 35 | + place_pose="{place_pose}" |
| 36 | + threshold="0.4" |
| 37 | + _collapsed="true" |
| 38 | + prompts="small boxes" |
| 39 | + negative_prompts="gray;gray;rails" |
| 40 | + erosion_size="2" |
| 41 | + /> |
13 | 42 | </Control> |
14 | | - <Action ID="TransformPose" input_pose="{place_pose}" output_pose="{place_pose}" translation_xyz="0.4;0;0"/> |
| 43 | + <Action |
| 44 | + ID="TransformPose" |
| 45 | + input_pose="{place_pose}" |
| 46 | + output_pose="{place_pose}" |
| 47 | + translation_xyz="0.4;0;0" |
| 48 | + /> |
15 | 49 | </Control> |
16 | 50 | </Decorator> |
17 | 51 | </Decorator> |
18 | 52 | </Control> |
19 | 53 | </BehaviorTree> |
20 | 54 | <TreeNodesModel> |
21 | | - <SubTree ID="Bring It"><MetadataFields> |
22 | | - <Metadata runnable="true"/> |
23 | | - </MetadataFields></SubTree> |
| 55 | + <SubTree ID="Bring It"> |
| 56 | + <MetadataFields> |
| 57 | + <Metadata runnable="true" /> |
| 58 | + </MetadataFields> |
| 59 | + </SubTree> |
24 | 60 | </TreeNodesModel> |
25 | 61 | </root> |
0 commit comments