viam.components.gantry.service

Classes

GantryRPCService

gRPC Service for a Gantry

Module Contents

class viam.components.gantry.service.GantryRPCService(manager: viam.resource.manager.ResourceManager)[source]

Bases: viam.proto.component.gantry.GantryServiceBase, viam.resource.rpc_service_base.ResourceRPCServiceBase[viam.components.gantry.gantry.Gantry]

gRPC Service for a Gantry

RESOURCE_TYPE
async GetPosition(stream: grpclib.server.Stream[viam.proto.component.gantry.GetPositionRequest, viam.proto.component.gantry.GetPositionResponse]) None[source]
async MoveToPosition(stream: grpclib.server.Stream[viam.proto.component.gantry.MoveToPositionRequest, viam.proto.component.gantry.MoveToPositionResponse]) None[source]
async Home(stream: grpclib.server.Stream[viam.proto.component.gantry.HomeRequest, viam.proto.component.gantry.HomeResponse]) None[source]
async GetLengths(stream: grpclib.server.Stream[viam.proto.component.gantry.GetLengthsRequest, viam.proto.component.gantry.GetLengthsResponse]) None[source]
async Stop(stream: grpclib.server.Stream[viam.proto.component.gantry.StopRequest, viam.proto.component.gantry.StopResponse]) None[source]
async IsMoving(stream: grpclib.server.Stream[viam.proto.component.gantry.IsMovingRequest, viam.proto.component.gantry.IsMovingResponse]) None[source]
async DoCommand(stream: grpclib.server.Stream[viam.proto.common.DoCommandRequest, viam.proto.common.DoCommandResponse]) None[source]
async GetGeometries(stream: grpclib.server.Stream[viam.proto.common.GetGeometriesRequest, viam.proto.common.GetGeometriesResponse]) None[source]