Package com.viam.service.vision.v1
Class VisionServiceGrpc.VisionServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<VisionServiceGrpc.VisionServiceFutureStub>
com.viam.service.vision.v1.VisionServiceGrpc.VisionServiceFutureStub
- Enclosing class:
- VisionServiceGrpc
public static final class VisionServiceGrpc.VisionServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<VisionServiceGrpc.VisionServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service VisionService.
VisionService declares the gRPC contract for a vision service
-
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<Vision.CaptureAllFromCameraResponse>
com.google.common.util.concurrent.ListenableFuture<Common.DoCommandResponse>
doCommand
(Common.DoCommandRequest request) DoCommand sends/receives arbitrary commandscom.google.common.util.concurrent.ListenableFuture<Vision.GetClassificationsResponse>
GetClassifications will return a list of classifications in the next image given the image bytes and a classifiercom.google.common.util.concurrent.ListenableFuture<Vision.GetClassificationsFromCameraResponse>
GetClassificationsFromCamera will return a list of classifications in the next image given a camera and a classifiercom.google.common.util.concurrent.ListenableFuture<Vision.GetDetectionsResponse>
getDetections
(Vision.GetDetectionsRequest request) GetDetections will return a list of detections in the next image given the image bytes and a detectorcom.google.common.util.concurrent.ListenableFuture<Vision.GetDetectionsFromCameraResponse>
GetDetectionsFromCamera will return a list of detections in the next image given a camera and a detectorcom.google.common.util.concurrent.ListenableFuture<Vision.GetObjectPointCloudsResponse>
GetObjectPointClouds returns all the found objects in a pointcloud from a camera of the underlying robot, as well as the 3-vector center of each of the found objects.com.google.common.util.concurrent.ListenableFuture<Vision.GetPropertiesResponse>
getProperties
(Vision.GetPropertiesRequest request) GetProperties will return the properties as booleans given the name of the vision serviceMethods 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 VisionServiceGrpc.VisionServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<VisionServiceGrpc.VisionServiceFutureStub>
-
getDetectionsFromCamera
public com.google.common.util.concurrent.ListenableFuture<Vision.GetDetectionsFromCameraResponse> getDetectionsFromCamera(Vision.GetDetectionsFromCameraRequest request) GetDetectionsFromCamera will return a list of detections in the next image given a camera and a detector
-
getDetections
public com.google.common.util.concurrent.ListenableFuture<Vision.GetDetectionsResponse> getDetections(Vision.GetDetectionsRequest request) GetDetections will return a list of detections in the next image given the image bytes and a detector
-
getClassificationsFromCamera
public com.google.common.util.concurrent.ListenableFuture<Vision.GetClassificationsFromCameraResponse> getClassificationsFromCamera(Vision.GetClassificationsFromCameraRequest request) GetClassificationsFromCamera will return a list of classifications in the next image given a camera and a classifier
-
getClassifications
public com.google.common.util.concurrent.ListenableFuture<Vision.GetClassificationsResponse> getClassifications(Vision.GetClassificationsRequest request) GetClassifications will return a list of classifications in the next image given the image bytes and a classifier
-
getObjectPointClouds
public com.google.common.util.concurrent.ListenableFuture<Vision.GetObjectPointCloudsResponse> getObjectPointClouds(Vision.GetObjectPointCloudsRequest request) GetObjectPointClouds returns all the found objects in a pointcloud from a camera of the underlying robot, as well as the 3-vector center of each of the found objects. A specific MIME type can be requested but may not necessarily be the same one returned.
-
getProperties
public com.google.common.util.concurrent.ListenableFuture<Vision.GetPropertiesResponse> getProperties(Vision.GetPropertiesRequest request) GetProperties will return the properties as booleans given the name of the vision service
-
captureAllFromCamera
public com.google.common.util.concurrent.ListenableFuture<Vision.CaptureAllFromCameraResponse> captureAllFromCamera(Vision.CaptureAllFromCameraRequest request) -
doCommand
public com.google.common.util.concurrent.ListenableFuture<Common.DoCommandResponse> doCommand(Common.DoCommandRequest request) DoCommand sends/receives arbitrary commands
-