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
d01308ee
Commit
d01308ee
authored
5 years ago
by
bpwilcox
Browse files
Options
Downloads
Patches
Plain Diff
activate/deactivate velocity publisher
parent
126464ca
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
nav2_recoveries/include/nav2_recoveries/recovery.hpp
+3
-1
3 additions, 1 deletion
nav2_recoveries/include/nav2_recoveries/recovery.hpp
with
3 additions
and
1 deletion
nav2_recoveries/include/nav2_recoveries/recovery.hpp
+
3
−
1
View file @
d01308ee
...
...
@@ -130,18 +130,20 @@ public:
void
activate
()
override
{
vel_pub_
->
on_activate
();
enabled_
=
true
;
}
void
deactivate
()
override
{
vel_pub_
->
on_deactivate
();
enabled_
=
false
;
}
protected
:
rclcpp_lifecycle
::
LifecycleNode
::
SharedPtr
node_
;
std
::
string
recovery_name_
;
rclcpp
::
Publisher
<
geometry_msgs
::
msg
::
Twist
>::
SharedPtr
vel_pub_
;
rclcpp
_lifecycle
::
Lifecycle
Publisher
<
geometry_msgs
::
msg
::
Twist
>::
SharedPtr
vel_pub_
;
std
::
shared_ptr
<
tf2_ros
::
Buffer
>
tf_
;
std
::
unique_ptr
<
ActionServer
>
action_server_
;
...
...
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