diff --git a/cartographer/mapping/map_builder.cc b/cartographer/mapping/map_builder.cc index 3eb7ebd..b005a1d 100644 --- a/cartographer/mapping/map_builder.cc +++ b/cartographer/mapping/map_builder.cc @@ -104,10 +104,6 @@ int MapBuilder::GetBlockingTrajectoryId() const { return sensor_collator_.GetBlockingTrajectoryId(); } -proto::TrajectoryConnectivity MapBuilder::GetTrajectoryConnectivity() { - return ToProto(sparse_pose_graph_->GetConnectedTrajectories()); -} - string MapBuilder::SubmapToProto(const int trajectory_id, const int submap_index, proto::SubmapQuery::Response* const response) { diff --git a/cartographer/mapping/map_builder.h b/cartographer/mapping/map_builder.h index d6bce5e..445e54e 100644 --- a/cartographer/mapping/map_builder.h +++ b/cartographer/mapping/map_builder.h @@ -71,9 +71,6 @@ class MapBuilder { // unblocked. int GetBlockingTrajectoryId() const; - // Returns the trajectory connectivity. - proto::TrajectoryConnectivity GetTrajectoryConnectivity(); - // Fills the SubmapQuery::Response corresponding to 'submap_index' from // 'trajectory_id'. Returns an error string on failure, or an empty string on // success.