Use the new declare_or_get_parameter API for nav2_costmap_2d#5659
Use the new declare_or_get_parameter API for nav2_costmap_2d#5659leander-dsouza wants to merge 2 commits intoros-navigation:mainfrom
Conversation
|
Should I replace the Layer's declareParameter() calls as well? I have tried replacing all |
… style. Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com>
Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com>
c12057b to
aabe5bc
Compare
Codecov Report✅ All modified and coverable lines are covered by tests.
... and 23 files with indirect coverage changes 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
How do you think we should migrate the remaining declares in the costmap 2D ROS node so that we have them consistent?
Also, should we also look at the layers?
Sorry for the delay, I was out for ROSCon and then a short vacation afterwards. I'm back this week :-)
|
@leander-dsouza any updates? |
|
Hi @leander-dsouza, I'll take over this since there hasn't been any recent activity. Thanks a lot for your effort here! |
Basic Info
Description of contribution in a few bullet points
get_parameteranddeclare_parameterfields to use the newdeclare_or_get_parameterAPI for nav2_costmap_2d.costmap_2d_ros.cpp, as the test setup requires these parameters to be declared in theinit()function.set_parameter()calls in the tests that are followed bydeclare_parametercalls.Description of documentation updates required from your changes
Description of how this change was tested
pre-commit run --alland testing locally usingcolcon testFuture work that may be required in bullet points
For Maintainers:
backport-*.