From b353e1ed6476e17aa1b29186c1c30cd0eaca93d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20Sch=C3=BCtte?= Date: Mon, 30 Jul 2018 19:34:48 +0200 Subject: [PATCH] Follow googlecartographer/cartographer#1352 (#957) --- cartographer_ros/cartographer_ros/map_builder_bridge.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cartographer_ros/cartographer_ros/map_builder_bridge.cc b/cartographer_ros/cartographer_ros/map_builder_bridge.cc index 11121cd..a13a387 100644 --- a/cartographer_ros/cartographer_ros/map_builder_bridge.cc +++ b/cartographer_ros/cartographer_ros/map_builder_bridge.cc @@ -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(); }