The Robot Application Programming Interface Delegate Project
RAPID Logo

ShortMapLayer Struct Reference

Map layer data for data samples reduced to 16 bit values. More...

import "NavMapSample.idl";

List of all members.

Public Attributes

double offset
 Data value offset.
float scale
 Data value scale.
short density
 Sampling density.
ShortSequence128K data
 Vector of 16 bit data samples.

Detailed Description

Data structure holding a vector of data points. To reduce footprint, the data is sent as 16 bit values (short). The data-structure holds an offset and a scaling factor, to restore the original data samples. e.g. double value = data * scale + offset The density parameter allows a layer to be of lower resolution than the map itself.


Member Data Documentation

short density

A full resolution layer has a density of 1, a half resolution (in both dimensions) layer has a density of 2, etc.

double offset
float scale

The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines