File tree Expand file tree Collapse file tree 4 files changed +73
-1
lines changed Expand file tree Collapse file tree 4 files changed +73
-1
lines changed Original file line number Diff line number Diff line change 28
28
<include path =" skill_put_cherry_up.xml" />
29
29
<include path =" skill_put_one_cherry.xml" />
30
30
<include path =" skill_take_cherry_blue_start.xml" />
31
+ <include path =" skill_take_side_cherry.xml" />
31
32
<include path =" small_homologation.xml" />
32
33
<include path =" small_strategy.xml" />
33
34
<include path =" small_strategy_demo.xml" />
Original file line number Diff line number Diff line change 14
14
node =" {node}"
15
15
table =" {table}" />
16
16
</ForceSuccess >
17
- <Wait duration =" 1 " />
17
+ <Wait duration =" 2 " />
18
18
<CanbusSend can_id =" 27650"
19
19
message =" 0" />
20
20
</TaskSequence >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <root BTCPP_format =" 4" >
3
+ <BehaviorTree ID =" skill_take_side_cherry" >
4
+ <Sequence >
5
+ <Navigate behavior_tree =" 0.2;1.08;90"
6
+ goal =" " />
7
+ <Sequence >
8
+ <ForceSuccess >
9
+ <CanbusSend can_id =" 27650"
10
+ message =" 250" />
11
+ </ForceSuccess >
12
+ <Wait duration =" 0.2" />
13
+ <SubTree ID =" move_cherry"
14
+ color =" {color}"
15
+ goal =" 0.2;1.15;90"
16
+ node =" {node}"
17
+ table =" {table}" />
18
+ <Wait duration =" 2" />
19
+ <ForceSuccess >
20
+ <CanbusSend can_id =" 27650"
21
+ message =" 250" />
22
+ </ForceSuccess >
23
+ </Sequence >
24
+ </Sequence >
25
+ </BehaviorTree >
26
+
27
+ <!-- Description of Node Models (used by Groot) -->
28
+ <TreeNodesModel >
29
+ <Action ID =" CanbusSend"
30
+ editable =" true" >
31
+ <input_port name =" can_id" >For example, 0x12345</input_port >
32
+ <input_port name =" message" >For example, 0x32;0x34</input_port >
33
+ </Action >
34
+ <Action ID =" Navigate"
35
+ editable =" true" >
36
+ <input_port name =" behavior_tree" />
37
+ <input_port name =" goal" />
38
+ </Action >
39
+ <Action ID =" Wait"
40
+ editable =" true" >
41
+ <input_port name =" duration" />
42
+ </Action >
43
+ </TreeNodesModel >
44
+
45
+ </root >
Original file line number Diff line number Diff line change 29
29
node =" {node}"
30
30
table =" {table}" />
31
31
</ForceSuccess >
32
+ <ForceSuccess >
33
+ <Sequence >
34
+ <Translate goal =" 0.3"
35
+ max_acceleration =" 0.5"
36
+ max_velocity =" 0.8" />
37
+ <SubTree ID =" skill_take_side_cherry"
38
+ color =" {color}"
39
+ node =" {node}"
40
+ table =" {table}" />
41
+ <ForceSuccess >
42
+ <SubTree ID =" skill_basket_blue"
43
+ color =" {color}"
44
+ node =" {node}"
45
+ table =" {table}" />
46
+ </ForceSuccess >
47
+ </Sequence >
48
+ </ForceSuccess >
32
49
</TaskSequence >
33
50
</Timeout >
34
51
</ForceSuccess >
88
105
</Action >
89
106
<Control ID =" TaskSequence"
90
107
editable =" true" />
108
+ <Action ID =" Translate"
109
+ editable =" true" >
110
+ <input_port name =" goal"
111
+ default =" 0" />
112
+ <input_port name =" max_acceleration"
113
+ default =" 0.5" />
114
+ <input_port name =" max_velocity"
115
+ default =" 0.8" />
116
+ </Action >
91
117
<Action ID =" WaitMatchStart"
92
118
editable =" true" >
93
119
<input_port name =" state"
You can’t perform that action at this time.
0 commit comments