-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bringing back dynamic parameters: Amcl #1378
Bringing back dynamic parameters: Amcl #1378
Conversation
This also has the costmap stuff in it too. Is there a way to update the parameters without resetting the filter? That makes it challenging to effectively tune. |
Yes, sorry, I had intended to clean up these PRs, but hadn't. Maybe I can separate the PR adding the
Well, firstly, this behavior matches the ROS1 behavior. I do think, however, we could check for if certain parameters have been changed that are relevant to resetting the filter, though. |
Well I think the Costmap one can go in soon so I wouldn't go too far out of your way. Maybe this is why I hated dynamic reconfigure... OK. I have no issue here then once the costmap stuff is backed out |
setRobotFootprint(new_footprint); | ||
} | ||
} | ||
map_update_thread_ = new std::thread(std::bind( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As we discussed in our meeting, we shouldn't recreate the thread on every parameter update. The parameter changes should only impact those resources that actually depend on their values. Should be more granular in the responses to parameter changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will address in another PR
6f34c06
to
5131fad
Compare
Codecov Report
@@ Coverage Diff @@
## master #1378 +/- ##
=========================================
Coverage ? 25.27%
=========================================
Files ? 235
Lines ? 11504
Branches ? 3714
=========================================
Hits ? 2908
Misses ? 6618
Partials ? 1978
Continue to review full report at Codecov.
|
This is primarily a direct port of the callback (though refactored) for the ROS1 navigation
reconfiugreCB
.