#include "laser_data.h"
Go to the source code of this file.
Classes | |
struct | oriented_bbox |
struct | stroke_sequence |
Typedefs | |
typedef oriented_bbox * | BB2 |
typedef struct bbfind_imp | bbfind |
Enumerations | |
enum | ld_reference { Invalid = 0, Odometry = 1, Estimate = 2, True_pose = 3 } |
Functions | |
int | bbfind_add_bbox (bbfind *, const BB2) |
int | bbfind_add_point (bbfind *, double point[2]) |
int | bbfind_add_point2 (bbfind *, double x, double y) |
int | bbfind_compute (bbfind *, BB2) |
void | bbfind_free (bbfind *) |
bbfind * | bbfind_new () |
void | compute_stroke_sequence (LDP ld, struct stroke_sequence *, double horizon, double connect_threshold) |
int | ld_get_bounding_box (LDP ld, double bb_min[2], double bb_max[2], double pose[3], double horizon) |
void | ld_get_oriented_bbox (LDP ld, double horizon, BB2) |
double * | ld_get_reference_pose (LDP ld, ld_reference use_reference) |
double * | ld_get_reference_pose_silent (LDP ld, ld_reference use_reference) |
int | ld_read_some_scans_distance (FILE *file, LDP **array, int *num, ld_reference which, double d_xy, double d_th) |
const char * | ld_reference_to_string (ld_reference) |
ld_reference | ld_string_to_reference (const char *string) |
void | lda_get_bounding_box (LDP *ld, int nld, double bb_min[2], double bb_max[2], double offset[3], ld_reference use_reference, double horizon) |
void | oriented_bbox_compute_corners (const BB2, double ul[2], double ur[2], double ll[2], double lr[2]) |
typedef oriented_bbox* BB2 |
Definition at line 30 of file laser_data_drawing.h.
typedef struct bbfind_imp bbfind |
Definition at line 50 of file laser_data_drawing.h.
enum ld_reference |
Definition at line 6 of file laser_data_drawing.h.
int bbfind_add_bbox | ( | bbfind * | , |
const BB2 | |||
) |
Definition at line 74 of file laser_data_bbox.c.
int bbfind_add_point | ( | bbfind * | , |
double | point[2] | ||
) |
Definition at line 42 of file laser_data_bbox.c.
int bbfind_add_point2 | ( | bbfind * | , |
double | x, | ||
double | y | ||
) |
Definition at line 46 of file laser_data_bbox.c.
int bbfind_compute | ( | bbfind * | , |
BB2 | |||
) |
Definition at line 85 of file laser_data_bbox.c.
void bbfind_free | ( | bbfind * | ) |
Definition at line 116 of file laser_data_bbox.c.
bbfind* bbfind_new | ( | ) |
Definition at line 34 of file laser_data_bbox.c.
void compute_stroke_sequence | ( | LDP | ld, |
struct stroke_sequence * | , | ||
double | horizon, | ||
double | connect_threshold | ||
) |
Definition at line 114 of file laser_data_drawing.c.
int ld_get_bounding_box | ( | LDP | ld, |
double | bb_min[2], | ||
double | bb_max[2], | ||
double | pose[3], | ||
double | horizon | ||
) |
Returns != 0 if enough points were found
Definition at line 22 of file laser_data_drawing.c.
void ld_get_oriented_bbox | ( | LDP | ld, |
double | horizon, | ||
BB2 | |||
) |
double* ld_get_reference_pose | ( | LDP | ld, |
ld_reference | use_reference | ||
) |
Same as ld_get_reference_pose_silent(), but it also checks that the pose is valid (no NANs inside).
Definition at line 103 of file laser_data_drawing.c.
double* ld_get_reference_pose_silent | ( | LDP | ld, |
ld_reference | use_reference | ||
) |
Gets a pointer to the pose specified by 'use_reference', or 0 if use_reference is invalid.
Definition at line 90 of file laser_data_drawing.c.
int ld_read_some_scans_distance | ( | FILE * | file, |
LDP ** | array, | ||
int * | num, | ||
ld_reference | which, | ||
double | d_xy, | ||
double | d_th | ||
) |
Definition at line 115 of file laser_data_load.c.
const char* ld_reference_to_string | ( | ld_reference | ) |
Definition at line 9 of file laser_data_drawing.c.
ld_reference ld_string_to_reference | ( | const char * | string | ) |
Definition at line 13 of file laser_data_drawing.c.
void lda_get_bounding_box | ( | LDP * | ld, |
int | nld, | ||
double | bb_min[2], | ||
double | bb_max[2], | ||
double | offset[3], | ||
ld_reference | use_reference, | ||
double | horizon | ||
) |
Definition at line 60 of file laser_data_drawing.c.
void oriented_bbox_compute_corners | ( | const BB2 | , |
double | ul[2], | ||
double | ur[2], | ||
double | ll[2], | ||
double | lr[2] | ||
) |
Definition at line 60 of file laser_data_bbox.c.