19 #include "async_grpc/rpc_handler.h" 21 #include "cartographer/cloud/proto/map_builder_service.pb.h" 28 void IsTrajectoryFrozenHandler::OnRequest(
29 const proto::IsTrajectoryFrozenRequest& request) {
30 auto response = common::make_unique<proto::IsTrajectoryFrozenResponse>();
31 response->set_is_frozen(GetContext<MapBuilderContextInterface>()
34 ->IsTrajectoryFrozen(request.trajectory_id()));
35 Send(std::move(response));