Functions |
void | init_config (t_config *config) |
void | init_flags (t_flag *flags) |
void | init_data (t_data *data) |
void | init_data_acc (t_data_acc *data_acc, t_config *config, t_flag *) |
void | clear_data_acc (t_data_acc *data_acc, t_config *, t_flag *) |
| Frees data on accumulator.
|
void | add_to_data_acc (t_data_acc *data_acc, t_data *data) |
void | get_data_from_acc (t_data_acc *data_acc, t_data *data, t_config *config) |
double | point2point_distance (double xi, double yi, double xf, double yf) |
double | point2point_algebric_distance (double xi, double yi, double xf, double yf) |
double | point2line_distance (double alpha, double ro, double x, double y) |
int | real2print (double x, t_config *config) |
void | get_data (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_data_from_ipm (t_data *data, ipm_data_message *sensordata, t_config *) |
| Converts values from the laser to the basic data format.
|
void | get_data_uncliped (t_data *data, float *range_vector, int size, double angular_resolution, t_config *config) |
void | calc_cluster_props (t_cluster **clusters, int size, t_data *data, t_config *) |
double | dietmayer_threshold (double r, t_config *config) |
t_cluster ** | clustering (t_data *data, int *count, t_config *config, t_flag *flags) |
bool | clip_point (double r, double t, t_config *config) |
double | gerate_uniform (int val) |
| Gerates a random uniformnumber.
|
int | remove_points_acc (t_data_acc *data_acc, t_data *data, t_config *config, t_flag *) |
| Removes points from acc based on their overlap.
|
void | remove_small_clusters (t_cluster **clusters, int *size, int threshold) |
void | remove_border_points (t_cluster **clusters, int size, int npoints) |
void | remove_data_point (t_data *data, int p) |
void | simplify_data (t_data *data, int n) |
| Blindly cut down data.
|