Coder Social home page Coder Social logo

remoncomputer / robotic-nano-degree-project-4 Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 1007 KB

A Robot Simuation using Gazebo of a custom Home Robot that maps its environment using rtapmap to produce a 2d and 3d maps.

License: MIT License

CMake 72.44% C++ 27.56%
2d-slam 3d-slam gazebo-simulator mapping robotics ros rtab-map rtabmap simulation slam

robotic-nano-degree-project-4's Introduction

Robotic-Nano-Degree-Project-4

Description

  • This is the fourth project of the Robotics udacity nano-degrees.
  • The robot is able to navigate the environment and draw 3d point clound and 2d occupency grid maps using rtabmap ros package.

Prerequistes

  • Udacity Robond virtual machine running on VMWare Player

Building

# Create the workspace
mkdir -p ~/catkin_ws/src
cd  ~/catkin_ws/src
# Clonning the Repo
git clone [email protected]:RemonComputer/Robotic-Nano-Degree-Project-4.git 
cd ..
# Compiling the packages
catkin_make

Running

  • Open the first terminal to launch the robot package (and launch the robot in the simulation & Rviz).
cd ~/catkin_ws
source ~/catkin_ws/devel/setup.bash
roslaunch my_robot world.launch
  • Open another terminal to run the mapping node
cd ~/catkin_ws
source ~/catkin_ws/devel/setup.bash
roslaunch my_robot mapping.launch
  • Open another terminal and run the keyboard_teleop_package
cd ~/catkin_ws
source ~/catkin_ws/devel/setup.bash
roslaunch my_robot teleop.launch

What to expect

  • Slowly take a tour in the environment and make closed cycles, you will notice that the grid map is being drawn along with some loop closure constrains is been detected.
  • After taking a tour you will notice that your map is saved to ~/.ros/rtabmap.db
  • You can examine this map database using rtabmap-databaseViewer ~/.ros/rtabmap.db
  • Here is the rtabmap.db database so you can examine it.

Screenshots

Updated Robot and environment
figure 1: Updated robot and environment
:--:
Rtabmap Database viewer
figure 2: RTabmap Database viewer showing samples from the resulted database.

robotic-nano-degree-project-4's People

Contributors

remoncomputer avatar

Stargazers

 avatar

Watchers

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