laser_data_json.h
Go to the documentation of this file.
1 #ifndef H_LASER_DATA_JSON
2 #define H_LASER_DATA_JSON
3 
4 #include <gsl/gsl_matrix.h>
5 #include <gsl/gsl_vector.h>
6 
7 #include <json-c/json.h>
9 
10 #include "laser_data.h"
11 #include "algos.h"
12 
13 /* Laserdata to/from json */
14 
17 
18 JO corr_to_json(struct correspondence*, int n);
19 int json_to_corr(JO jo, struct correspondence*, int n);
20 
22 LDP ld_from_json_string(const char*s);
23 void ld_write_as_json(LDP ld, FILE * stream);
24 
25 
26 /* Other stuff to/from json */
27 
28 JO matrix_to_json(gsl_matrix*m);
29 JO vector_to_json(gsl_vector*v);
30 JO result_to_json(struct sm_params*p, struct sm_result *r);
31 
32 #endif
m
#define m(v1, v2)
Definition: egsl_macros.h:13
p
struct @0 p
ld_to_json
JO ld_to_json(LDP)
Definition: laser_data_json.c:134
ld_from_json_string
LDP ld_from_json_string(const char *s)
Definition: laser_data_json.c:216
json_to_ld
LDP json_to_ld(JO)
Definition: laser_data_json.c:170
sm_params
Definition: algos.h:12
json_more_utils.h
vector_to_json
JO vector_to_json(gsl_vector *v)
Definition: laser_data_json.c:78
ld_write_as_json
void ld_write_as_json(LDP ld, FILE *stream)
Definition: laser_data_json.c:258
result_to_json
JO result_to_json(struct sm_params *p, struct sm_result *r)
Definition: laser_data_json.c:94
ld_from_json_stream
LDP ld_from_json_stream(FILE *)
Definition: laser_data_json.c:231
algos.h
sm_result
Definition: algos.h:138
laser_data.h
json.h
corr_to_json
JO corr_to_json(struct correspondence *, int n)
Definition: laser_data_json.c:60
correspondence
Definition: laser_data.h:61
laser_data
Definition: laser_data.h:16
json_to_corr
int json_to_corr(JO jo, struct correspondence *, int n)
Definition: laser_data_json.c:39
json_object
Definition: json_object_private.h:21
matrix_to_json
JO matrix_to_json(gsl_matrix *m)
Definition: laser_data_json.c:16


csm
Author(s): Andrea Censi
autogenerated on Wed Aug 17 2022 02:50:33