Perception Tool Kit (PTK) API Guide

Detailed Description

Map configuration.

The configuration of a PTK_Map is nearly the same as the configuration for a PTK_Grid, but it has an additional member to specify the instance-specific details of PTK Grids stored within the PTK_Map.

Collaboration diagram for PTK_MapConfig:
Collaboration graph

Data Fields

uint32_t xCells
 
uint32_t yCells
 
uint32_t zCells
 
float xCellSize
 
float yCellSize
 
float zCellSize
 
float xMin
 
float yMin
 
float zMin
 
PTK_GridInfo grid [PTK_MAP_MAX_NUM_GRIDS_PER_MAP]
 

Field Documentation

◆ xCells

uint32_t PTK_MapConfig::xCells

Number of cells along the x axis.

◆ yCells

uint32_t PTK_MapConfig::yCells

Number of cells along the y axis.

◆ zCells

uint32_t PTK_MapConfig::zCells

Number of cells along the z axis. If the z axis is not used, set this to 1.

◆ xCellSize

float PTK_MapConfig::xCellSize

Dimension of a cell along x in meters.

◆ yCellSize

float PTK_MapConfig::yCellSize

Dimension of a cell along y in meters.

◆ zCellSize

float PTK_MapConfig::zCellSize

Dimension of a cell along z in meters. If the z axis is not used, any nonzero value is valid.

◆ xMin

float PTK_MapConfig::xMin

Real x coordinate for start of cell 0.

◆ yMin

float PTK_MapConfig::yMin

Real y coordinate for start of cell 0.

◆ zMin

float PTK_MapConfig::zMin

Real z coordinate for start of cell 0. If the z axis is not used, any value is valid.

◆ grid

Grid parameters. The element with an 'id' 0 is treated as a NULL node.