ADAS Library Overview

The ADAS ibrary provides a simplified means to generate ADAS applications.

Overview

The ADAS library is one of the main components of the Sensor Framework. It allows ADAS applications to use sensors, viewers, and algorithms through API functions and a configuration file. You must first provide a configuration file in JSON format to indicate how you intend to use the ADAS library.



Figure 1. ADAS Library and the Sensor Framework

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

The ADAS library provides API functions to:

ADAS library configuration

. The configuration file is a JSON-formatted text file that resides where it can be accessible to the ADAS library on your target. You must use the configuration file to configure how you want to make use of the ADAS library. For more information, see Configuring ADAS Library.”

Using the ADAS Library

Most adas applications follow a similar workflow:

  1. Call adas_initialize() to initialize the ADAS libarary with your configuration file.

    This API function initializes and starts the viewers and algorithms according to the configuration file that you provide.

  2. Perform any of the following actions based on the requirements of your ADAS application:
  3. Call adas_destroy() to clean up ADAS library resources when you no longer require use of the ADAS library.