2018-03-02 21:16:49 +08:00
|
|
|
#include "cartographer_grpc/map_builder_server_interface.h"
|
|
|
|
|
|
|
|
#include "cartographer/common/make_unique.h"
|
|
|
|
#include "cartographer_grpc/internal/map_builder_server.h"
|
|
|
|
|
2018-03-03 06:21:28 +08:00
|
|
|
namespace cartographer {
|
|
|
|
namespace cloud {
|
2018-03-02 21:16:49 +08:00
|
|
|
|
|
|
|
std::unique_ptr<MapBuilderServerInterface> CreateMapBuilderServer(
|
|
|
|
const proto::MapBuilderServerOptions& map_builder_server_options,
|
2018-03-03 06:21:28 +08:00
|
|
|
std::unique_ptr<mapping::MapBuilderInterface> map_builder) {
|
|
|
|
return common::make_unique<MapBuilderServer>(map_builder_server_options,
|
|
|
|
std::move(map_builder));
|
2018-03-02 21:16:49 +08:00
|
|
|
}
|
|
|
|
|
2018-03-03 06:21:28 +08:00
|
|
|
} // namespace cloud
|
|
|
|
} // namespace cartographer
|