Skip to content

j-corvo/behavior_trees_learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Navigation Using BehaviorTrees.CPP

Launch Turtlebot Navigation

Source ros noetic (do this in every terminal):

source /opt/ros/noetic/setup.bash

Go to your workspace directory and source it (do this in every terminal):

  1. cd ~/{workspace_dir}

  2. source devel/setup.bash

Then run the following launch files:

  • (Terminal 1) roslaunch turtlebot3_gazebo turtlebot3_world.launch
  • (Terminal 2) roslaunch turtlebot3_navigation turtlebot3_navigation.launch

First you need to click on the "2D Pose Estimate" button on rviz, so the robot knows its current position on the map. It should look like this:

turtlebot_navigation

  • (Terminal 3) Go to the build directory: cd ~/thesis_ws/src/Groot/build && ./Groot

  • (Terminal 4) roslaunch bt_nav_actions node.bt_nav_move_base.launch

On Groot, go to monitor mode and click "Connect". You should see the following behavior tree (you have 10 seconds to do that, otherwise the node would start and you won't see anything):

groot

About

Learning about Behavior Trees

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published