laser_data_json.h
Go to the documentation of this file.
00001 #ifndef H_LASER_DATA_JSON
00002 #define H_LASER_DATA_JSON
00003 
00004 #include <gsl/gsl_matrix.h>
00005 #include <gsl/gsl_vector.h>
00006 
00007 #include <json-c/json.h>
00008 #include <json-c/json_more_utils.h>
00009 
00010 #include "laser_data.h"
00011 #include "algos.h"
00012 
00013 /* Laserdata to/from json */
00014 
00015 JO ld_to_json(LDP);
00016 LDP json_to_ld(JO);
00017 
00018 JO corr_to_json(struct correspondence*, int n);
00019 int json_to_corr(JO jo, struct correspondence*, int n);
00020 
00021 LDP ld_from_json_stream(FILE*);
00022 LDP ld_from_json_string(const char*s);
00023 void ld_write_as_json(LDP ld, FILE * stream);
00024 
00025 
00026 /* Other stuff to/from json */
00027 
00028 JO matrix_to_json(gsl_matrix*m);
00029 JO vector_to_json(gsl_vector*v);
00030 JO result_to_json(struct sm_params*p, struct sm_result *r);
00031 
00032 #endif


csm
Author(s): Andrea Censi
autogenerated on Mon Jan 16 2017 03:48:29