Go to the documentation of this file.
19 int main(
int argc,
const char*argv[]) {
30 "File for journaling -- if left empty, journal not open.");
38 fprintf(stderr,
"\n\nUsage:\n");
65 sm_error(
"Could not read first scan.\n");
69 sm_error(
"Invalid laser data in first scan.\n");
83 sm_error(
"Invalid laser data in (#%d in file).\n", count);
87 params.laser_ref = laser_ref;
88 params.laser_sens = laser_sens;
93 double ominus_laser[3], temp[3];
95 oplus_d(ominus_laser, odometry, temp);
123 ld_free(laser_ref); laser_ref = laser_sens;
void copy_d(const double *from, int n, double *to)
void sm_options(struct sm_params *p, struct option *ops)
int ld_valid_fields(LDP ld)
int main(int argc, const char *argv[])
const char * file_out_stats
FILE * open_file_for_writing(const char *filename)
void ominus_d(const double x[3], double res[3])
void sm_icp(struct sm_params *input, struct sm_result *output)
void sm_set_program_name(const char *name)
JO result_to_json(struct sm_params *p, struct sm_result *r)
void pose_diff_d(const double pose2[3], const double pose1[3], double res[3])
struct option * options_allocate(int n)
void options_int(struct option *, const char *name, int *p, int def_value, const char *desc)
void sm_gpm(struct sm_params *input, struct sm_result *output)
FILE * open_file_for_reading(const char *filename)
void options_print_help(struct option *options, FILE *f)
void jj_set_stream(FILE *f)
void sm_error(const char *msg,...)
void oplus_d(const double x1[3], const double x2[3], double res[3])
const char * file_out_stats
LDP ld_read_smart(FILE *)
void options_string(struct option *, const char *name, const char **p, const char *def_balue, const char *desc)
int options_parse_args(struct option *ops, int argc, const char *argv[])
void ld_write_as_json(LDP ld, FILE *stream)
csm
Author(s): Andrea Censi
autogenerated on Wed Aug 17 2022 02:50:33