All Projects → artivis → distance_map

artivis / distance_map

Licence: Apache-2.0 license
A ROS package for converting OccupancyGrid/Costmap2D to 2D distance map.

Programming Languages

C++
36643 projects - #6 most used programming language
CMake
9771 projects
c
50402 projects - #5 most used programming language

distance_map

A package for converting OccupancyGrid/Costmap2D to 2D distance map.


Package Summary

The distance_map package provides a 2D Distance Map class (see Distance Transform) together with the means to generate it, convert it, send it and visualize it.

Kinetic Melodic
kinetic melodic

Quick StartQuick ExamplePluginsContributing


Quick Start

Binaries

$ apt-get install ros-melodic-distance-map

From source

$ git clone https://github.com/artivis/distance_map.git
$ catkin build distance_map

Quick Example

Once all distance_map packages are built, one can run an example as follows,

roslaunch distance_map_node example.launch

This command will :

  • start a map_server providing a simple map
  • start the distance_map node
  • start rviz
  • start an interactive marker to introspect the distance_map

You should see the following window,

alt text

Plugins

Available plugins:

Under development plugins:

  • None at this time.

Contributing

distance_map is developed according to Vincent Driessen's Gitflow Workflow. This means,

  • the master branch is for releases only.
  • development is done on feature branches.
  • finished features are integrated via PullRequests into the branch devel.

For a PullRequest to get merged into devel, it must pass

  • Review by one of the maintainers.
    • Are the changes introduced in scope of distance_map?
    • Is the documentation updated?
    • Are enough reasonable tests added?
    • Will these changes break the API?
    • Do the new changes follow the current style of naming?
  • Compile / Test / Run on all target environments.

Credits

This work originated at PAL Robotics, with the participation of Sai Kishor Kothakota

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].