Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
2
210910794
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Summer2021
210910794
Commits
f00fa267
Commit
f00fa267
authored
5 years ago
by
Michael Jeronimo
Committed by
Carl Delsey
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
A couple missed changes to bt_navigator
parent
92b0ef2f
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
nav2_bt_navigator/behavior_trees/simple_sequential.xml
+3
-6
3 additions, 6 deletions
nav2_bt_navigator/behavior_trees/simple_sequential.xml
nav2_bt_navigator/src/bt_navigator.cpp
+1
-1
1 addition, 1 deletion
nav2_bt_navigator/src/bt_navigator.cpp
with
4 additions
and
7 deletions
nav2_bt_navigator/behavior_trees/simple_sequential.xml
+
3
−
6
View file @
f00fa267
<!--
This Behavior Tree does the bare minimum - it invokes ComputePathToPose to
compute a path using the global planner. It then invokes the local planner
(FollowPath) with this path. The path endpoints (input to the global planner)
and the resulting path (output of the global planner and input to the local
planner) are passed on the blackboard.
This Behavior Tree does the minimum - it invokes ComputePathToPose once to compute a path
using the global planner. It then invokes the local planner (FollowPath) with this path.
-->
<root
main_tree_to_execute=
"MainTree"
>
<BehaviorTree
ID=
"MainTree"
>
<SequenceStar
name=
"root"
>
<ComputePathToPose
goal=
"${goal}"
path=
"${path}"
/>
<ComputePathToPose
goal=
"${goal}"
/>
<FollowPath
path=
"${path}"
/>
</SequenceStar>
</BehaviorTree>
...
...
This diff is collapsed.
Click to expand it.
nav2_bt_navigator/src/bt_navigator.cpp
+
1
−
1
View file @
f00fa267
...
...
@@ -51,7 +51,7 @@ BtNavigator::on_configure(const rclcpp_lifecycle::State & /*state*/)
self_client_
=
rclcpp_action
::
create_client
<
nav2_msgs
::
action
::
NavigateToPose
>
(
client_node_
,
"NavigateToPose"
);
goal_sub_
=
rclcpp_node_
->
create_subscription
<
geometry_msgs
::
msg
::
PoseStamped
>
(
"goal"
,
goal_sub_
=
rclcpp_node_
->
create_subscription
<
geometry_msgs
::
msg
::
PoseStamped
>
(
"
/move_base_simple/
goal"
,
rclcpp
::
SystemDefaultsQoS
(),
std
::
bind
(
&
BtNavigator
::
onGoalPoseReceived
,
this
,
std
::
placeholders
::
_1
));
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment