Package com.viam.component.encoder.v1
Class EncoderServiceGrpc.EncoderServiceBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<EncoderServiceGrpc.EncoderServiceBlockingStub>
com.viam.component.encoder.v1.EncoderServiceGrpc.EncoderServiceBlockingStub
- Enclosing class:
- EncoderServiceGrpc
public static final class EncoderServiceGrpc.EncoderServiceBlockingStub
extends io.grpc.stub.AbstractBlockingStub<EncoderServiceGrpc.EncoderServiceBlockingStub>
A stub to allow clients to do synchronous rpc calls to service EncoderService.
-
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 TypeMethodDescriptionbuild
(io.grpc.Channel channel, io.grpc.CallOptions callOptions) doCommand
(Common.DoCommandRequest request) getGeometries
(Common.GetGeometriesRequest request) GetGeometries returns the geometries of the component in their current configurationgetPosition
(Encoder.GetPositionRequest request) Returns position of the encoder which can either be ticks since last zeroing for an incremental encoder or degrees for an absolute encoder.Returns a list of all the methods that are supported by a given robot.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 EncoderServiceGrpc.EncoderServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<EncoderServiceGrpc.EncoderServiceBlockingStub>
-
getPosition
Returns position of the encoder which can either be ticks since last zeroing for an incremental encoder or degrees for an absolute encoder.
-
resetPosition
-
getProperties
Returns a list of all the methods that are supported by a given robot.
-
doCommand
-
getGeometries
GetGeometries returns the geometries of the component in their current configuration
-