playerc_map_t Struct Reference

Map proxy data. More...

#include <playerc.h>

Collaboration diagram for playerc_map_t:
Collaboration graph

Detailed Description

Map proxy data.

Public Attributes

playerc_device_t info
 Device info; must be at the start of all device structures. More...
 
double resolution
 Map resolution, m/cell.
 
int width
 Map size, in cells.
 
int height
 
double origin [2]
 Map origin, in meters (i.e., the real-world coordinates of cell 0,0)
 
int8_t data_range
 Value for each cell (-range <= EMPTY < 0, unknown = 0, 0 < OCCUPIED <= range)
 
char * cells
 Occupancy for each cell.
 
double vminx
 Vector-based version of the map (call playerc_map_get_vector() to fill this in). More...
 
double vminy
 
double vmaxx
 
double vmaxy
 
int num_segments
 
player_segment_tsegments
 

Member Data Documentation

◆ info

playerc_device_t playerc_map_t::info

Device info; must be at the start of all device structures.

◆ vminx

double playerc_map_t::vminx

Vector-based version of the map (call playerc_map_get_vector() to fill this in).


The documentation for this struct was generated from the following file: