From a103e8f93a13557ce7ab7991d0f20b76a86123a6 Mon Sep 17 00:00:00 2001 From: Alexander Belyaev <32522095+pifon2a@users.noreply.github.com> Date: Thu, 25 Jan 2018 08:59:52 +0100 Subject: [PATCH] Implement 'num_trajectory_builders' in map_builder_stub. (#845) A huuuuuge PR. --- cartographer_grpc/mapping/map_builder_stub.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cartographer_grpc/mapping/map_builder_stub.cc b/cartographer_grpc/mapping/map_builder_stub.cc index 4c07563..556607c 100644 --- a/cartographer_grpc/mapping/map_builder_stub.cc +++ b/cartographer_grpc/mapping/map_builder_stub.cc @@ -98,7 +98,7 @@ void MapBuilderStub::LoadMap( } int MapBuilderStub::num_trajectory_builders() const { - LOG(FATAL) << "Not implemented"; + return trajectory_builder_stubs_.size(); } cartographer::mapping::PoseGraphInterface* MapBuilderStub::pose_graph() {