30 lines
863 B
XML
30 lines
863 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<root BTCPP_format="4">
|
|
<BehaviorTree ID="Untitled">
|
|
<Sequence>
|
|
<SetBlackboard name="InitBT"
|
|
value="param_name"
|
|
output_key="param_values"/>
|
|
<Fallback>
|
|
<ReactiveSequence>
|
|
<GoToPose PoseArray="{param}"
|
|
robot_name="{robot_name}"/>
|
|
<AproachObject/>
|
|
</ReactiveSequence>
|
|
<AlwaysSuccess name="DoSomethingElse"/>
|
|
</Fallback>
|
|
</Sequence>
|
|
</BehaviorTree>
|
|
|
|
<!-- Description of Node Models (used by Groot) -->
|
|
<TreeNodesModel>
|
|
<Condition ID="AproachObject"
|
|
editable="true"/>
|
|
<Action ID="GoToPose"
|
|
editable="true">
|
|
<input_port name="PoseArray">Load from outside</input_port>
|
|
<input_port name="robot_name"/>
|
|
</Action>
|
|
</TreeNodesModel>
|
|
|
|
</root>
|