-
Notifications
You must be signed in to change notification settings - Fork 7
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
3 changed files
with
19 additions
and
36 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,18 @@ | ||
<root main_tree_to_execute="MainTree"> | ||
<BehaviorTree ID="MainTree"> | ||
<RecoveryNode number_of_retries="6" name="NavigateRecovery"> | ||
<PipelineSequence> | ||
<RateController hz="1.0" name="RateControllerComputePathToPose"> | ||
<RecoveryNode number_of_retries="1" name="RecoveryComputePathToPose"> | ||
<Fallback name="FallbackComputePathToPose"> | ||
<ReactiveSequence name="CheckIfNewPathNeeded"> | ||
<Inverter> | ||
<GlobalUpdatedGoal/> | ||
</Inverter> | ||
<IsPathValid path="{path}"/> | ||
</ReactiveSequence> | ||
<ComputePathToPose goal="{goal}" path="{path}" planner_id="GridBased"/> | ||
</Fallback> | ||
<ClearEntireCostmap name="ClearGlobalCostmap-Context" service_name="global_costmap/clear_entirely_global_costmap"/> | ||
</RecoveryNode> | ||
</RateController> | ||
<RecoveryNode number_of_retries="1" name="RecoveryFollowPath"> | ||
<FollowPath path="{path}" controller_id="FollowPath"/> | ||
<ClearEntireCostmap name="ClearLocalCostmap-Context" service_name="local_costmap/clear_entirely_local_costmap"/> | ||
</RecoveryNode> | ||
</PipelineSequence> | ||
<ReactiveFallback name="FallbackRecoveries"> | ||
<GoalUpdated/> | ||
<RoundRobin name="RecoveryActions"> | ||
<Sequence name="ClearingActions"> | ||
<ClearEntireCostmap name="ClearLocalCostmap-Subtree" service_name="local_costmap/clear_entirely_local_costmap"/> | ||
<ClearEntireCostmap name="ClearGlobalCostmap-Subtree" service_name="global_costmap/clear_entirely_global_costmap"/> | ||
</Sequence> | ||
<Wait name="WaitRecovery" wait_duration="5"/> | ||
<BackUp name="BackUpRecovery" backup_dist="0.1" backup_speed="0.05"/> | ||
</RoundRobin> | ||
</ReactiveFallback> | ||
</RecoveryNode> | ||
<PipelineSequence name="NavigateWithReplanning"> | ||
<RateController hz="1.0"> | ||
<Fallback> | ||
<ReactiveSequence> | ||
<Inverter> | ||
<GlobalUpdatedGoal/> | ||
</Inverter> | ||
<IsPathValid path="{path}"/> | ||
</ReactiveSequence> | ||
<ComputePathToPose goal="{goal}" path="{path}" planner_id="GridBased"/> | ||
</Fallback> | ||
</RateController> | ||
<FollowPath path="{path}" controller_id="FollowPath"/> | ||
</PipelineSequence> | ||
</BehaviorTree> | ||
</root> |