Giter Club home page Giter Club logo

sma_turtlebot3_leader-follower's Introduction

SMA_TurtleBot3_Leader-Follower

This repo contains the code for a project on using TurtleBot3 for a leader-follower navigation system. This repo was used as lab practical in MIAR.

Launch 3 turtlebots and operate them independently.

(1) Install prerequisites:

$ cd ~/catkin_ws/src
$ git clone https://github.com/ROBOTIS-GIT/turtlebot3.git
$ git clone https://github.com/ROBOTIS-GIT/turtlebot3_msgs.git
$ git clone https://github.com/ROBOTIS-GIT/turtlebot3_simulations.git
$ git clone https://github.com/ROBOTIS-GIT/turtlebot3_applications.git
$ git clone https://github.com/ROBOTIS-GIT/turtlebot3_applications_msgs.git
$ cd .. && catkin_make
$ source devel/setup.bash
$ cd src/ 

(2) Download the package.

$ cd ~/catkin_ws/src
$ git clone https://github.com/azezezaaa/SMA_TurtleBot3_Leader-Follower

(3) Update the modified content:

$ chmod +x ~/catkin_ws/src/SMA_TurtleBot3_Leader-Follower/script/sma_fleet.py
$ cd ~/catkin_ws && catkin_make && source devel/setup.bash
$ rospack profile

(4) Launch turtlebots simulation:

$ roslaunch SMA_TurtleBot3_Individual-Navigation simulation.launch

(5) Run Teleoperation:

Open another terminal and write:

roslaunch turtlebot3_teleop turtlebot3_teleop_key.launch

sma_turtlebot3_leader-follower's People

Contributors

azezezaaa avatar

Stargazers

 avatar Rich avatar

Watchers

 avatar

Forkers

jinshangcheng

sma_turtlebot3_leader-follower's Issues

Using the package with RVIZ

I want to use the package with rviz for path planning, but I can't seem to make it work. The system can only read one bot at a time and I can't change the map file when launching. I want to make it so that the bots work with the 2d end position feature in rviz to make the bots move autonomously. Thanks in advance:)

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.