Go to the source code of this file.
Functions | |
int | all_is (int *a, int n, int v) |
JO | corr_to_json (struct correspondence *corr, int n) |
int | is_all_nan (const double *v, int n) |
void | jo_add_double_array_if_not_nan (JO jo, const char *name, const double *v, int n) |
void | jo_add_timestamp (JO jo, const char *name, struct timeval *tv) |
int | json_to_corr (JO array, struct correspondence *corr, int n) |
LDP | json_to_ld (JO jo) |
LDP | ld_from_json_stream (FILE *file) |
LDP | ld_from_json_string (const char *s) |
JO | ld_to_json (LDP ld) |
void | ld_write_as_json (LDP ld, FILE *stream) |
JO | matrix_to_json (gsl_matrix *m) |
JO | result_to_json (struct sm_params *p, struct sm_result *r) |
JO | vector_to_json (gsl_vector *vec) |
int all_is | ( | int * | a, |
int | n, | ||
int | v | ||
) |
true if all values are equal to v
Definition at line 129 of file laser_data_json.c.
JO corr_to_json | ( | struct correspondence * | corr, |
int | n | ||
) |
Definition at line 60 of file laser_data_json.c.
int is_all_nan | ( | const double * | v, |
int | n | ||
) |
Definition at line 117 of file laser_data_json.c.
void jo_add_double_array_if_not_nan | ( | JO | jo, |
const char * | name, | ||
const double * | v, | ||
int | n | ||
) |
Adds unless it's all NAN
Definition at line 123 of file laser_data_json.c.
void jo_add_timestamp | ( | JO | jo, |
const char * | name, | ||
struct timeval * | tv | ||
) |
Definition at line 89 of file laser_data_json.c.
int json_to_corr | ( | JO | array, |
struct correspondence * | corr, | ||
int | n | ||
) |
XXX : check it's an array and its size is good
Definition at line 39 of file laser_data_json.c.
Definition at line 170 of file laser_data_json.c.
LDP ld_from_json_stream | ( | FILE * | file | ) |
Definition at line 231 of file laser_data_json.c.
LDP ld_from_json_string | ( | const char * | s | ) |
Definition at line 216 of file laser_data_json.c.
Definition at line 134 of file laser_data_json.c.
void ld_write_as_json | ( | LDP | ld, |
FILE * | stream | ||
) |
Definition at line 258 of file laser_data_json.c.
JO matrix_to_json | ( | gsl_matrix * | m | ) |
Definition at line 16 of file laser_data_json.c.
Definition at line 94 of file laser_data_json.c.
JO vector_to_json | ( | gsl_vector * | vec | ) |
Definition at line 78 of file laser_data_json.c.