viam.components.encoder.service
Classes
gRPC Service for an Encoder |
Module Contents
- class viam.components.encoder.service.EncoderRPCService(manager: viam.resource.manager.ResourceManager)[source]
Bases:
viam.proto.component.encoder.EncoderServiceBase
,viam.resource.rpc_service_base.ResourceRPCServiceBase
[viam.components.encoder.encoder.Encoder
]gRPC Service for an Encoder
- RESOURCE_TYPE
- async ResetPosition(stream: grpclib.server.Stream[viam.proto.component.encoder.ResetPositionRequest, viam.proto.component.encoder.ResetPositionResponse]) None [source]
- async GetPosition(stream: grpclib.server.Stream[viam.proto.component.encoder.GetPositionRequest, viam.proto.component.encoder.GetPositionResponse]) None [source]
- async GetProperties(stream: grpclib.server.Stream[viam.proto.component.encoder.GetPropertiesRequest, viam.proto.component.encoder.GetPropertiesResponse]) 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]