23 public viam::service::motion::v1::MotionService::Service {
26 using service_type = service::motion::v1::MotionService;
27 explicit MotionServer(std::shared_ptr<ResourceManager> manager);
29 ::grpc::Status Move(::grpc::ServerContext* context,
30 const ::viam::service::motion::v1::MoveRequest* request,
31 ::viam::service::motion::v1::MoveResponse* response)
noexcept override;
32 ::grpc::Status MoveOnMap(
33 ::grpc::ServerContext* context,
34 const ::viam::service::motion::v1::MoveOnMapRequest* request,
35 ::viam::service::motion::v1::MoveOnMapResponse* response)
noexcept override;
36 ::grpc::Status MoveOnGlobe(
37 ::grpc::ServerContext* context,
38 const ::viam::service::motion::v1::MoveOnGlobeRequest* request,
39 ::viam::service::motion::v1::MoveOnGlobeResponse* response)
noexcept override;
40 ::grpc::Status GetPose(
41 ::grpc::ServerContext* context,
42 const ::viam::service::motion::v1::GetPoseRequest* request,
43 ::viam::service::motion::v1::GetPoseResponse* response)
noexcept override;
44 ::grpc::Status GetPlan(
45 ::grpc::ServerContext* context,
46 const ::viam::service::motion::v1::GetPlanRequest* request,
47 ::viam::service::motion::v1::GetPlanResponse* response)
noexcept override;
48 ::grpc::Status ListPlanStatuses(
49 ::grpc::ServerContext* context,
50 const ::viam::service::motion::v1::ListPlanStatusesRequest* request,
51 ::viam::service::motion::v1::ListPlanStatusesResponse* response)
noexcept override;
52 ::grpc::Status StopPlan(
53 ::grpc::ServerContext* context,
54 const ::viam::service::motion::v1::StopPlanRequest* request,
55 ::viam::service::motion::v1::StopPlanResponse* response)
noexcept override;
56 ::grpc::Status DoCommand(::grpc::ServerContext* context,
57 const ::viam::common::v1::DoCommandRequest* request,
58 ::viam::common::v1::DoCommandResponse* response)
noexcept override;