Giter Site home page Giter Site logo

obstacle-detection-mapping's Introduction

obstacle-detection-mapping

Video Demonstration


This is a video demonstration of mapping of the turtlebot's environment.

Explanation

map_animation.py subsribes to the /odom topic to localize the robot's position and /scan topic to map the obstacles.
This obstacle mapping is then converted to a binary occupancy grid for further use.

How to use

Setting up your environment

  1. Clone this repository into your catkin_workspace
  2. Run cd catkin_ws && catkin_make
  3. Roscore roscore
  4. Export your turtlebot model. EXPORT TURTLEBOT3_MODEL=waffle
  5. Loading up your gazebo roslaunch obstacle_detection_mapping automation_task.launch
  6. Run rosrun teleop_twist_keyboard teleop_twist_keyboard.py

Running the scripts

  1. roscd obstacle_detection_mapping/scripts
  2. Making the files executable 2.1 chmod +x map_animation.py 2.2 chmod +x occupancy_grid.py
  3. Run the mapping script rosrun obstacle_detection_mapping map_animation.py
    This will do your job, if in case you want to see the live occupancy grid plot, execute the command rosrun <package_name> occupancy_grid.py
    The occupancy grids co-ordinates can also be obtained with the command rosservice call /get_obstacles_grid

Hope you have fun running this and is useful to you!

obstacle-detection-mapping's People

Contributors

suchetanrs avatar

Stargazers

Abhirup Das avatar Sai Bharadwaj Sirigadi avatar Burak Aksoy avatar Siddh Gosar avatar Dhruv Potdar 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.