Data aquisition functions. More...
#include "common.h"
Functions | |
void | get_data_uncliped (t_data *data, float *range_vector, int size, double angular_resolution, t_config *config) |
Converts values from the laser to the basic data format. | |
void | get_occluded_data (t_data *new_data, t_data *last_data, t_data *occluded_data, t_config *config) |
Get occluded data from old data and new data and puts it in occluded_data vector. | |
void | copy_data (t_data *src, t_data *dst) |
Copies data. | |
void | get_data_uncliped_from_acc (t_data_acc *data_acc, t_data *data, t_config *config) |
Gets data from ACC. | |
void | add_to_data_acc (t_data_acc *data_acc, t_data *data) |
Adds entry to acc. | |
void | fill_occluded_data_with_filtered_data (t_data *normal_data, t_data *occluded_data) |
void | advanced_data_merge (t_data *normal_data, t_data *occluded_data, t_data *full_data, t_config *config, t_flag *flags) |
bool | clip_point (double r, double t, t_config *config) |
Returns true if the point is outside cliping range. | |
void | final_clean_data (t_data *data, t_config *config) |
void | init_data (t_data *data) |
Init data. | |
void | add_point_to_data_vector (t_data *data, int pos, double x, double y, double t, double r) |
Adds single point to a data vector. | |
void | remove_data_point (t_data *data, int p) |
Removes a single point from a data vector, NOT IN USE, NOT UP TO DATE. | |
void | get_data_from_acc (t_data_acc *data_acc, t_data *data, t_config *config) |
Gets data from ACC. | |
void | init_data_acc (t_data_acc *data_acc, t_config *config, t_flag *) |
Init data acc. | |
double | dietmayer_threshold (double r, t_config *config) |
Computes dietmayer clustering threshold. |
Data aquisition functions.
Data aquisition functions header.