diff --git a/cartographer/cloud/client/map_builder_stub.cc b/cartographer/cloud/client/map_builder_stub.cc index 038bfb2..0fdcfb8 100644 --- a/cartographer/cloud/client/map_builder_stub.cc +++ b/cartographer/cloud/client/map_builder_stub.cc @@ -125,8 +125,10 @@ std::string MapBuilderStub::SubmapToProto( void MapBuilderStub::SerializeState(bool include_unfinished_submaps, io::ProtoStreamWriterInterface* writer) { - CHECK(!include_unfinished_submaps) - << "Writing of unfinished submaps is unsupported."; + if (!include_unfinished_submaps) { + LOG(WARNING) << "Serializing unfinished submaps is currently unsupported. " + "Proceeding to write the state without them."; + } google::protobuf::Empty request; async_grpc::Client client(client_channel_); CHECK(client.Write(request));