-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlogistic_tree.xml
57 lines (56 loc) · 2.01 KB
/
logistic_tree.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<root main_tree_to_execute="BehaviorTree">
<!--------------------------------------->
<BehaviorTree ID="BehaviorTree">
<Root>
<SequenceStar name="MoveBox">
<Action ID="WaitForJob"/>
<Action ID="MoveTo" GoalID="${source}"/>
<SubTree ID="LoadBox"/>
<Action ID="MoveTo" GoalID="${destination}"/>
<SubTree ID="UnloadBox"/>
</SequenceStar>
</Root>
</BehaviorTree>
<!--------------------------------------->
<BehaviorTree ID="LoadBox">
<Root>
<SequenceStar name="DockAndLoad">
<Action ID="DockToStation_Laser"/>
<Action ID="DockToStation_IR"/>
<Action ID="LoadBoxFromStation"/>
<Action ID="UndockFromStation"/>
</SequenceStar>
</Root>
</BehaviorTree>
<!--------------------------------------->
<BehaviorTree ID="UnloadBox">
<Root>
<SequenceStar name="DockAndUnload">
<Action ID="DockToStation_Laser"/>
<Action ID="DockToStation_IR"/>
<Action ID="UnloadBoxToStation"/>
<Action ID="UndockFromStation"/>
</SequenceStar>
</Root>
</BehaviorTree>
<!--------------------------------------->
<TreeNodesModel>
<Action ID="DockToCharger"/>
<Action ID="DockToStation_IR"/>
<Action ID="DockToStation_Laser"/>
<SubTree ID="LoadBox"/>
<Action ID="LoadBoxFromStation"/>
<Action ID="ManualLoadFromHuman"/>
<Action ID="ManualUnloadToHuman"/>
<Action ID="MoveTo">
<Parameter label="GoalID" default="ID"/>
</Action>
<Action ID="UndockFromCharger"/>
<Action ID="UndockFromStation"/>
<SubTree ID="UnloadBox"/>
<Action ID="UnloadBoxToStation"/>
<Action ID="UnloadFromStation"/>
<Action ID="WaitForJob"/>
</TreeNodesModel>
<!--------------------------------------->
</root>