viam.services.motion.service

Classes

MotionRPCService

Helper class that provides a standard way to create an ABC using

Module Contents

class viam.services.motion.service.MotionRPCService(manager: viam.resource.manager.ResourceManager)[source]

Bases: viam.proto.service.motion.UnimplementedMotionServiceBase, viam.resource.rpc_service_base.ResourceRPCServiceBase[viam.services.motion.motion.Motion]

Helper class that provides a standard way to create an ABC using inheritance.

RESOURCE_TYPE
async Move(stream: grpclib.server.Stream[viam.proto.service.motion.MoveRequest, viam.proto.service.motion.MoveResponse]) None[source]
async MoveOnMap(stream: grpclib.server.Stream[viam.proto.service.motion.MoveOnMapRequest, viam.proto.service.motion.MoveOnMapResponse]) None[source]
async MoveOnGlobe(stream: grpclib.server.Stream[viam.proto.service.motion.MoveOnGlobeRequest, viam.proto.service.motion.MoveOnGlobeResponse]) None[source]
async GetPose(stream: grpclib.server.Stream[viam.proto.service.motion.GetPoseRequest, viam.proto.service.motion.GetPoseResponse]) None[source]
async StopPlan(stream: grpclib.server.Stream[viam.proto.service.motion.StopPlanRequest, viam.proto.service.motion.StopPlanResponse]) None[source]
async ListPlanStatuses(stream: grpclib.server.Stream[viam.proto.service.motion.ListPlanStatusesRequest, viam.proto.service.motion.ListPlanStatusesResponse]) None[source]
async GetPlan(stream: grpclib.server.Stream[viam.proto.service.motion.GetPlanRequest, viam.proto.service.motion.GetPlanResponse]) None[source]
async DoCommand(stream: grpclib.server.Stream[viam.proto.common.DoCommandRequest, viam.proto.common.DoCommandResponse]) None[source]