Go to the source code of this file.
Macros | |
#define | MAX_LINE_LENGTH 10000 |
Functions | |
LDP | ld_from_carmen_string (const char *line) |
int | ld_read_next_laser_carmen (FILE *file, LDP *ld) |
void | ld_write_as_carmen (LDP ld, FILE *stream) |
void | ld_write_format (LDP ld, FILE *f, const char *out_format) |
int | read_next_double (const char *line, size_t *cur, double *d) |
int | read_next_integer (const char *line, size_t *cur, int *d) |
int | read_next_string (const char *line, size_t *cur, char *buf, size_t buf_len) |
Variables | |
const char * | carmen_prefix = "FLASER " |
#define MAX_LINE_LENGTH 10000 |
LDP ld_from_carmen_string | ( | const char * | line | ) |
Read laser data from a Carmen-formatted line
Definition at line 52 of file laser_data_carmen.c.
int ld_read_next_laser_carmen | ( | FILE * | file, |
LDP * | ld | ||
) |
Read next FLASER line in file, or NULL on error
Definition at line 170 of file laser_data_carmen.c.
void ld_write_as_carmen | ( | LDP | ld, |
FILE * | stream | ||
) |
Write the laser data in CARMEN format
Definition at line 193 of file laser_data_carmen.c.
void ld_write_format | ( | LDP | ld, |
FILE * | stream, | ||
const char * | out_format | ||
) |
Write a scan according to out_format = {"carmen", "json"}
Definition at line 213 of file laser_data_carmen.c.
int read_next_double | ( | const char * | line, |
size_t * | cur, | ||
double * | d | ||
) |
Returns 0 on success
Definition at line 20 of file laser_data_carmen.c.
int read_next_integer | ( | const char * | line, |
size_t * | cur, | ||
int * | d | ||
) |
Returns 0 on success
Definition at line 32 of file laser_data_carmen.c.
int read_next_string | ( | const char * | line, |
size_t * | cur, | ||
char * | buf, | ||
size_t | buf_len | ||
) |
Always returns 0
Definition at line 43 of file laser_data_carmen.c.
const char* carmen_prefix = "FLASER " |
Definition at line 7 of file laser_data_carmen.c.