C++ Examples
Sample test scenario codes to illustrate use of the Voyant API.
🚧 These docs are out of date as of May, 2026. 🚧
They reflect the Meadowlark (Carbon dev kit) API and may not apply to Carbon systems.
Questions? Reach out to us at: support@voyantphotonics.com
They reflect the Meadowlark (Carbon dev kit) API and may not apply to Carbon systems.
Questions? Reach out to us at: support@voyantphotonics.com
This section contains practical examples demonstrating how to use the Voyant API 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 Voyant sensor and capture live frames |
| Playback | Play back a recorded .bin file and access frame data |
| Data Recording | Record live sensor data to disk with file splitting options |
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.