Git Product home page Git Product logo

indoor_bot's Introduction

indoor_bot

indoor_bot is simple differential drive robot for indoor environments simulated using GazeboSim and ROS. Currently, it simulates a 2D-LiDAR sensor, an IMU and a simple camera as gazebo plugins.

This package includes some demos explaining use of this package for SLAM and Localization.



SLAM

GazeboSim Cartographer-SLAM
GazeboSim RViz


Autonomous exploration for SLAM

GazeboSim Autonomous-SLAM
GazeboSim RViz


Localization and Navigation

Gazebo Rviz
GazeboSimLocalizationAMCL RVizLocalizationAMCL


Installation

This package was developed for ROS-melodic. But should be compatible for other versions of ROS1.

  1. Install ROS: http://wiki.ros.org/ROS/Installation

  2. Install the packages by executing the following commands in your terminal:

    source /opt/ros/melodic/setup.bash
    
    sudo apt-get install ros-${ROS_DISTRO}-gazebo-*
    sudo apt-get install ros-${ROS_DISTRO}-navigation
    sudo apt-get install ros-${ROS_DISTRO}-joint-state-*
    sudo apt-get install ros-${ROS_DISTRO}-visualization-msgs
    sudo apt-get install ros-${ROS_DISTRO}-cartographer-*
    sudo apt install ros-${ROS_DISTRO}-multirobot-map-merge 
    sudo apt install ros-${ROS_DISTRO}-explore-lite
    sudo apt-get install ros-${ROS_DISTRO}-teleop-twist-keyboard
  3. Clone this repo and build the package.

    source /opt/ros/melodic/setup.bash
    mkdir -p ~/catkin_ws/src
    cd ~/catkin_ws/src
    
    git clone https://github.com/adipandas/indoor_bot.git
    cd ~/catkin_ws
    catkin_make
    source devel/setup.bash

How to use?

SLAM

Launch SLAM and Map the environment using teleoperation.

source /opt/ros/melodic/setup.bash
source ~/catkin_ws/devel/setup.bash

roslaunch indoor_bot cartographer_slam_teleop.launch

Instead of manually building the map, you may prefer also try to use RRT-exploration to autonomously map the robot frontier. For more documentation, please refer this page.

source /opt/ros/melodic/setup.bash
source ~/catkin_ws/devel/setup.bash

roslaunch indoor_bot cartographer_slam_rrt_exploration.launch

Once mapping is complete use map-server to save the map. In onother terminal execute the following to save your map:

source /opt/ros/melodic/setup.bash
source ~/catkin_ws/devel/setup.bash

roscd indoor_bot
cd maps
rosrun map_server map_saver -f <robotworldname>

Localization and Navigation

To localize using the map generated from SLAM you can use the following command:

source /opt/ros/melodic/setup.bash
source ~/catkin_ws/devel/setup.bash

roslaunch indoor_bot amcl_localization.launch map_file:=/path/to/map.yaml world_file:=/path/to/your_gazebo.world

References

  1. ROS Navigation Stack: link
  2. RRT exploration: link
  3. Cartographer SLAM: link
  4. teleop_twist_keyboard: link

indoor_bot's People

Contributors

adipandas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

indoor_bot's Issues

running error

Hi sir,we are new to this project ,can you please explain me how to give file path and gazebo path.

File missing

Hello,

is file 'robot_pose_ekf.launch' missing? when run command
$ roslaunch indoor_bot cartographer_slam_teleop.launch
this file cannot be find.

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.