Sensor Library Reference

Updated: April 19, 2023

The Sensor library provides applications with a consistent interface to interact with sensors connected to the system.

Through this library's API, you can perform sensor operations that include:

This library provides a mechanism to work with the data from sensors, which includes registering events and callbacks, and getting various forms of the raw data from the sensor.

Note: If you want to dynamically modify camera settings, such as resolution, framerate, video format, white balance, etc., on the camera, use the Camera library instead. For more information, see the Camera Developer's Guide.