Namespaces | Functions
compute_relations_metrics_main.cc File Reference
#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"
Include dependency graph for compute_relations_metrics_main.cc:

Go to the source code of this file.

Namespaces

 cartographer
 
 cartographer::ground_truth
 

Functions

 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)
 

Function Documentation

◆ 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 
)

Definition at line 219 of file compute_relations_metrics_main.cc.

Variable Documentation

◆ rotational_squared

double rotational_squared

Definition at line 57 of file compute_relations_metrics_main.cc.

◆ translational_squared

double translational_squared

Definition at line 56 of file compute_relations_metrics_main.cc.



cartographer
Author(s): The Cartographer Authors
autogenerated on Mon Feb 28 2022 22:00:59