This page lists the different examples that are available on how to use the PST SDK. The source code for these examples can be found in the examples\c
directory. When the PST SDK has been installed through the PST Software Suite installer the examples can be found in the Development folder. Note that when using the examples on Linux, they require explicitly stating the camera grabber to use as a startup argument: basler_ace for the PST HD and basler_dart for the PST Pico.
- minimal.c - A minimal example (without safeguards) that shows how to get the PST SDK working.
- listener.c - An example showing how to implement the callback functions to receive data and mode changes from the PST Tracker.
- trackingtarget.c - An example showing how to work with tracking targets from the PST SDK.
- exposure.c - An example showing how to work with the PST Tracker exposure setting.
- reference.c - An example showing how to change the reference coordinate system in which tracking results are reported.
- images.c - An example showing how to enable image transfer and grab images recorded by the the PST Tracker.
- sharedmemory.c - An example showing how to enable the shared memory communication pipeline for connecting the PST Client.
- restserver.c - An example showing how to enable the REST server, providing HTTP access to the PST Tracker.