GithubHelp home page GithubHelp logo

lettiez / slam_glass Goto Github PK

View Code? Open in Web Editor NEW

This project forked from uts-magic-lab/slam_glass

0.0 0.0 0.0 212 KB

Realtime Glass Detection with Laser Rangefinders for Robot Navigation and Mapping

Shell 0.23% C++ 94.55% Python 0.84% C 1.10% TeX 1.17% Makefile 0.88% CMake 1.24%

slam_glass's Introduction

Real-time indoor SLAM with glass detection

This code is a modified version of glam code (v39). We add a glass detection algorithm and integrated it with the existing SLAM algorithm to produce maps with detected glass panels marked as solid wall objects. We developed and tested our algorithm and code on an unmodified PR2 robot platform.

Compile source code

Clone the repository in a working catkin workspace. run ./configure under gmapping_glass/gmapping_export directory, then do cd ..;make -f Makefile.gmapping. After the libraries is compiled, go back to catkin root directory and compile the application with catkin_make.

Launch slam_glass service

roslaunch slam_glass slam_glass_pr2.launch

Test dataset

You can download our test dataset here and run it against slam_glass service node. Simply extract the bag files from the compressed file and use rosplay to playback the data files. You should hopefully produce a map similar to the following figure.

Figure 1. SLAM with glass detection.

If the same dataset is run against the default SLAM ROS package, the generated map will be similar to Figure 2.

Figure 2. Default SLAM without glass detection.

Visualisation

Detected glasses can be visualised using rviz program. You will need to turn on the visualisation feature by uncommenting line 80 in CMakeFiles.txt and recompile slam_glass source code. The detected glass is marked in green colour in the grid map (see Figure 3). You can also visualse the robot trajectory by adding a visual marker and subscribe to /slam_glass/robot_trajectory.

Figure 3. Visualise detected glass and robot trajectory.

Citing this work

If you use this code in your project, please cite the following reference.

@article{Wang201797,
title = "Detecting glass in Simultaneous Localisation and Mapping",
journal = "Robotics and Autonomous Systems",
volume = "88",
pages = "97 - 103",
year = "2017",
issn = "0921-8890",
doi = "http://dx.doi.org/10.1016/j.robot.2016.11.003",
author = "Xun Wang and JianGuo Wang"
}

slam_glass's People

Contributors

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