List of functions which external algorithm libraries must implement
#include <adas/adas_external_algo.h>
typedef struct adas_ext_algorithm { adas_fusion_algo_probe_t probe; adas_fusion_algo_open_t open; adas_fusion_algo_process_sensor_buffer_t process_sensor_buffer; adas_fusion_algo_close_t close; } adas_ext_algorithm_t;
For the list of arguments to implement in the function, see adas_fusion_algo_probe_t.
The handle returned by the algorithm to this function is passed to process_sensor_buffer() and close() to identify the instance of the algorithm of interest. For the list of arguments to implement in the function, see adas_fusion_algo_open_t.
For the list of arguments to implement in the function, see adas_fusion_algo_process_sensor_buffer_t.
The algorithm library should do proper cleanup of any memory associated with this instance. For the list of arguments to implement in the function, see adas_fusion_algo_close_t.
The library for the external algorithm must create an instance of this structure that is named adas_ext_algorithm_defs and will be linked by the ADAS library to integrate this algorithm.