MIRA
Namespaces | Typedefs | Functions
OccupancyGrid.h File Reference

Occupancy grid definition. More...

#include <maps/GridMapIO.h>
#include <maps/MapsExports.h>
Include dependency graph for OccupancyGrid.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 mira
 
 mira::maps
 

Typedefs

typedef GridMap< uint8OccupancyGrid
 Occupancy Map, typedef for 1 channel GridMap containing 8-bit unsigned integers per cell. More...
 
using OccupancyGridInfo = GridMapInfo
 Backward compatibility aliases. More...
 
using OccupancyGridFileInfoWithFrame = GridMapFileInfoWithFrame
 
using OccupancyGridFileInfoWithFrameAndChannelName = GridMapFileInfoWithFrameAndChannelName
 

Functions

MIRA_MAPPING_MAPS_EXPORT OccupancyGrid loadOccupancyGrid (const OccupancyGridInfo &info, bool truncateTo254=true)
 Loads the grayscale image specified by info as occupancy map. More...
 
MIRA_MAPPING_MAPS_EXPORT OccupancyGrid loadOccupancyGridFromFile (const Path &filename, float cellSize, const Point2i &offset, bool truncateTo254=true)
 Loads the specified grayscale image from to as occupancy map. More...
 
MIRA_MAPPING_MAPS_EXPORT OccupancyGrid loadOccupancyGridFromImage (const Img<> &img, float cellSize, const Point2i &offset, bool truncateTo254=true)
 Loads the specified grayscale image as occupancy map. More...
 
MIRA_MAPPING_MAPS_EXPORT OccupancyGrid loadOccupancyGridFromGM2File (const Path &filename)
 Loads the specified GM2 map as occupancy map. More...
 
MIRA_MAPPING_MAPS_EXPORT void saveOccupancyGridToFile (Path filename, const OccupancyGrid &map, bool fullImagePath=true)
 Saves the specified occupancy map as grayscale image and description xml. More...
 

Detailed Description

Occupancy grid definition.

Author
Erik Einhorn, Tim Langner
Date
2010/11/08