19 #include "async_grpc/rpc_handler.h" 21 #include "cartographer/cloud/proto/map_builder_service.pb.h" 23 #include "google/protobuf/empty.pb.h" 29 void GetLocalToGlobalTransformHandler::OnRequest(
30 const proto::GetLocalToGlobalTransformRequest& request) {
32 common::make_unique<proto::GetLocalToGlobalTransformResponse>();
33 auto local_to_global =
34 GetContext<MapBuilderContextInterface>()
37 ->GetLocalToGlobalTransform(request.trajectory_id());
39 Send(std::move(response));