23 std::shared_ptr<mapping::Submap2D>
25 const mapping::proto::Submap& proto) {
26 return std::make_shared<mapping::Submap2D>(proto.submap_2d());
30 std::shared_ptr<mapping::Submap3D>
32 const mapping::proto::Submap& proto) {
33 return std::make_shared<mapping::Submap3D>(proto.submap_3d());
std::shared_ptr< SubmapType > CreateSubmap(const mapping::proto::Submap &proto)