Loading...
Searching...
No Matches
PstTrackerData Struct Reference
PST SDK C API

Tracking information retrieved from tracker. More...

`#include <pstsdk_c.h>`

Collaboration diagram for PstTrackerData:
[legend]

## Data Fields
double | timestamp
int | seqnumber
size_t | number_of_targets
size_t | number_of_points
PstTargetPose * | targetlist
PstPoint * | datapoints

## Detailed Description

This struct contains all tracking information recorded at a certain time instance. It provides a list of all active tracking targets that have been detected by the PST Tracker, as well as a list of all 3D data points that have been detected by the tracker and are estimated not to be part of any active tracking target.

See also
  PstTargetPose
  PstPoint
  pst_tracker_add_tracker_data_callback()
  pst_tracker_add_tracker_callbacks()
  pst_tracker_get_single_measurement()

Examples
  exposure.c, images.c, listener.c, minimal.c, reference.c, and trackingtarget.c.

## Field Documentation

## ◆ datapoints

PstPoint* PstTrackerData::datapoints

Array of detected 3D markers not matched to a tracking target

## ◆ number_of_points

size_t PstTrackerData::number_of_points

The number of points in datapoints

## ◆ number_of_targets

size_t PstTrackerData::number_of_targets

The number of targets in targetlist

Examples
  listener.c, and trackingtarget.c.

## ◆ seqnumber

int PstTrackerData::seqnumber

Incremental data recording id

## ◆ targetlist

PstTargetPose* PstTrackerData::targetlist

Array of detected tracking targets

Examples
  listener.c, and trackingtarget.c.

## ◆ timestamp

double PstTrackerData::timestamp

Timestamp of the moment the cameras captured the data. The timestamp uses the system clock provided in seconds since system boot (Windows) or Epoch (Linux).

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

- include/pstsdk_c.h