Package com.viam.component.encoder.v1
Class EncoderServiceGrpc.EncoderServiceBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<EncoderServiceGrpc.EncoderServiceBlockingStub>
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 limited 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.getStatus(Common.GetStatusRequest request) GetStatus returns the status of the resourceMethods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, 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:
buildin 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
-
getStatus
GetStatus returns the status of the resource
-
getGeometries
GetGeometries returns the geometries of the component in their current configuration
-