GithubHelp home page GithubHelp logo

slam-map-building-with-turtlebot's Introduction

SLAM (Simultaneous Localization and Mapping) is a technique used to create and build a map for a telecontrol of the robotics.

In order to do that you need to download the turtlebot packages and follow some steps:

Choose your ROS version first.

2 - Now open your terminal and write the following commands in order (in case you are using ROS noetic).

1 - Install ROS on Remote PC and write the follwoing commands:

2 - Install Dependent ROS Packages:

  • $ sudo apt-get install ros-noetic-joy ros-noetic-teleop-twist-joy
    ros-noetic-teleop-twist-keyboard ros-noetic-laser-proc
    ros-noetic-rgbd-launch ros-noetic-rosserial-arduino
    ros-noetic-rosserial-python ros-noetic-rosserial-client
    ros-noetic-rosserial-msgs ros-noetic-amcl ros-noetic-map-server
    ros-noetic-move-base ros-noetic-urdf ros-noetic-xacro
    ros-noetic-compressed-image-transport ros-noetic-rqt* ros-noetic-rviz
    ros-noetic-gmapping ros-noetic-navigation ros-noetic-interactive-markers
  • Note: The above command is one full command, so copy the entire lines.

3 - Install TurtleBot3 Packages:

  • $ sudo apt install ros-noetic-dynamixel-sdk
  • $ sudo apt install ros-noetic-turtlebot3-msgs
  • $ sudo apt install ros-noetic-turtlebot3

For the simulation packages go to: https://emanual.robotis.com/docs/en/platform/turtlebot3/simulation/ and write the commands in order.

1 - Install Simulation Package:

2 - Launch Simulation World:

There are 3 simulation environments and different models for TurtleBot3. Select one to launch gazebo and write its commands in a new terminal.

Empty Wrold:
  • $ export TURTLEBOT3_MODEL=burger
  • $ roslaunch turtlebot3_gazebo turtlebot3_empty_world.launch
TurtleBot3 World
  • $ export TURTLEBOT3_MODEL=waffle
  • $ roslaunch turtlebot3_gazebo turtlebot3_world.launch
TurtleBot3 House
  • $ export TURTLEBOT3_MODEL=waffle_pi
  • $ roslaunch turtlebot3_gazebo turtlebot3_house.launch

Now gazebo will open.

To run SLAM node, go to the website: https://emanual.robotis.com/docs/en/platform/turtlebot3/slam/

Open a new terminal tab and paste the following commands:

  • $ export TURTLEBOT3_MODEL=waffle (change waffle to the model you are using, either burger or waffle_pi)
  • $ roslaunch turtlebot3_slam turtlebot3_slam.launch

Now Rviz will open.

Now to run the teleoperation node and control the movement of your robot model, open a new terminal tab and paste:

  • $ export TURTLEBOT3_MODEL=burger
  • $ roslaunch turtlebot3_teleop turtlebot3_teleop_key.launch

Set of instruction will appear on the screen.

Now you can control the movements of your robot miles away.

slam-map-building-with-turtlebot's People

Contributors

razany98 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.