Package com.viam.component.camera.v1
Class CameraServiceGrpc.CameraServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<CameraServiceGrpc.CameraServiceStub>
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.CameraServiceStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voiddoCommand(Common.DoCommandRequest request, io.grpc.stub.StreamObserver<Common.DoCommandResponse> responseObserver) DoCommand sends/receives arbitrary commandsvoidgetGeometries(Common.GetGeometriesRequest request, io.grpc.stub.StreamObserver<Common.GetGeometriesResponse> responseObserver) GetGeometries returns the geometries of the component in their current configurationvoidgetImages(Camera.GetImagesRequest request, io.grpc.stub.StreamObserver<Camera.GetImagesResponse> responseObserver) voidgetPointCloud(Camera.GetPointCloudRequest request, io.grpc.stub.StreamObserver<Camera.GetPointCloudResponse> responseObserver) GetPointCloud returns a point cloud from a camera of the underlying robot.voidgetProperties(Camera.GetPropertiesRequest request, io.grpc.stub.StreamObserver<Camera.GetPropertiesResponse> responseObserver) GetProperties returns the camera intrinsic parameters, camera distortion parameters, and extrinsic parameters from a camera of the underlying robot, if available.voidgetStatus(Common.GetStatusRequest request, io.grpc.stub.StreamObserver<Common.GetStatusResponse> responseObserver) GetStatus returns the status of the resourceMethods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, 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:
buildin classio.grpc.stub.AbstractStub<CameraServiceGrpc.CameraServiceStub>
-
getImages
public void getImages(Camera.GetImagesRequest request, io.grpc.stub.StreamObserver<Camera.GetImagesResponse> responseObserver) -
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, camera distortion parameters, and extrinsic 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
-
getStatus
public void getStatus(Common.GetStatusRequest request, io.grpc.stub.StreamObserver<Common.GetStatusResponse> responseObserver) GetStatus returns the status of the resource
-
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
-