Behavior tree for mission execution and BtNavigator (#227)
* Enable behavior trees and work on cancel capability * Checkpoint working cancel with traces * ExecuteMission behavior tree working w/ cancel * A little clean-up * Address cpplint and uncrustify issues * Parameterize the loop rate for the behavior tree classes * Build a parallel behavior tree for the NavToPose task * Update the BT Navigator behavior tree to compute a path first before starting the parallel nodes * Resolve how to handle BTpp dependency; Closes: #51 * Rebase to origin/master * Inital port to new, updated repo for the behavior tree library * Can't use shared_from_this in constructor; fix several linter issues * Start on dynamically creating the behavior tree from an XML description * Move a few files after rebasing * Don't have to explicity specify dl dependency * Working on execute mission BT * Adapt the BtActionNode class to enable it to by dynamically created * Checkpoint working version * Another checkpoint for working version * Clean up * Enable the BtNavigator with the new behavior tree library * Start hooking up params * Adapt to new Behavior Tree library * Pass position and orientation when using pose via rviz * Missed a new file * Re-enable getting pose from robot; was commented out for debugging * Revert one of my changes for the BehaviorTree.CPP library now that it is fixed * Back out the workaround for visibility warning now that it is fixed in the upstream library * Rebase and cpplint/uncrustify * Get rid of hardcoded starting position in compute_path_to_pose_action and address some linter issues * Make the intent clearer for a couple variables names * Fix a couple inconsistencies with the last checkin
Showing
- nav2_astar_planner/src/astar_planner.cpp 19 additions, 16 deletionsnav2_astar_planner/src/astar_planner.cpp
- nav2_bt_navigator/CMakeLists.txt 6 additions, 1 deletionnav2_bt_navigator/CMakeLists.txt
- nav2_bt_navigator/include/nav2_bt_navigator/bt_navigator.hpp 5 additions, 10 deletionsnav2_bt_navigator/include/nav2_bt_navigator/bt_navigator.hpp
- nav2_bt_navigator/include/nav2_bt_navigator/navigate_to_pose_behavior_tree.hpp 49 additions, 0 deletions...lude/nav2_bt_navigator/navigate_to_pose_behavior_tree.hpp
- nav2_bt_navigator/package.xml 4 additions, 0 deletionsnav2_bt_navigator/package.xml
- nav2_bt_navigator/src/bt_navigator.cpp 49 additions, 108 deletionsnav2_bt_navigator/src/bt_navigator.cpp
- nav2_bt_navigator/src/navigate_to_pose_behavior_tree.cpp 75 additions, 0 deletionsnav2_bt_navigator/src/navigate_to_pose_behavior_tree.cpp
- nav2_controller/nav2_controller_example/include/nav2_controller_example/dwa_controller.hpp 45 additions, 0 deletions...xample/include/nav2_controller_example/dwa_controller.hpp
- nav2_controller/nav2_controller_example/src/dwa_controller.cpp 97 additions, 0 deletions...controller/nav2_controller_example/src/dwa_controller.cpp
- nav2_mission_executor/CMakeLists.txt 7 additions, 1 deletionnav2_mission_executor/CMakeLists.txt
- nav2_mission_executor/include/nav2_mission_executor/execute_mission_behavior_tree.hpp 49 additions, 0 deletions...e/nav2_mission_executor/execute_mission_behavior_tree.hpp
- nav2_mission_executor/include/nav2_mission_executor/mission_executor.hpp 4 additions, 14 deletions...ecutor/include/nav2_mission_executor/mission_executor.hpp
- nav2_mission_executor/package.xml 3 additions, 0 deletionsnav2_mission_executor/package.xml
- nav2_mission_executor/src/execute_mission_behavior_tree.cpp 74 additions, 0 deletionsnav2_mission_executor/src/execute_mission_behavior_tree.cpp
- nav2_mission_executor/src/main.cpp 1 addition, 1 deletionnav2_mission_executor/src/main.cpp
- nav2_mission_executor/src/mission_executor.cpp 47 additions, 79 deletionsnav2_mission_executor/src/mission_executor.cpp
- nav2_robot/src/robot.cpp 4 additions, 4 deletionsnav2_robot/src/robot.cpp
- nav2_simple_navigator/src/simple_navigator.cpp 35 additions, 13 deletionsnav2_simple_navigator/src/simple_navigator.cpp
- nav2_system_tests/src/planning/planner_tester.cpp 4 additions, 1 deletionnav2_system_tests/src/planning/planner_tester.cpp
- nav2_tasks/CMakeLists.txt 17 additions, 3 deletionsnav2_tasks/CMakeLists.txt
Please register or sign in to comment