Giter Club home page Giter Club logo

rtab_mapping_and_localization's Introduction

RTAB_Mapping_and_Localization

RTAB Mapping and Localization for a two wheeled robot.

Instructions for use :

  1. Install Rtabmap :
sudo apt-get install ros-noetic-rtabmap*
  1. Clone the repositry :
git clone https://github.com/Vamsi-IITI/RTAB_Mapping_and_Localization.git 
  1. Navigate up to the root level directory ( cd RTAB_Mapping_and_Localization ) , and execute:
catkin_make
source devel/setup.bash
roslaunch my_robot world.launch
  1. To operate the robot via the keyboard, open a second terminal, navigate to the root level directory, and execute:
source devel/setup.bash
roslaunch my_robot teleop.launch 

You can then command the robot to move using the keys indicated by the teleop node.

  1. Finally, to run SLAM, open a third terminal, navigate to the root level directory, and execute:
source devel/setup.bash
roslaunch my_robot mapping.launch
  1. As you move the robot around, RTAB-Map will build a map of the room. When you terminate the mapping window, the map will be saved as a database file in the launch folder. To view the map, execute:
rtabmap-databaseViewer ~/RTAB_Mapping_and_Localization/src/my_robot/maps/rtabmap.db

  1. Click "yes" when asked about database parameters, and then select "Constraint View" and "Graph View" from the View menu.

Note : Map uploaded in repo is slightly distorted because robot collided with walls during mapping process.

Directory Structure

Screenshot from 2023-03-09 10-12-14

Images

Screenshot from 2023-03-08 22-40-11

Screenshot from 2023-03-10 13-35-53

No loop closure : ( rtabmap.db file for this already present in repo )

image

image

After some loop closures : ( Download link provided in download_rtabmap.md )

graph

Screenshot from 2023-03-10 13-34-21

Screenshot from 2023-03-10 13-35-53

rqt_tf_tree

rosrun rqt_tf_tree rqt_tf_tree

Screenshot from 2023-03-08 15-13-49

rtab_mapping_and_localization's People

Contributors

vamsi-iiti avatar

Stargazers

 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.