3 #include <gsl/gsl_nan.h> 47 static char buf[5000];
84 fprintf(stderr,
"String passed from Ruby is invalid JSON: \n\n%s\n", s);
89 fprintf(stderr,
"String passed from Ruby is valid JSON, " 90 "but can't load laser_data. \n\n%s\n", s);
void rb_set_laser_ref(const char *s)
void rb_set_laser_sens(const char *s)
void sm_icp(struct sm_params *input, struct sm_result *output)
int rb_sm_set_configuration(const char *name, const char *value)
struct sm_result rb_sm_result
LDP string_to_ld(const char *s)
FILE * open_file_for_writing(const char *filename)
void rb_sm_close_journal()
JO result_to_json(struct sm_params *p, struct sm_result *r)
struct option * options_allocate(int n)
void rb_sm_odometry(double x, double y, double theta)
const char * rb_result_to_json()
JO json_parse(const char *str)
struct sm_params rb_sm_params
void rb_sm_init_journal(const char *journal_file)
void rb_sm_odometry_cov(double cov_x, double cov_y, double cov_theta)
int options_try_pair(struct option *ops, const char *name, const char *value)
void sm_gpm(struct sm_params *input, struct sm_result *output)
void jj_set_stream(FILE *f)
void sm_options(struct sm_params *p, struct option *ops)