Perception Tool Kit (PTK) API Guide

Detailed Description

Grid information.

These PTK GridInfo structs are collected in an array and supplied as part of the PTK MapConfig. A single PTK Map can have no more than PTK_MAP_MAX_NUM_GRIDS_PER_MAP distinct PTK Grid members, however all nonzero 32-bit integers are valid ids for a PTK Grid.

Collaboration diagram for PTK_GridInfo:
Collaboration graph

Data Fields

uint32_t id
 
PTK_GridType type
 
uint32_t dataSize
 

Field Documentation

◆ id

uint32_t PTK_GridInfo::id

Identifier for the PTK_Grid, used in retrieval. The value 0 has a special meaning. It will be used as a NULL node.

◆ type

PTK_GridType PTK_GridInfo::type

Value for the type field to configure this PTK_Grid.

◆ dataSize

uint32_t PTK_GridInfo::dataSize

Value for dataSize field, used only if type is PTK_GRID_TYPE_USER.