Go to the source code of this file.
◆ main()
◆ xml_A
Initial value:= R"(
<root main_tree_to_execute = "TreeA" >
<BehaviorTree ID="TreeA">
<Sequence>
<GenerateWaypoints waypoints="{waypoints}" />
<QueueSize queue="{waypoints}" size="{wp_size}" />
<Repeat num_cycles="{wp_size}" >
<Sequence>
<PopFromQueue queue="{waypoints}" popped_item="{wp}" />
<UseWaypoint waypoint="{wp}" />
</Sequence>
</Repeat>
</Sequence>
</BehaviorTree>
</root>
)"
Definition at line 142 of file ex04_waypoints.cpp.
◆ xml_B
Initial value:= R"(
<root main_tree_to_execute = "TreeB" >
<BehaviorTree ID="TreeB">
<Sequence>
<GenerateWaypoints waypoints="{waypoints}" />
<ConsumeQueue queue="{waypoints}" popped_item="{wp}">
<UseWaypoint waypoint="{wp}" />
</ConsumeQueue>
</Sequence>
</BehaviorTree>
</root>
)"
Definition at line 159 of file ex04_waypoints.cpp.
◆ xml_implicit
Initial value:= R"(
<root main_tree_to_execute = "TreeImplicit" >
<BehaviorTree ID="TreeImplicit">
<Sequence>
<GenerateWaypoints waypoints="{waypoints}" />
<KeepRunningUntilFailure>
<UseWaypointQueue waypoints="{waypoints}" />
</KeepRunningUntilFailure>
</Sequence>
</BehaviorTree>
</root>
)"
Definition at line 128 of file ex04_waypoints.cpp.