adas_fusion_algo_process_sensor_buffer_t

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
Algorithm handle returned from call to adas_fusion_algo_open_t.
sensor_properties
Contains information about the sensor that produced the buffer to be processed.
sensor_buffer
The buffer to be processed by this function.
return_buffer
Filled by this function with a pointer to the fusion buffer generated from extracting information from this buffer. If no information was extracted from this buffer, it is set 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.