C++ Examples
Sample programs to illustrate use of the Voyant SDK.
This section contains practical examples demonstrating how to use the Voyant SDK in various scenarios. Each example includes annotated code, explanations of key concepts, and instructions for running the code.
Available Examples
| Example | Description |
|---|---|
| Live Client | Connect to a Carbon sensor and capture live frames |
| SDL Command | Reconfigure the sensor (state, FOV, frame rate) at runtime |
| Data Recording | Record live sensor data to disk with file splitting options |
| Playback | Play back a recording and access frame data |
| Background Noise Calibration | Calibrate the sensor’s background-noise mask |
| Peak Dump | Dump the raw peak stream to CSV while streaming |
Running the Examples
All examples are available in the voyant-sdk repository. See the Installation Guide for procedure on installing and cloning this repository to your device.
Using these examples
You are encouraged to:
- Use these examples as starting points for your own applications
- Modify and adapt the examples to suit your needs
- Share your improvements with the community
When using the example code, please retain the copyright notices at the top of each file.