Modified nav2_behavior_tree and nav2_bt_navigator#3653
Modified nav2_behavior_tree and nav2_bt_navigator#3653SteveMacenski merged 14 commits intoros-navigation:mainfrom
Conversation
… parameters as backup for behavior tree parameters
|
@HarunTeper, your PR has failed to build. Please check CI outputs and resolve issues. |
… parameters as backup for behavior tree parameters
nav2_behavior_tree/include/nav2_behavior_tree/plugins/condition/distance_traveled_condition.hpp
Outdated
Show resolved
Hide resolved
nav2_behavior_tree/plugins/action/remove_passed_goals_action.cpp
Outdated
Show resolved
Hide resolved
nav2_behavior_tree/plugins/action/remove_passed_goals_action.cpp
Outdated
Show resolved
Hide resolved
nav2_behavior_tree/plugins/action/remove_passed_goals_action.cpp
Outdated
Show resolved
Hide resolved
nav2_behavior_tree/plugins/action/remove_passed_goals_action.cpp
Outdated
Show resolved
Hide resolved
|
@HarunTeper, your PR has failed to build. Please check CI outputs and resolve issues. |
Signed-off-by: vboxuser <vboxuser@ros2-humble.myguest.virtualbox.org>
|
What should I do about the test errors, and the error about the missing bt_conversions.hpp code coverage test. |
Look into why they're failing, these tests should not be failing if your PR did not introduce breaking changes and/or caused potentially unintended problem. W.r.t. adding new tests, we need test coverage for all new features - so the |
SteveMacenski
left a comment
There was a problem hiding this comment.
Just a couple of small things!
nav2_bt_navigator/behavior_trees/navigate_through_poses_w_replanning_and_recovery.xml
Outdated
Show resolved
Hide resolved
nav2_bt_navigator/behavior_trees/navigate_w_replanning_distance.xml
Outdated
Show resolved
Hide resolved
|
The last error occurs because I renamed bt_conversions.hpp to bt_utils hpp, and now the code coverage cannot find bt_conversions anymore. Did I forget to rename it somewhere? |
|
Try incrementing any instances of |
|
Did that, but now a test didn't generate a results file. |
|
Retriggering |
|
@HarunTeper thanks for your contribution here, this is a really nice update! I appreciate your responsiveness and diligence during this! |
* Modified nav2_behavior_tree and nav2_bt_navigator to use bt_navigator parameters as backup for behavior tree parameters * Modified nav2_behavior_tree and nav2_bt_navigator to use bt_navigator parameters as backup for behavior tree parameters * implemented feedback from pull request * fixed RCLCPP_DEBUG error Signed-off-by: vboxuser <vboxuser@ros2-humble.myguest.virtualbox.org> * fixed hpp layout, removed previous code line in distance_controller * fixed all CI/CD errors, modified tests * fixed bt_navigator coding style. Modified behavior trees for updated nodes * implemented comments, fixed distance in distance_controller * updated circleci v14 to v15 --------- Signed-off-by: vboxuser <vboxuser@ros2-humble.myguest.virtualbox.org> Co-authored-by: vboxuser <vboxuser@ros2-humble.myguest.virtualbox.org> Signed-off-by: enricosutera <enricosutera@outlook.com>
* Modified nav2_behavior_tree and nav2_bt_navigator to use bt_navigator parameters as backup for behavior tree parameters * Modified nav2_behavior_tree and nav2_bt_navigator to use bt_navigator parameters as backup for behavior tree parameters * implemented feedback from pull request * fixed RCLCPP_DEBUG error Signed-off-by: vboxuser <vboxuser@ros2-humble.myguest.virtualbox.org> * fixed hpp layout, removed previous code line in distance_controller * fixed all CI/CD errors, modified tests * fixed bt_navigator coding style. Modified behavior trees for updated nodes * implemented comments, fixed distance in distance_controller * updated circleci v14 to v15 --------- Signed-off-by: vboxuser <vboxuser@ros2-humble.myguest.virtualbox.org> Co-authored-by: vboxuser <vboxuser@ros2-humble.myguest.virtualbox.org>
Basic Info
Description of contribution in a few bullet points
For navigators in nav2_bt_navigator, added parameter pass through from bt_navigator to bt_navigator/client_node_name for robot_base_frame and global_frame.
For plugins in nav2_behavior_tree, removed default parameters for behavior tree input ports for robot_base_frame and global_frame, and added the following behavior:
Check behavior tree for user-specified values in behavior tree.
If those are not available, check client_node parameters.
If those are not available, use default values.
Description of documentation updates required from your changes
The parameters global_frame and robot_base frame can now be used by the navigators, instead of the behavior tree specification.
Future work that may be required in bullet points
This could be extended for other parameters or adapted for more plugins/navigators.
For future plugins, the same procedure as in this commit needs to be applied to enable these functionalities.
For Maintainers: