Package com.viam.component.camera.v1
Class CameraServiceGrpc.CameraServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<CameraServiceGrpc.CameraServiceFutureStub>
com.viam.component.camera.v1.CameraServiceGrpc.CameraServiceFutureStub
- Enclosing class:
- CameraServiceGrpc
public static final class CameraServiceGrpc.CameraServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<CameraServiceGrpc.CameraServiceFutureStub>
A stub to allow clients to do ListenableFuture-style 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) com.google.common.util.concurrent.ListenableFuture<Common.DoCommandResponse>
doCommand
(Common.DoCommandRequest request) DoCommand sends/receives arbitrary commandscom.google.common.util.concurrent.ListenableFuture<Common.GetGeometriesResponse>
getGeometries
(Common.GetGeometriesRequest request) GetGeometries returns the geometries of the component in their current configurationcom.google.common.util.concurrent.ListenableFuture<Camera.GetImageResponse>
getImage
(Camera.GetImageRequest request) GetImage returns a frame from a camera of the underlying robot.com.google.common.util.concurrent.ListenableFuture<Camera.GetImagesResponse>
getImages
(Camera.GetImagesRequest request) com.google.common.util.concurrent.ListenableFuture<Camera.GetPointCloudResponse>
getPointCloud
(Camera.GetPointCloudRequest request) GetPointCloud returns a point cloud from a camera of the underlying robot.com.google.common.util.concurrent.ListenableFuture<Camera.GetPropertiesResponse>
getProperties
(Camera.GetPropertiesRequest request) GetProperties returns the camera intrinsic parameters and camera distortion parameters from a camera of the underlying robot, if available.com.google.common.util.concurrent.ListenableFuture<HttpBody>
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.AbstractFutureStub
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.CameraServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<CameraServiceGrpc.CameraServiceFutureStub>
-
getImage
public com.google.common.util.concurrent.ListenableFuture<Camera.GetImageResponse> getImage(Camera.GetImageRequest request) 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 com.google.common.util.concurrent.ListenableFuture<Camera.GetImagesResponse> getImages(Camera.GetImagesRequest request) -
renderFrame
public com.google.common.util.concurrent.ListenableFuture<HttpBody> renderFrame(Camera.RenderFrameRequest request) 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 com.google.common.util.concurrent.ListenableFuture<Camera.GetPointCloudResponse> getPointCloud(Camera.GetPointCloudRequest request) 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 com.google.common.util.concurrent.ListenableFuture<Camera.GetPropertiesResponse> getProperties(Camera.GetPropertiesRequest request) GetProperties returns the camera intrinsic parameters and camera distortion parameters from a camera of the underlying robot, if available.
-
doCommand
public com.google.common.util.concurrent.ListenableFuture<Common.DoCommandResponse> doCommand(Common.DoCommandRequest request) DoCommand sends/receives arbitrary commands
-
getGeometries
public com.google.common.util.concurrent.ListenableFuture<Common.GetGeometriesResponse> getGeometries(Common.GetGeometriesRequest request) GetGeometries returns the geometries of the component in their current configuration
-