adas_fusion_algo_process_sensor_buffer_t

Updated: October 26, 2022

Process a sensor buffer using a given instance of an algorithm

Synopsis:

#include <adas/adas_fusion_defs.h>
typedef adas_error_t(
          * adas_fusion_algo_process_sensor_buffer_t)(adas_fusion_algo_handle_t algo_handle,
          const adas_sensor_properties_t *sensor_properties,
          const adas_sensor_buffer_t *sensor_buffer,
          const adas_fusion_buffer_t **return_buffer);

Arguments:

algo_handle
The algorithm handle generated by a call to adas_fusion_algo_open_t.
sensor_properties
Information about the sensor that produced the buffer to be processed (see adas_sensor_properties_t).
sensor_buffer
A pointer to the sensor buffer to be processed by this function (see adas_sensor_buffer_t).
return_buffer
A pointer to memory for storing a pointer to the fusion buffer generated from extracting information from this sensor buffer (see adas_fusion_buffer_t). If no information was extracted from this buffer, this argument points to NULL.

Library:

libadas

Description:

This function is called for each sensor buffer received for an associated sensor, to permit the algorithm to extract information from the sensor buffer.

Returns:

ADAS_EOK when the function successfully completes, otherwise another adas_error_t value that provides the reason that the call failed.