#include <cmath>
#include <fstream>
#include <string>
#include "cartographer/common/port.h"
#include "cartographer/ground_truth/proto/relations.pb.h"
#include "cartographer/mapping/proto/sparse_pose_graph.pb.h"
#include "cartographer/transform/transform.h"
#include "gflags/gflags.h"
#include "glog/logging.h"
Go to the source code of this file.
|
| DEFINE_double (min_covered_distance, 100.,"Minimum covered distance in meters before a loop closure is ""considered a candidate for autogenerated ground truth.") |
|
| DEFINE_double (outlier_threshold, 0.15,"Distance in meters beyond which constraints are considered ""outliers.") |
|
| DEFINE_string (pose_graph_filename,"","File with the pose graph proto from which to generate ground truth data.") |
|
| DEFINE_string (output_filename,"","File to write the ground truth proto to.") |
|
int | main (int argc, char **argv) |
|
DEFINE_double |
( |
min_covered_distance |
, |
|
|
100. |
, |
|
|
"Minimum covered distance in meters before a loop closure is ""considered a candidate for autogenerated ground truth." |
|
|
) |
| |
DEFINE_double |
( |
outlier_threshold |
, |
|
|
0. |
15, |
|
|
"Distance in meters beyond which constraints are considered ""outliers." |
|
|
) |
| |
DEFINE_string |
( |
pose_graph_filename |
, |
|
|
"" |
, |
|
|
"File with the pose graph proto from which to generate ground truth data." |
|
|
) |
| |
DEFINE_string |
( |
output_filename |
, |
|
|
"" |
, |
|
|
"File to write the ground truth proto to." |
|
|
) |
| |
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |