Class SLAMServiceGrpc.SLAMServiceStub

java.lang.Object
io.grpc.stub.AbstractStub<SLAMServiceGrpc.SLAMServiceStub>
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
 
  • 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.
       
    • getStatus

      public void getStatus(Common.GetStatusRequest request, io.grpc.stub.StreamObserver<Common.GetStatusResponse> responseObserver)
       GetStatus returns the status of the resource