Use the new declare_or_get_parameter API for nav2_behavior_tree#5552
Conversation
e899f63 to
97893c5
Compare
Codecov Report✅ All modified and coverable lines are covered by tests.
... and 11 files with indirect coverage changes 🚀 New features to boost your workflow:
|
SteveMacenski
left a comment
There was a problem hiding this comment.
This is admittedly a hard node to start this project out with, possibly the most complex one with the most trade offs that need to be made for how parameters are processed.
Does this completely handle all parameter calls? I feel like there are alot more in this package
nav2_behavior_tree/include/nav2_behavior_tree/bt_action_server_impl.hpp
Outdated
Show resolved
Hide resolved
nav2_behavior_tree/include/nav2_behavior_tree/bt_action_server_impl.hpp
Outdated
Show resolved
Hide resolved
97893c5 to
6e517c6
Compare
Yes, it indeed was a tricky one to start with.
Yes, I have replaced all the parameter calls which have |
6e517c6 to
80c5402
Compare
|
I am not sure why all the tests for the |
SteveMacenski
left a comment
There was a problem hiding this comment.
Can error_code_name_prefixes be included? I think this could be simplified and use the new API as well.
Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com>
Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com>
80c5402 to
b3dc5d9
Compare
I have simplified the section to match the earlier implementation. |
…navigation#5552) * Use the new declare_or_get_parameter API for nav2_behavior_tree Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com> * Simplified the parameter implemenation for error_code_name_prefixes. Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com> --------- Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com>
…navigation#5552) * Use the new declare_or_get_parameter API for nav2_behavior_tree Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com> * Simplified the parameter implemenation for error_code_name_prefixes. Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com> --------- Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com>
…navigation#5552) * Use the new declare_or_get_parameter API for nav2_behavior_tree Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com> * Simplified the parameter implemenation for error_code_name_prefixes. Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com> --------- Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com>
…navigation#5552) * Use the new declare_or_get_parameter API for nav2_behavior_tree Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com> * Simplified the parameter implemenation for error_code_name_prefixes. Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com> --------- Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com> Signed-off-by: Decwest <fumiyaonishi1016@gmail.com>
Basic Info
Description of contribution in a few bullet points
get_parameteranddeclare_parameterfields to use the newdeclare_or_get_parameterAPI for nav2_behavior_tree.Description of documentation updates required from your changes
Description of how this change was tested
Future work that may be required in bullet points
For Maintainers:
backport-*.