19 #include "async_grpc/rpc_handler.h" 21 #include "cartographer/cloud/proto/map_builder_service.pb.h" 28 void IsTrajectoryFinishedHandler::OnRequest(
29 const proto::IsTrajectoryFinishedRequest& request) {
30 auto response = common::make_unique<proto::IsTrajectoryFinishedResponse>();
31 response->set_is_finished(
32 GetContext<MapBuilderContextInterface>()
35 ->IsTrajectoryFinished(request.trajectory_id()));
36 Send(std::move(response));