-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathtimeout.xml
82 lines (80 loc) · 2.72 KB
/
timeout.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<?xml version="1.0" encoding="UTF-8"?>
<root BTCPP_format="4">
<BehaviorTree ID="timeout">
<Sequence>
<ScoreboardTask points="0"
task="INIT_DISPLAY"/>
<SubTree ID="init_up"
_autoremap="true"/>
<WaitMatchStart state="2"/>
<ForceSuccess>
<Timeout msec="100000">
<ForceSuccess>
<Sequence>
<ForceSuccess>
<Timeout msec="85000">
<Sequence>
<SubTree ID="blue_panel_simple"
_autoremap="true"/>
<Sleep msec="120000"/>
</Sequence>
</Timeout>
</ForceSuccess>
<RetryUntilSuccessful num_attempts="5">
<Sequence>
<Move goal="-0.48;-1.15;180"
ignore_obstacles="false"
linear_velocity="1.5"
frame_id="map"
angular_velocity="2.5"
mode="7"
linear_acceleration="1.0"
angular_acceleration="2.2"/>
<Sleep msec="300"/>
</Sequence>
</RetryUntilSuccessful>
<ScoreboardTask points="10"
task="FINISH"/>
<SubTree ID="init"
_autoremap="true"/>
<Sleep msec="120000"/>
</Sequence>
</ForceSuccess>
</Timeout>
</ForceSuccess>
</Sequence>
</BehaviorTree>
<!-- Description of Node Models (used by Groot) -->
<TreeNodesModel>
<Action ID="Move"
editable="true">
<input_port name="goal"/>
<inout_port name="ignore_obstacles"
default="true"/>
<input_port name="linear_velocity"
default="0.5"/>
<input_port name="frame_id"
default="map"/>
<input_port name="angular_velocity"
default="1.0"/>
<input_port name="mode"
default="7"/>
<input_port name="linear_acceleration"
default="0.8"/>
<input_port name="angular_acceleration"
default="1.8"/>
</Action>
<Action ID="ScoreboardTask"
editable="true">
<input_port name="points"
default="0">points scored, can be negative</input_port>
<input_port name="task"
default="store_sample_to_work_shed">unique task name</input_port>
</Action>
<Action ID="WaitMatchStart"
editable="true">
<input_port name="state"
default="2">0 = unarmed; 1 = armed; 2 = started</input_port>
</Action>
</TreeNodesModel>
</root>