ADAS Library Overview

Updated: April 19, 2023

The ADAS library provides a simplified means to develop applications that visualize sensor data.

Overview

The ADAS library is one of the main components of the Sensor Framework. It allows applications to use sensors, viewers, and algorithms through API functions and a configuration file, to visualize and also record sensor data.



Figure 1. ADAS Library and the Sensor Framework

The ADAS library (API and configuration) provides the following functionality:

For more information on the API, see the ADAS Library Reference chapter.

ADAS library configuration

The configuration file is a JSON-formatted text file that resides where it can be accessed by the ADAS library on your target. In the configuration file, you specify how you want to use the ADAS library. For more information, see Configuring the ADAS Library.”

ADAS library usage

Most client applications follow a similar workflow:
  1. Call adas_initialize() to initialize the ADAS library.

    This API function initializes and starts the viewers and algorithms according to the given configuration file.

  2. Perform any of the following actions as needed:
  3. Call adas_destroy() to clean up the ADAS library resources when the library is no longer needed.