Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iri_ros_scripts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
labrobotica
ros
iri_core
iri_ros_scripts
Commits
8f88f255
Commit
8f88f255
authored
5 years ago
by
Fernando Herrero
Browse files
Options
Downloads
Patches
Plain Diff
Driver alg node.cpp: update config variable with new_cfg
parent
88ce22b3
No related branches found
No related tags found
1 merge request
!4
Updates
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
driver_templates/template_driver_node.cpp
+1
-0
1 addition, 0 deletions
driver_templates/template_driver_node.cpp
with
1 addition
and
0 deletions
driver_templates/template_driver_node.cpp
+
1
−
0
View file @
8f88f255
...
...
@@ -69,6 +69,7 @@ void TemplateNode::node_config_update(Config& new_cfg, uint32_t level)
this
->
driver_
.
lock
();
if
(
new_cfg
.
rate
!=
this
->
getRate
())
this
->
setRate
(
new_cfg
.
rate
);
this
->
config_
=
new_cfg
;
this
->
driver_
.
unlock
();
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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