Skip to content

Commit c1b62b8

Browse files
committed
Log centralized estimates
1 parent bda8ef5 commit c1b62b8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cpp/src/distributed_mapper/evaluation_utils.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -504,6 +504,9 @@ namespace evaluation_utils{
504504
Values centralized = centralizedEstimation(full_graph_with_prior,
505505
model, prior_model,
506506
use_between_noise);
507+
508+
std::string dataset_file_name = "log/datasets/centralized.g2o";
509+
gtsam::writeG2o(full_graph_with_prior, centralized, dataset_file_name);
507510
double centralized_error = chordal_graph.error(centralized);
508511
std::cout << "Centralized Two Stage Error: " << centralized_error << std::endl;
509512

0 commit comments

Comments
 (0)