Home
FAQ
Player
Stage
Gazebo
Contrib
Documentation
Publications
Contributors
Users

Project
Download
Bugs/Feedback
Mailing lists

Radish

Old news
Old stuff

player_map_data Struct Reference
[map]

#include <player.h>

List of all members.


Detailed Description

Configuration request: Get map data.

Retrieve the map data. Beacause of the limited size of a request-reply messages, the map data is tranfered in tiles. In the request packet, set the column and row index of a specific tile; the server will reply with the requested map data filled in.


Public Attributes

uint8_t subtype
uint32_t col
uint32_t row
uint32_t width
uint32_t height
int8_t data [PLAYER_MAX_REQREP_SIZE-17]


Member Data Documentation

uint8_t player_map_data::subtype
 

Request subtype; must be PLAYER_MAP_GET_DATA_REQ.

uint32_t player_map_data::col
 

The tile origin (pixels).

uint32_t player_map_data::row
 

The tile origin (pixels).

uint32_t player_map_data::width
 

The size of the tile (pixels).

uint32_t player_map_data::height
 

The size of the tile (pixels).

int8_t player_map_data::data[PLAYER_MAX_REQREP_SIZE - 17]
 

Cell occupancy value (empty = -1, unknown = 0, occupied = +1).


The documentation for this struct was generated from the following file:
Generated on Tue May 3 14:15:57 2005 for Player by doxygen 1.3.6