Coder Social home page Coder Social logo

zhujinwen0924 / cartographer_frontier_detection Goto Github PK

View Code? Open in Web Editor NEW

This project forked from larics/cartographer_frontier_detection

0.0 0.0 0.0 44.45 MB

Python 2.59% CMake 2.14% C++ 92.50% C 0.03% Lua 1.33% Shell 1.07% XSLT 0.07% Batchfile 0.04% GLSL 0.07% Groovy 0.17%

cartographer_frontier_detection's Introduction

Frontier detection for Google Cartographer

This repository contains a version of Google Cartographer modified to implement frontier detection according to the method described in the paper "Efficient Dense Frontier Detection for 2D Graph SLAM Based on Occupancy Grid Submaps" (pre-print available on arXiv).

Usage

To use, you can follow the usual intructions for compiling Cartographer, available here. However, instead of calling wstool to clone the official upstream version of Cartographer, clone this repository into your Catkin workspace instead (git clone https://github.com/larics/cartographer_frontier_detection). Afterwards, use the usual command for building the Catkin workspace (catkin_make_isolated --install --use-ninja). We strongly recommend Ubuntu 18.04 and ROS Melodic.

The code in the repository assumes you have an Intel Broadwell (or better) CPU for using Eigen AVX vectorization. If you have an older CPU (or an AMD cpu), change the following line in the file: cartographer_ros/cartographer_ros/cartographer_ros/frontier_detection.cc

#pragma GCC target ("arch=broadwell")`

to your CPU architecture (e.g. sandybridge, skylake). The full list of CPU architectures supported by GCC is available here.

No other configuration compared to upstream Cartographer is necessary.

Visualization of the frontier

When cartographer is running, add a marker display for the /frontier_marker topic.

Subscribing to the frontier topic

This version of Cartographer will emit frontier updates as visualization markers (visualization_msgs/MarkerArray) on the /frontier_marker topic. Frontier points are split into submaps using marker namespaces and are sent already projected into the global map frame. A node which subscribes to the frontier marker topic should accumulate all frontier points it receives, for all submaps. When a newer marker for the same submap (with the same namespace) arrives, the previous frontier points for that submap should be replaced with the new version.

Demo video

https://goo.gl/62zEUy

cartographer_frontier_detection's People

Contributors

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