Package com.viam.component.base.v1
Class BaseServiceGrpc.BaseServiceBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<BaseServiceGrpc.BaseServiceBlockingStub>
com.viam.component.base.v1.BaseServiceGrpc.BaseServiceBlockingStub
- Enclosing class:
- BaseServiceGrpc
public static final class BaseServiceGrpc.BaseServiceBlockingStub
extends io.grpc.stub.AbstractBlockingStub<BaseServiceGrpc.BaseServiceBlockingStub>
A stub to allow clients to do synchronous rpc calls to service BaseService.
-
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 BaseServiceGrpc.BaseServiceBlockingStub
build
(io.grpc.Channel channel, io.grpc.CallOptions callOptions) doCommand
(Common.DoCommandRequest request) DoCommand sends/receives arbitrary commandsgetGeometries
(Common.GetGeometriesRequest request) GetGeometries returns the geometries of the component in their current configurationgetProperties
(Base.GetPropertiesRequest request) GetProperties returns the properties of a base in its current configurationisMoving
(Base.IsMovingRequest request) IsMoving reports if a component is in motionmoveStraight
(Base.MoveStraightRequest request) 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 cancelledsetPower
(Base.SetPowerRequest request) SetPower sets the linear and angular power of a base -1 -> 1 in terms of power for each directionsetVelocity
(Base.SetVelocityRequest request) SetVelocity sets the linear and angular velocity of a basespin
(Base.SpinRequest request) 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 cancelledstop
(Base.StopRequest request) Stop stops a robot's baseMethods 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 BaseServiceGrpc.BaseServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<BaseServiceGrpc.BaseServiceBlockingStub>
-
moveStraight
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
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
SetPower sets the linear and angular power of a base -1 -> 1 in terms of power for each direction
-
setVelocity
SetVelocity sets the linear and angular velocity of a base
-
stop
Stop stops a robot's base
-
isMoving
IsMoving reports if a component is in motion
-
doCommand
DoCommand sends/receives arbitrary commands
-
getGeometries
GetGeometries returns the geometries of the component in their current configuration
-
getProperties
GetProperties returns the properties of a base in its current configuration
-