Package com.viam.service.slam.v1
Class SLAMServiceGrpc.SLAMServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<SLAMServiceGrpc.SLAMServiceFutureStub>
com.viam.service.slam.v1.SLAMServiceGrpc.SLAMServiceFutureStub
- Enclosing class:
- SLAMServiceGrpc
public static final class SLAMServiceGrpc.SLAMServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<SLAMServiceGrpc.SLAMServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service SLAMService.
A SlamService declares the gRPC contract for a slam 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 TypeMethodDescriptionprotected SLAMServiceGrpc.SLAMServiceFutureStub
build
(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<Common.DoCommandResponse>
doCommand
(Common.DoCommandRequest request) DoCommand sends/receives arbitrary commands.com.google.common.util.concurrent.ListenableFuture<Slam.GetPositionResponse>
getPosition
(Slam.GetPositionRequest request) GetPosition returns the current estimated position of the robot with respect to a returned component reference.com.google.common.util.concurrent.ListenableFuture<Slam.GetPropertiesResponse>
getProperties
(Slam.GetPropertiesRequest request) GetProperties returns properties of the current slam service including mapping_mode and cloud_slam, where mapping_mode is the type of mapping/localizing being performed and cloud_slam is a boolean representing if this SLAM service is being run in the cloud.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 SLAMServiceGrpc.SLAMServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<SLAMServiceGrpc.SLAMServiceFutureStub>
-
getPosition
public com.google.common.util.concurrent.ListenableFuture<Slam.GetPositionResponse> getPosition(Slam.GetPositionRequest request) GetPosition returns the current estimated position of the robot with respect to a returned component reference.
-
getProperties
public com.google.common.util.concurrent.ListenableFuture<Slam.GetPropertiesResponse> getProperties(Slam.GetPropertiesRequest request) GetProperties returns properties of the current slam service including mapping_mode and cloud_slam, where mapping_mode is the type of mapping/localizing being performed and cloud_slam is a boolean representing if this SLAM service is being run in the cloud.
-
doCommand
public com.google.common.util.concurrent.ListenableFuture<Common.DoCommandResponse> doCommand(Common.DoCommandRequest request) DoCommand sends/receives arbitrary commands.
-