forked from BehaviorTree/BehaviorTree.ROS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample_node_model.xml
More file actions
27 lines (27 loc) · 1.43 KB
/
example_node_model.xml
File metadata and controls
27 lines (27 loc) · 1.43 KB
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
<root BTCPP_format="4">
<TreeNodesModel>
<Action ID="AddTwoInts">
<input_port name="service_name" type="std::string">name of the ROS service</input_port>
<input_port name="timeout" type="unsigned int" default="100">timeout to connect to server (milliseconds)</input_port>
<input_port name="first_int" type="int"/>
<input_port name="second_int" type="int"/>
<output_port name="sum" type="int"/>
</Action>
<Action ID="Fibonacci">
<input_port name="order" type="int"/>
<input_port name="server_name" type="std::string">name of the Action Server</input_port>
<input_port name="timeout" type="unsigned int" default="500">timeout to connect (milliseconds)</input_port>
<output_port name="result" type="int"/>
</Action>
<Condition ID="CheckBool">
<input_port name="queue_size" type="unsigned int" default="1">queue size</input_port>
<input_port name="topic_name" type="std::string">name of the ROS topic</input_port>
</Condition>
<Action ID="SendBool">
<input_port name="queue_size" type="unsigned int" default="1">queue size</input_port>
<input_port name="topic_name" type="std::string">name of the ROS topic</input_port>
<Action ID="PrintValue">
<input_port name="message" type="int"/>
</Action>
</TreeNodesModel>
</root>