PlayerCc::MapProxy Class Reference
[Proxies]
#include <playerc++.h>
Inherits PlayerCc::ClientProxy.
Detailed Description
Themap proxy provides access to a map device.
Public Member Functions | |
| MapProxy (PlayerClient *aPc, uint aIndex=0) | |
| constructor | |
| ~MapProxy () | |
| destructor | |
| void | RequestMap () |
| Get the map and store it in the proxy. | |
| int | GetCellIndex (int x, int y) const |
| Return the index of the (x,y) item in the cell array. | |
| int8_t | GetCell (int x, int y) const |
| Get the (x,y) cell. | |
| double | GetResolution () const |
| Map resolution, m/cell. | |
| uint | GetWidth () const |
| Map size, in cells. | |
| uint | GetHeight () const |
| Map size, in cells. | |
| double | GetOriginX () const |
| double | GetOriginY () const |
| void | GetMap (int8_t *aMap) const |
| Occupancy for each cell (empty = -1, unknown = 0, occupied = +1). | |
Member Function Documentation
|
|
Map size, in cells.
|
|
|
Map size, in cells.
|
The documentation for this class was generated from the following file:
