map
[Interface specifications]
Access maps. More...
| |
#define | PLAYER_MAP_MAX_TILE_SIZE (((int)((PLAYER_MAX_PAYLOAD_SIZE-12)/1.001)) - 20 - 1) |
The maximum size of a grid map tile, in cells. |
Detailed Description
Access maps.
The map
interface provides access to maps. Depending on the underlying driver, the map may be provided as an occupancy grid, or as a set of segments (or both). In either case, the map is retrieved by request only. Segment (aka vector) maps are delivered in one message, whereas grid maps are delivered in tiles, via a sequence of requests.
Define Documentation
#define PLAYER_MAP_MAX_TILE_SIZE (((int)((PLAYER_MAX_PAYLOAD_SIZE-12)/1.001)) - 20 - 1) |
The maximum size of a grid map tile, in cells.
(max_payload - 12 (zlib header)) / 1.001 (zlib overhead) - 20 (tile meta-data)
Referenced by MapTransform::ProcessMessage().