Package com.viam.service.slam.v1
Class SLAMServiceGrpc.SLAMServiceBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<SLAMServiceGrpc.SLAMServiceBlockingStub>
com.viam.service.slam.v1.SLAMServiceGrpc.SLAMServiceBlockingStub
- Enclosing class:
- SLAMServiceGrpc
public static final class SLAMServiceGrpc.SLAMServiceBlockingStub
extends io.grpc.stub.AbstractBlockingStub<SLAMServiceGrpc.SLAMServiceBlockingStub>
A stub to allow clients to do synchronous 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.SLAMServiceBlockingStub
build
(io.grpc.Channel channel, io.grpc.CallOptions callOptions) doCommand
(Common.DoCommandRequest request) DoCommand sends/receives arbitrary commands.GetInternalState returns the internal map as defined by the specified slam algorithm required to continue mapping/localizing.GetPointCloudMap returns the latest pointcloud map available where XY is the ground plane and positive Z is up, following the Right Hand Rule.getPosition
(Slam.GetPositionRequest request) GetPosition returns the current estimated position of the robot with respect to a returned component reference.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.AbstractBlockingStub
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.SLAMServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<SLAMServiceGrpc.SLAMServiceBlockingStub>
-
getPosition
GetPosition returns the current estimated position of the robot with respect to a returned component reference.
-
getPointCloudMap
public Iterator<Slam.GetPointCloudMapResponse> getPointCloudMap(Slam.GetPointCloudMapRequest request) GetPointCloudMap returns the latest pointcloud map available where XY is the ground plane and positive Z is up, following the Right Hand Rule.
-
getInternalState
public Iterator<Slam.GetInternalStateResponse> getInternalState(Slam.GetInternalStateRequest request) GetInternalState returns the internal map as defined by the specified slam algorithm required to continue mapping/localizing. This endpoint is not intended for end users.
-
getProperties
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
DoCommand sends/receives arbitrary commands.
-