Package com.viam.component.camera.v1
Class CameraServiceGrpc.CameraServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<CameraServiceGrpc.CameraServiceBlockingV2Stub>
io.grpc.stub.AbstractBlockingStub<CameraServiceGrpc.CameraServiceBlockingV2Stub>
com.viam.component.camera.v1.CameraServiceGrpc.CameraServiceBlockingV2Stub
- Enclosing class:
CameraServiceGrpc
public static final class CameraServiceGrpc.CameraServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<CameraServiceGrpc.CameraServiceBlockingV2Stub>
A stub to allow clients to do synchronous 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 TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) doCommand(Common.DoCommandRequest request) DoCommand sends/receives arbitrary commandsgetGeometries(Common.GetGeometriesRequest request) GetGeometries returns the geometries of the component in their current configurationgetImages(Camera.GetImagesRequest request) getPointCloud(Camera.GetPointCloudRequest request) GetPointCloud returns a point cloud from a camera of the underlying robot.getProperties(Camera.GetPropertiesRequest request) GetProperties returns the camera intrinsic parameters, camera distortion parameters, and extrinsic parameters from a camera of the underlying robot, if available.getStatus(Common.GetStatusRequest request) GetStatus returns the status of the resourceMethods inherited from class io.grpc.stub.AbstractBlockingStub
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.CameraServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<CameraServiceGrpc.CameraServiceBlockingV2Stub>
-
getImages
public Camera.GetImagesResponse getImages(Camera.GetImagesRequest request) throws io.grpc.StatusException - Throws:
io.grpc.StatusException
-
getPointCloud
public Camera.GetPointCloudResponse getPointCloud(Camera.GetPointCloudRequest request) throws io.grpc.StatusException 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.
- Throws:
io.grpc.StatusException
-
getProperties
public Camera.GetPropertiesResponse getProperties(Camera.GetPropertiesRequest request) throws io.grpc.StatusException GetProperties returns the camera intrinsic parameters, camera distortion parameters, and extrinsic parameters from a camera of the underlying robot, if available.
- Throws:
io.grpc.StatusException
-
doCommand
public Common.DoCommandResponse doCommand(Common.DoCommandRequest request) throws io.grpc.StatusException DoCommand sends/receives arbitrary commands
- Throws:
io.grpc.StatusException
-
getStatus
public Common.GetStatusResponse getStatus(Common.GetStatusRequest request) throws io.grpc.StatusException GetStatus returns the status of the resource
- Throws:
io.grpc.StatusException
-
getGeometries
public Common.GetGeometriesResponse getGeometries(Common.GetGeometriesRequest request) throws io.grpc.StatusException GetGeometries returns the geometries of the component in their current configuration
- Throws:
io.grpc.StatusException
-