adas_fusion_create_buffer_from_tracking()
Create a fusion buffer to contain the information extracted by the algorithm
Synopsis:
#include <adas/adas_external_algo.h>adas_error_t adas_fusion_create_buffer_from_tracking(uint32_t id,
const adas_fusion_object_data_t *objects,
size_t nb_objects,
const adas_fusion_buffer_t **return_buffer)Arguments:
- id
- The unique identifier associated with this instance of the algorithm; it is passed as an argument to adas_fusion_algo_open_t.
- objects
- An array of objects containing the details of the detected objects.
- nb_objects
- The number of entries in the objects array.
- return_buffer
- On success, the memory pointed to by this argument is filled with the generated fusion buffer containing the information of the objects.
Library:
libadasDescription:
When the algorithm has finished processing a buffer and has detected objects to report to the ADAS library, it needs to call this function to create a buffer that is returned as the return_buffer argument to adas_fusion_algo_process_sensor_buffer_t.
Returns:
ADAS_EOK when the function successfully completes, otherwise another adas_error_t value that provides the reason that the call failed.
Page updated:
