INTRODUCTION Overview Download and Install Quick Start Documentation Publications NONFRAMEWORK CODE Driver Interfaces Drivers Libraries Utilities FRAMEWORK CODE Interfaces Components Libraries Utilities Full Software Listings DEVELOPER Tutorials Examples Dev Guide Dashboard PEOPLE Contributors Users Project Download Mailing lists
|
OgMapLoader
|
Serves an occupancy grid map which is loaded from an image file.
Supportes file types are:
.png
.bmp
.jpg
.jpeg
.ppm
.xbm
.xpm
.binClients who wish to receive the map should call getData(). This component will only ever issue one update to subscribers: on initialisation.
OgMapLoader.Config.Driver
(string)OgMapLoader.Config.Filename
(string)OgMapLoader.Config.Negate
(bool)OgMapLoader.MapType
(int)Map Geometry (see orca_interface_ogmap for a detailed explanation)
Note: These parameters have no effect on maps loaded from ICE stream files. Those files contain all relevant information already.
World Size (float,float) [m]
OgMapLoader.Config.Size.X
OgMapLoader.Config.Size.Y
Map Origin with respect to the (arbitrarily defined) global coordinate system (float,float,float) [m,m,deg]
OgMapLoader.Config.Offset.X
OgMapLoader.Config.Offset.Y
OgMapLoader.Config.Offset.Orientation
For example, these configuration settings work for the Player's famous cave
world. We define the global coordinate system's origin to be in the centre of the map.
OgMapLoader.Config.Driver=file OgMapLoader.Config.MapFileName=cave.png OgMapLoader.Config.Negate=0 OgMapLoader.Config.Offset.Orientation=0.0 OgMapLoader.Config.Offset.X=-8.0 OgMapLoader.Config.Offset.Y=-8.0 OgMapLoader.Config.Size.X=16.0 OgMapLoader.Config.Size.Y=16.0
Tobias Kaupp (t.kaupp at cas.edu.au)
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)