Functions |
| void | init_config (t_config *config) |
| void | init_flags (t_flag *flags) |
| t_cluster ** | clustering (t_data *data, int *count, t_config *config, t_flag *flags) |
| t_object ** | clusters2objects (t_cluster **clusters, int size, t_data *data, t_config *config, t_flag *flag) |
| void | remove_small_clusters (t_cluster **clusters, int *size, int threshold) |
| void | remove_border_points (t_cluster **clusters, int size, int npoints) |
| void | smooth_clusters (t_cluster **clusters, int size, t_data *data, 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_uncliped (t_data *data, float *range_vector, int size, double angular_resolution, t_config *config) |
| void | get_data_from_acc (t_data_acc *data_acc, t_data *data, t_config *config) |
| void | get_data_from_ipm (t_data *data, ipm_data_message *sensordata, t_config *) |
| | Converts values from the laser to the basic data format.
|
| bool | clip_point (double r, double t, t_config *config) |
| int | real2print (double x, t_config *config) |
| double | dietmayer_threshold (double r, t_config *config) |
| void | calc_cluster_props (t_cluster **clusters, int size, t_data *data, t_config *) |
| void | calc_object_props (t_object **objects, int size, t_config *config, t_flag *flags) |
| void | point_match (t_match *match, t_data *oldd, t_data *newd, t_config *config, t_flag *flags) |
| void | recursive_IEPF (t_object *object, t_data *data, int start, int end, t_config *config) |
| void | recursive_line_fitting (t_object *object, t_cluster *cluster, t_data *data, t_config *config) |
| void | free_lines (t_object **objects, int size) |
| double | gerate_uniform (int val) |
| | Gerates a random uniformnumber.
|
| double | point2line_distance (double alpha, double ro, double x, double y) |
| double | point2point_distance (double xi, double yi, double xf, double yf) |
| double | point2point_algebric_distance (double xi, double yi, double xf, double yf) |
| 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_data_point (t_data *data, int p) |
| void | remove_data_acc_point (t_data_acc *data, int p) |
| 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 | init_data (t_data *data) |
| void | simplify_data (t_data *data, int n) |
| | Blindly cut down data.
|
Auxiliar functions header.