#include <algorithm>
#include <cmath>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include "cartographer/common/math.h"
#include "cartographer/common/port.h"
#include "cartographer/ground_truth/proto/relations.pb.h"
#include "cartographer/ground_truth/relations_text_file.h"
#include "cartographer/io/proto_stream.h"
#include "cartographer/io/proto_stream_deserializer.h"
#include "cartographer/mapping/proto/pose_graph.pb.h"
#include "cartographer/transform/rigid_transform.h"
#include "cartographer/transform/transform.h"
#include "cartographer/transform/transform_interpolation_buffer.h"
#include "gflags/gflags.h"
#include "glog/logging.h"
Go to the source code of this file.
|
| DEFINE_bool (read_text_file_with_unix_timestamps, false, "Enable support for the relations text files as in the paper. " "Default is to read from a GroundTruth proto file.") |
|
| DEFINE_bool (write_relation_metrics, false, "Enable exporting relation metrics as comma-separated values to " "[pose_graph_filename].relation_metrics.csv") |
|
| DEFINE_string (pose_graph_filename, "", "Proto stream file containing the pose graph used to assess quality.") |
|
| DEFINE_string (relations_filename, "", "Relations file containing the ground truth.") |
|
int | main (int argc, char **argv) |
|
◆ DEFINE_bool() [1/2]
DEFINE_bool |
( |
read_text_file_with_unix_timestamps |
, |
|
|
false |
, |
|
|
"Enable support for the relations text files as in the paper. " "Default is to read from a GroundTruth proto file." |
|
|
) |
| |
◆ DEFINE_bool() [2/2]
DEFINE_bool |
( |
write_relation_metrics |
, |
|
|
false |
, |
|
|
"Enable exporting relation metrics as comma-separated values to " ".relation_metrics.csv" |
[pose_graph_filename] |
|
) |
| |
◆ DEFINE_string() [1/2]
DEFINE_string |
( |
pose_graph_filename |
, |
|
|
"" |
, |
|
|
"Proto stream file containing the pose graph used to assess quality." |
|
|
) |
| |
◆ DEFINE_string() [2/2]
DEFINE_string |
( |
relations_filename |
, |
|
|
"" |
, |
|
|
"Relations file containing the ground truth." |
|
|
) |
| |
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ rotational_squared
double rotational_squared |
◆ translational_squared
double translational_squared |