viam.components.camera.service

Classes

CameraRPCService

gRPC Service for a generic Camera

Module Contents

class viam.components.camera.service.CameraRPCService(manager: viam.resource.manager.ResourceManager)[source]

Bases: viam.proto.component.camera.CameraServiceBase, viam.resource.rpc_service_base.ResourceRPCServiceBase[viam.components.camera.Camera]

gRPC Service for a generic Camera

RESOURCE_TYPE
async GetImage(stream: grpclib.server.Stream[viam.proto.component.camera.GetImageRequest, viam.proto.component.camera.GetImageResponse]) None[source]
async GetImages(stream: grpclib.server.Stream[viam.proto.component.camera.GetImagesRequest, viam.proto.component.camera.GetImagesResponse]) None[source]
async RenderFrame(stream: grpclib.server.Stream[viam.proto.component.camera.RenderFrameRequest, google.api.httpbody_pb2.HttpBody]) None[source]
async GetPointCloud(stream: grpclib.server.Stream[viam.proto.component.camera.GetPointCloudRequest, viam.proto.component.camera.GetPointCloudResponse]) None[source]
async GetProperties(stream: grpclib.server.Stream[viam.proto.component.camera.GetPropertiesRequest, viam.proto.component.camera.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]