orca-robotics


INTRODUCTION
Overview
Download and Install
Documentation

REPOSITORY
Interfaces
Drivers
Libraries
Utilities
Software Map

DEVELOPER
Dashboard

PEOPLE
Contributors
Users

SourceForge.net Logo
Project
Download
Mailing lists

 

         

hydroogmap Namespace Reference

libHydroOgMap provides OgMap manipulation utilities More...


Classes

class  GenericMap
class  SafeLosCellTracer
class  UncheckedLosCellTracer
class  OgRayTracer
class  ILosTracer
class  OgLosTracer

Typedefs

typedef GenericMap< unsigned
char > 
OgMap

Functions

std::string toText (const OgMap &map)
 Convert an occupancy grid map to text.
char displayOgmapCell (unsigned char cell)
 Returns a character corresponding to occupancy (empty:' '; occupied:'#'; in-between:'-').
void fuse (OgMap &master, const OgMap &update, unsigned char newCells)
void overlay (OgMap &master, const OgMap &slave)


Detailed Description

libHydroOgMap provides OgMap manipulation utilities

See also:
libHydroOgMap

hydro_interface_ogmap


Typedef Documentation

typedef GenericMap<unsigned char> hydroogmap::OgMap
 

A map of occupancy values, stored as 8-bit numbers in the range 0-254


Function Documentation

SOEXPORT void hydroogmap::fuse OgMap &  master,
const OgMap &  update,
unsigned char  newCells = 127
 

Fuses the map tile 'update' into the master map, by replacing the values in 'master' with the values in 'update'. The master will be resized if necessary. Any new cells whose occupancy cannot be determined by the update are set to 'newCells'.

Assumes:

  • the resolutions match
  • the maps have zero orientation.

SOEXPORT void hydroogmap::overlay OgMap &  master,
const OgMap &  slave
 

Overlays two OgMaps, i.e. their occupancy values are bitwise or'd. Resulting map is stored in 'master'. Assumes that all map parameters (offset, resolution, number of cells) are the same.

 

Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)


Generated for Orca Robotics by  doxygen 1.4.5