player_map_info Struct Reference
Data AND Request/reply: Map information. More...
#include <player.h>
Public Attributes | |
float | scale |
The scale of the map [m/pixel]. | |
uint32_t | width |
The size of the map [pixels]. | |
uint32_t | height |
The size of the map [pixels]. | |
player_pose_t | origin |
The origin of the map [m, m, rad]. |
Detailed Description
Data AND Request/reply: Map information.
To retrieve the size and scale information of a map, send a null PLAYER_MAP_REQ_GET_INFO request. This message can also be sent as data, with the subtype PLAYER_MAP_DATA_INFO, depending on the underlying driver.
Member Data Documentation
uint32_t player_map_info::height |
The size of the map [pixels].
The origin of the map [m, m, rad].
That is, the real-world pose of cell (0,0) in the map
float player_map_info::scale |
The scale of the map [m/pixel].
uint32_t player_map_info::width |
The size of the map [pixels].
The documentation for this struct was generated from the following file: