Skip to content
Snippets Groups Projects
Unverified Commit d0782954 authored by Mohammad Haghighipanah's avatar Mohammad Haghighipanah Committed by GitHub
Browse files

Created BT for recovery and parallel planning (#716)

* added parallel planning to recovery tree

* make the parallel+recovery default
parent af6b8cdd
No related branches found
No related tags found
No related merge requests found
<root main_tree_to_execute="BehaviorTree">
<BehaviorTree ID="BehaviorTree">
<RetryUntilSuccesful name="retry_navigate" num_attempts="7">
<FallbackStar>
<SequenceStar name="navigate">
<ComputePathToPose endpoints="${endpoints}" path="${path}"/>
<FollowPath path="${path}"/>
<!--
This Behavior Tree replans the global path periodically at 1 Hz and it also has primitive
recovery actions.
-->
<root main_tree_to_execute="MainTree">
<BehaviorTree ID="MainTree">
<RetryUntilSuccesful name="retry_navigate" num_attempts="6">
<Fallback>
<SequenceStar>
<ComputePathToPose goal="${goal}" path="${path}"/>
<Sequence>
<Fallback>
<GoalReached/>
<RateController hz="1.0">
<Sequence>
<ComputePathToPose goal="${goal}" path="${path}"/>
<UpdatePath/>
</Sequence>
</RateController>
</Fallback>
<FollowPath path="${path}"/>
</Sequence>
</SequenceStar>
<ForceFailure>
<SequenceStar name="recovery">
......@@ -13,8 +28,7 @@
<Spin/>
</SequenceStar>
</ForceFailure>
</FallbackStar>
</Fallback>
</RetryUntilSuccesful>
</BehaviorTree>
</root>
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment