-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
24 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,17 @@ | ||
<root main_tree_to_execute="MainTree"> | ||
<BehaviorTree ID="MainTree"> | ||
<PipelineSequence name="NavigateWithReplanning"> | ||
<ControllerSelector selected_controller="{selected_controller}" default_controller="FollowPath" topic_name="controller_selector"/> | ||
<PlannerSelector selected_planner="{selected_planner}" default_planner="GridBased" topic_name="planner_selector"/> | ||
<RateController hz="1.0"> | ||
<Sequence> | ||
<GoalUpdater input_goal="{goal}" output_goal="{updated_goal}"> | ||
<ComputePathToPose goal="{updated_goal}" path="{path}" planner_id="{selected_planner}"/> | ||
</GoalUpdater> | ||
<TruncatePath distance="3.0" input_path="{path}" output_path="{truncated_path}"/> | ||
</Sequence> | ||
</RateController> | ||
<KeepRunningUntilFailure> | ||
<FollowPath path="{truncated_path}" controller_id="{selected_controller}"/> | ||
</KeepRunningUntilFailure> | ||
</PipelineSequence> | ||
<PipelineSequence name="NavigateWithReplanning"> | ||
<RateController hz="1.0"> | ||
<Sequence> | ||
<GoalUpdater input_goal="{goal}" output_goal="{updated_goal}"> | ||
<ComputePathToPose goal="{updated_goal}" path="{path}" planner_id="GridBased"/> | ||
</GoalUpdater> | ||
<TruncatePath distance="2.0" input_path="{path}" output_path="{truncated_path}"/> | ||
</Sequence> | ||
</RateController> | ||
<KeepRunningUntilFailure> | ||
<FollowPath path="{truncated_path}" controller_id="FollowPath"/> | ||
</KeepRunningUntilFailure> | ||
</PipelineSequence> | ||
</BehaviorTree> | ||
</root> | ||
</root> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters