Interface BaseServiceGrpc.AsyncService

All Known Implementing Classes:
BaseServiceGrpc.BaseServiceImplBase
Enclosing class:
BaseServiceGrpc

public static interface BaseServiceGrpc.AsyncService
  • Method Details

    • moveStraight

      default void moveStraight(Base.MoveStraightRequest request, io.grpc.stub.StreamObserver<Base.MoveStraightResponse> responseObserver)
       MoveStraight moves a robot's base in a straight line by a given distance, expressed in millimeters
       and a given speed, expressed in millimeters per second
       This method blocks until completed or cancelled
       
    • spin

      default void spin(Base.SpinRequest request, io.grpc.stub.StreamObserver<Base.SpinResponse> responseObserver)
       Spin spins a robot's base by an given angle, expressed in degrees, and a given
       angular speed, expressed in degrees per second
       This method blocks until completed or cancelled
       
    • setPower

      default void setPower(Base.SetPowerRequest request, io.grpc.stub.StreamObserver<Base.SetPowerResponse> responseObserver)
       SetPower sets the linear and angular power of a base
       -1 -> 1 in terms of power for each direction
       
    • setVelocity

      default void setVelocity(Base.SetVelocityRequest request, io.grpc.stub.StreamObserver<Base.SetVelocityResponse> responseObserver)
       SetVelocity sets the linear and angular velocity of a base
       
    • stop

      default void stop(Base.StopRequest request, io.grpc.stub.StreamObserver<Base.StopResponse> responseObserver)
       Stop stops a robot's base
       
    • isMoving

      default void isMoving(Base.IsMovingRequest request, io.grpc.stub.StreamObserver<Base.IsMovingResponse> responseObserver)
       IsMoving reports if a component is in motion
       
    • doCommand

      default void doCommand(Common.DoCommandRequest request, io.grpc.stub.StreamObserver<Common.DoCommandResponse> responseObserver)
       DoCommand sends/receives arbitrary commands
       
    • getGeometries

      default void getGeometries(Common.GetGeometriesRequest request, io.grpc.stub.StreamObserver<Common.GetGeometriesResponse> responseObserver)
       GetGeometries returns the geometries of the component in their current configuration
       
    • getProperties

      default void getProperties(Base.GetPropertiesRequest request, io.grpc.stub.StreamObserver<Base.GetPropertiesResponse> responseObserver)
       GetProperties returns the properties of a base in its current configuration