> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.stereolabs.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.stereolabs.com/_mcp/server.

# Samples - Sensors API

This section contains samples demonstrating how to use the **Sensors API** (`sl::Sensors`) to manage multiple ZED cameras, ZED X One cameras, and LiDARs through a single, unified interface, live or from recordings, with 3D visualization and an interactive multi-sensor calibration tool.

> **Note**
>
> The Sensor Placer tool requires ZED SDK 5.2 or later, CUDA, Qt 5 (Widgets + OpenGL) and OpenGL.

## Getting Started

* First, download the latest version of the [ZED SDK](https://www.stereolabs.com/developers/).
* Download the [Sensors API](https://github.com/stereolabs/zed-sdk/tree/master/sensors_api) sample code in C++ or Python.

## Samples in this category

### Managed

Shows how to use `sl::Sensors` to manage ZED cameras, ZED X One cameras and LiDARs together through one unified interface. Supports auto-detection and live streaming from all connected devices, SVO/SVO2 and OSF file playback (including multi-file playback synchronized to a common timestamp), recording, 3D visualization (OpenGL or optional Rerun integration), and object detection / body tracking on ZED cameras. *(C++, Python)*

[GitHub](https://github.com/stereolabs/zed-sdk/tree/master/sensors_api/managed)

### Threaded

Shows how to manage multiple sensors using the individual `sl::Camera` and `sl::Lidar` APIs directly, with a dedicated worker thread per device instead of the unified `sl::Sensors` wrapper. Uses a lock-free, triple-buffered data path from worker threads to the main rendering thread, with optional timestamp-based cross-device synchronization. *(C++)*

[GitHub](https://github.com/stereolabs/zed-sdk/tree/master/sensors_api/threaded)

### Sensor Placer

A GUI tool for interactively positioning and orienting multiple ZED cameras and LiDARs relative to each other. Displays live point clouds from all connected sensors in a shared 3D view so you can adjust each sensor's pose, then export the result as a JSON configuration file for the Sensors API. *(C++)*

[GitHub](https://github.com/stereolabs/zed-sdk/tree/master/sensors_api/sensor_placer)

For more information on the onboard IMU, barometer and magnetometer sensors available on ZED cameras, see the [Sensors module documentation](/docs/development/zed-sdk/modules/sensors/).