About This Guide

Updated: April 19, 2023

The Sensor library abstracts the complexity of interfacing with sensors and cameras connected to the target board.

Use the Sensor library to work with sensors (e.g., radar, lidar, Global Positioning System (GPS), Inertial Measurement Unit (IMU)) or cameras. The Sensor library provides an interface that applications can use to communicate with sensors or cameras. This guide describes the Sensor library and how to work with the API.

Note: There are several code snippets included in this guide. These examples show what functions can be called and how you can use them to build applications. For readability, we’ve omitted any error checking and handling in the code snippets. For your production application code, make sure you perform the appropriate error handling.
To find out about: See:
The architecture and capabilities of the Sensor Library Sensor Library Overview
Starting and stopping streaming data from a sensor Starting and stopping a sensor unit
Accessing sensor information Accessing sensor data and status
The Sensor API Sensor Library Reference