Added initial batch of behaviors
This commit is contained in:
53
toid_bt/behavior_trees/calibration_routines.xml
Normal file
53
toid_bt/behavior_trees/calibration_routines.xml
Normal file
@@ -0,0 +1,53 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<root BTCPP_format="4">
|
||||
<BehaviorTree ID="wheel_ratio_calibration">
|
||||
<Sequence>
|
||||
<Delay delay_msec="5000">
|
||||
<ZeroOdom service_name=""/>
|
||||
</Delay>
|
||||
<MovePointSimple x="1.0"
|
||||
y="0"
|
||||
theta="0"
|
||||
action_name=""/>
|
||||
<RotateSimple angle="180"
|
||||
radians="false"
|
||||
min_angle="0.000000"
|
||||
action_name=""/>
|
||||
<MovePointSimple x="0.4"
|
||||
y="0"
|
||||
theta="180"
|
||||
action_name=""/>
|
||||
</Sequence>
|
||||
</BehaviorTree>
|
||||
|
||||
<!-- Description of Node Models (used by Groot) -->
|
||||
<TreeNodesModel>
|
||||
<Action ID="MovePointSimple">
|
||||
<input_port name="x"
|
||||
type="double"/>
|
||||
<input_port name="y"
|
||||
type="double"/>
|
||||
<input_port name="theta"
|
||||
type="double"/>
|
||||
<input_port name="action_name"
|
||||
type="std::string">Action server name</input_port>
|
||||
</Action>
|
||||
<Action ID="RotateSimple">
|
||||
<input_port name="angle"
|
||||
type="double"/>
|
||||
<input_port name="radians"
|
||||
default="false"
|
||||
type="bool"/>
|
||||
<input_port name="min_angle"
|
||||
default="0.000000"
|
||||
type="double"/>
|
||||
<input_port name="action_name"
|
||||
type="std::string">Action server name</input_port>
|
||||
</Action>
|
||||
<Action ID="ZeroOdom">
|
||||
<input_port name="service_name"
|
||||
type="std::string">Service name</input_port>
|
||||
</Action>
|
||||
</TreeNodesModel>
|
||||
|
||||
</root>
|
||||
Reference in New Issue
Block a user