GithubHelp home page GithubHelp logo

j-corvo / behavior_trees_learning Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 11.17 MB

Learning about Behavior Trees

CMake 4.33% C++ 92.98% Qt Script 0.16% Shell 0.03% Python 2.24% Lua 0.26%
behavior-trees ros

behavior_trees_learning's Introduction

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

behavior_trees_learning's People

Contributors

j-corvo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.