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 configurationgetImage(Camera.GetImageRequest request) GetImage returns a frame from a camera of the underlying robot.getImages(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 and camera distortion parameters from a camera of the underlying robot, if available.renderFrame(Camera.RenderFrameRequest request) RenderFrame renders a frame from a camera of the underlying robot to an HTTP response.Methods 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>
-
getImage
public Camera.GetImageResponse getImage(Camera.GetImageRequest request) throws io.grpc.StatusException 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.
- Throws:
io.grpc.StatusException
-
getImages
public Camera.GetImagesResponse getImages(Camera.GetImagesRequest request) throws io.grpc.StatusException - Throws:
io.grpc.StatusException
-
renderFrame
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.
- 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 and camera distortion 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
-
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
-