Package com.viam.component.camera.v1
Class CameraServiceGrpc.CameraServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<CameraServiceGrpc.CameraServiceStub>
com.viam.component.camera.v1.CameraServiceGrpc.CameraServiceStub
- Enclosing class:
- CameraServiceGrpc
public static final class CameraServiceGrpc.CameraServiceStub
extends io.grpc.stub.AbstractAsyncStub<CameraServiceGrpc.CameraServiceStub>
A stub to allow clients to do asynchronous rpc calls to service CameraService.
A CameraService services all cameras associated with a robot
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>>
-
Method Summary
Modifier and TypeMethodDescriptionprotected CameraServiceGrpc.CameraServiceStub
build
(io.grpc.Channel channel, io.grpc.CallOptions callOptions) void
doCommand
(Common.DoCommandRequest request, io.grpc.stub.StreamObserver<Common.DoCommandResponse> responseObserver) DoCommand sends/receives arbitrary commandsvoid
getGeometries
(Common.GetGeometriesRequest request, io.grpc.stub.StreamObserver<Common.GetGeometriesResponse> responseObserver) GetGeometries returns the geometries of the component in their current configurationvoid
getImage
(Camera.GetImageRequest request, io.grpc.stub.StreamObserver<Camera.GetImageResponse> responseObserver) GetImage returns a frame from a camera of the underlying robot.void
getImages
(Camera.GetImagesRequest request, io.grpc.stub.StreamObserver<Camera.GetImagesResponse> responseObserver) void
getPointCloud
(Camera.GetPointCloudRequest request, io.grpc.stub.StreamObserver<Camera.GetPointCloudResponse> responseObserver) GetPointCloud returns a point cloud from a camera of the underlying robot.void
getProperties
(Camera.GetPropertiesRequest request, io.grpc.stub.StreamObserver<Camera.GetPropertiesResponse> responseObserver) GetProperties returns the camera intrinsic parameters and camera distortion parameters from a camera of the underlying robot, if available.void
renderFrame
(Camera.RenderFrameRequest request, io.grpc.stub.StreamObserver<HttpBody> responseObserver) RenderFrame renders a frame from a camera of the underlying robot to an HTTP response.Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStub
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected CameraServiceGrpc.CameraServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<CameraServiceGrpc.CameraServiceStub>
-
getImage
public void getImage(Camera.GetImageRequest request, io.grpc.stub.StreamObserver<Camera.GetImageResponse> responseObserver) GetImage returns a frame from a camera of the underlying robot. A specific MIME type can be requested but may not necessarily be the same one returned.
-
getImages
public void getImages(Camera.GetImagesRequest request, io.grpc.stub.StreamObserver<Camera.GetImagesResponse> responseObserver) -
renderFrame
public void renderFrame(Camera.RenderFrameRequest request, io.grpc.stub.StreamObserver<HttpBody> responseObserver) RenderFrame renders a frame from a camera of the underlying robot to an HTTP response. A specific MIME type can be requested but may not necessarily be the same one returned.
-
getPointCloud
public void getPointCloud(Camera.GetPointCloudRequest request, io.grpc.stub.StreamObserver<Camera.GetPointCloudResponse> responseObserver) GetPointCloud returns a point cloud from a camera of the underlying robot. A specific MIME type can be requested but may not necessarily be the same one returned.
-
getProperties
public void getProperties(Camera.GetPropertiesRequest request, io.grpc.stub.StreamObserver<Camera.GetPropertiesResponse> responseObserver) GetProperties returns the camera intrinsic parameters and camera distortion parameters from a camera of the underlying robot, if available.
-
doCommand
public void doCommand(Common.DoCommandRequest request, io.grpc.stub.StreamObserver<Common.DoCommandResponse> responseObserver) DoCommand sends/receives arbitrary commands
-
getGeometries
public void getGeometries(Common.GetGeometriesRequest request, io.grpc.stub.StreamObserver<Common.GetGeometriesResponse> responseObserver) GetGeometries returns the geometries of the component in their current configuration
-