Loading...
Searching...
No Matches
Examples

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\python` directory. When the PST SDK has been installed through the PST Software Suite installer the examples can be found in the Development folder. The Python examples require the absolute path of the PST Tracker configuration file to be uses as a startup argument: basler_ace for the PST HD and basler_dart for the PST Pico.

- minimal.py - A minimal example (without safeguards) that shows how to get the PST SDK working.
- listener.py - An example showing how to implement the pstech.pstsdk.tracker.Listener class to receive data and mode changes from the PST Tracker.
- trackingtarget.py - An example showing how to work with tracking targets from the PST SDK.
- exposure.py - An example showing how to work with the PST Tracker exposure setting.
- reference.py - An example showing how to change the reference coordinate system in which tracking results are reported.
- images.py - An example showing how to enable image transfer and grab images recorded by the the PST Tracker.
- sharedmemory.py - An example showing how to enable the shared memory communication pipeline for connecting the PST Client.
- restserver.py - An example showing how to enable the REST server, providing HTTP access to the PST Tracker.