Skip to main content

Simple pacakge for grid map decomposition

Project description

GridMapDecompose

Simple code used for decomposing occupancy grid map into set of corners and walls. The idea is to utilize the pattern in a structured environment, which is a combination of straight walls and corners.

The code outputs a labeled map with corresponding minimal bounding boxes for each element in the environment and label them as walls or corners. The code also provides adjacency matrix connecting neighbouring segments of the map.

Example of labeling

Installation

pip install -i https://test.pypi.org/simple/GridMapDecompose

Usage

An example of usage van be found in map_segmentation_test.py:

python3 map_segmentation_test.py example.pgm regular

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

GridMapDecompose-0.1.7.tar.gz (6.7 kB view hashes)

Uploaded Source

Built Distribution

GridMapDecompose-0.1.7-py3-none-any.whl (22.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page