-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Bt warning fix #5594
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
Bt warning fix #5594
Conversation
2be7daf to
c48f8ee
Compare
Codecov Report❌ Patch coverage is
... and 7 files with indirect coverage changes 🚀 New features to boost your workflow:
|
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
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
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
SteveMacenski
left a comment
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.
Pull in main / rebase in order for CI to pass
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
Signed-off-by: Jad El Hajj <jad.elhajj@inmind.ai>
Signed-off-by: Jad El Hajj <jad.elhajj@inmind.ai>
Signed-off-by: Jad El Hajj <jad.elhajj@inmind.ai>
Signed-off-by: Jad El Hajj <jad.elhajj@inmind.ai>
Signed-off-by: Jad El Hajj <jad.elhajj@inmind.ai>
Signed-off-by: Jad El Hajj <jad.elhajj@inmind.ai>
…_impl.hpp Signed-off-by: Steve Macenski <stevenmacenski@gmail.com>
Signed-off-by: Jad El Hajj <jad.elhajj@inmind.ai>
ef5192b to
4a62ece
Compare
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.
LGTM now. Did you test this again that it works for the cases we had issue with before?
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
nav2_behavior_tree/include/nav2_behavior_tree/bt_action_server_impl.hpp
Outdated
Show resolved
Hide resolved
…_impl.hpp Signed-off-by: Steve Macenski <stevenmacenski@gmail.com>
…_impl.hpp Signed-off-by: Steve Macenski <stevenmacenski@gmail.com>
Signed-off-by: Jad El Hajj <jad.elhajj@inmind.ai>
yes, we wont get the btcpp warning anymore :) |
Please cover these lines (these ones should be easy) for CI and I can merge, thanks! |
Signed-off-by: Jad El Hajj <jad.elhajj@inmind.ai>
All use cases are now covered :-) |
|
@Jad-ELHAJJ please check out https://app.codecov.io/gh/ros-navigation/navigation2/pull/5594 there are lots of gaps still that this didn't cover. They mostly seems easy to solve with unit tests
|
Check
|
Basic Info
Description of contribution in a few bullet points
A fix PR making sure that BTCPP warning would never be logged. The final logic will be:
Description of how this change was tested
PS: codecov might complain about not covered code in
bt_action_server_impl.hpp, but I added unit test for all 4 conditions. So the mock loadBehaviorTree intest_behavior_tree_node.cppwill be covering the new changes.For Maintainers:
backport-*.