viam.components.sensor.service
Classes
gRPC Service for a generic Sensor |
Module Contents
- class viam.components.sensor.service.SensorRPCService(manager: viam.resource.manager.ResourceManager)[source]
Bases:
viam.proto.component.sensor.SensorServiceBase
,viam.resource.rpc_service_base.ResourceRPCServiceBase
[viam.components.sensor.sensor.Sensor
]gRPC Service for a generic Sensor
- RESOURCE_TYPE
- async GetReadings(stream: grpclib.server.Stream[viam.proto.common.GetReadingsRequest, viam.proto.common.GetReadingsResponse]) 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]