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_tasks/include/nav2_tasks/behavior_tree_engine.hpp 51 additions, 0 deletionsnav2_tasks/include/nav2_tasks/behavior_tree_engine.hpp
- nav2_tasks/include/nav2_tasks/bt_action_node.hpp 123 additions, 0 deletionsnav2_tasks/include/nav2_tasks/bt_action_node.hpp
- nav2_tasks/include/nav2_tasks/bt_conversions.hpp 76 additions, 0 deletionsnav2_tasks/include/nav2_tasks/bt_conversions.hpp
- nav2_tasks/include/nav2_tasks/compute_path_to_pose_action.hpp 88 additions, 0 deletions..._tasks/include/nav2_tasks/compute_path_to_pose_action.hpp
- nav2_tasks/include/nav2_tasks/execute_mission_action.hpp 29 additions, 0 deletionsnav2_tasks/include/nav2_tasks/execute_mission_action.hpp
- nav2_tasks/include/nav2_tasks/follow_path_action.hpp 43 additions, 0 deletionsnav2_tasks/include/nav2_tasks/follow_path_action.hpp
- nav2_tasks/include/nav2_tasks/navigate_to_pose_action.hpp 66 additions, 0 deletionsnav2_tasks/include/nav2_tasks/navigate_to_pose_action.hpp
- nav2_tasks/include/nav2_tasks/task_client.hpp 11 additions, 4 deletionsnav2_tasks/include/nav2_tasks/task_client.hpp
- nav2_tasks/include/nav2_tasks/task_server.hpp 2 additions, 0 deletionsnav2_tasks/include/nav2_tasks/task_server.hpp
- nav2_tasks/package.xml 2 additions, 0 deletionsnav2_tasks/package.xml
- nav2_tasks/src/behavior_tree_engine.cpp 73 additions, 0 deletionsnav2_tasks/src/behavior_tree_engine.cpp
- tools/ros2_dependencies.repos 4 additions, 0 deletionstools/ros2_dependencies.repos
Please register or sign in to comment