Class SLAMServiceGrpc.SLAMServiceStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<SLAMServiceGrpc.SLAMServiceStub>
com.viam.service.slam.v1.SLAMServiceGrpc.SLAMServiceStub
Enclosing class:
SLAMServiceGrpc

public static final class SLAMServiceGrpc.SLAMServiceStub extends io.grpc.stub.AbstractAsyncStub<SLAMServiceGrpc.SLAMServiceStub>
A stub to allow clients to do asynchronous 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 Type
    Method
    Description
    build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
     
    void
    doCommand(Common.DoCommandRequest request, io.grpc.stub.StreamObserver<Common.DoCommandResponse> responseObserver)
    DoCommand sends/receives arbitrary commands.
    void
    getInternalState(Slam.GetInternalStateRequest request, io.grpc.stub.StreamObserver<Slam.GetInternalStateResponse> responseObserver)
    GetInternalState returns the internal map as defined by the specified slam algorithm required to continue mapping/localizing.
    void
    getPointCloudMap(Slam.GetPointCloudMapRequest request, io.grpc.stub.StreamObserver<Slam.GetPointCloudMapResponse> responseObserver)
    GetPointCloudMap returns the latest pointcloud map available where XY is the ground plane and positive Z is up, following the Right Hand Rule.
    void
    getPosition(Slam.GetPositionRequest request, io.grpc.stub.StreamObserver<Slam.GetPositionResponse> responseObserver)
    GetPosition returns the current estimated position of the robot with respect to a returned component reference.
    void
    getProperties(Slam.GetPropertiesRequest request, io.grpc.stub.StreamObserver<Slam.GetPropertiesResponse> responseObserver)
    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.AbstractAsyncStub

    newStub, newStub

    Methods inherited from class io.grpc.stub.AbstractStub

    getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • build

      protected SLAMServiceGrpc.SLAMServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<SLAMServiceGrpc.SLAMServiceStub>
    • getPosition

      public void getPosition(Slam.GetPositionRequest request, io.grpc.stub.StreamObserver<Slam.GetPositionResponse> responseObserver)
       GetPosition returns the current estimated position of the robot with
       respect to a returned component reference.
       
    • getPointCloudMap

      public void getPointCloudMap(Slam.GetPointCloudMapRequest request, io.grpc.stub.StreamObserver<Slam.GetPointCloudMapResponse> responseObserver)
       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 void getInternalState(Slam.GetInternalStateRequest request, io.grpc.stub.StreamObserver<Slam.GetInternalStateResponse> responseObserver)
       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

      public void getProperties(Slam.GetPropertiesRequest request, io.grpc.stub.StreamObserver<Slam.GetPropertiesResponse> responseObserver)
       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 void doCommand(Common.DoCommandRequest request, io.grpc.stub.StreamObserver<Common.DoCommandResponse> responseObserver)
       DoCommand sends/receives arbitrary commands.