Follow googlecartographer/cartographer#1352 (#957)

master
Christoph Schütte 2018-07-30 19:34:48 +02:00 committed by Wally B. Feed
parent 2910529446
commit b353e1ed64
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ void MapBuilderBridge::RunFinalOptimization() {
bool MapBuilderBridge::SerializeState(const std::string& filename) {
cartographer::io::ProtoStreamWriter writer(filename);
map_builder_->SerializeState(&writer);
map_builder_->SerializeState(/*include_unfinished_submaps=*/true, &writer);
return writer.Close();
}