Package com.viam.component.encoder.v1
Class EncoderServiceGrpc.EncoderServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<EncoderServiceGrpc.EncoderServiceStub>
com.viam.component.encoder.v1.EncoderServiceGrpc.EncoderServiceStub
- Enclosing class:
- EncoderServiceGrpc
public static final class EncoderServiceGrpc.EncoderServiceStub
extends io.grpc.stub.AbstractAsyncStub<EncoderServiceGrpc.EncoderServiceStub>
A stub to allow clients to do asynchronous rpc calls to service EncoderService.
- 
Nested Class SummaryNested classes/interfaces inherited from class io.grpc.stub.AbstractStubio.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>>
- 
Method SummaryModifier and TypeMethodDescriptionprotected EncoderServiceGrpc.EncoderServiceStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voiddoCommand(Common.DoCommandRequest request, io.grpc.stub.StreamObserver<Common.DoCommandResponse> responseObserver) voidgetGeometries(Common.GetGeometriesRequest request, io.grpc.stub.StreamObserver<Common.GetGeometriesResponse> responseObserver) GetGeometries returns the geometries of the component in their current configurationvoidgetPosition(Encoder.GetPositionRequest request, io.grpc.stub.StreamObserver<Encoder.GetPositionResponse> responseObserver) Returns position of the encoder which can either be ticks since last zeroing for an incremental encoder or degrees for an absolute encoder.voidgetProperties(Encoder.GetPropertiesRequest request, io.grpc.stub.StreamObserver<Encoder.GetPropertiesResponse> responseObserver) Returns a list of all the methods that are supported by a given robot.voidresetPosition(Encoder.ResetPositionRequest request, io.grpc.stub.StreamObserver<Encoder.ResetPositionResponse> responseObserver) Methods inherited from class io.grpc.stub.AbstractAsyncStubnewStub, newStubMethods inherited from class io.grpc.stub.AbstractStubgetCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
- 
Method Details- 
buildprotected EncoderServiceGrpc.EncoderServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
- buildin class- io.grpc.stub.AbstractStub<EncoderServiceGrpc.EncoderServiceStub>
 
- 
getPositionpublic void getPosition(Encoder.GetPositionRequest request, io.grpc.stub.StreamObserver<Encoder.GetPositionResponse> responseObserver) Returns position of the encoder which can either be ticks since last zeroing for an incremental encoder or degrees for an absolute encoder. 
- 
resetPositionpublic void resetPosition(Encoder.ResetPositionRequest request, io.grpc.stub.StreamObserver<Encoder.ResetPositionResponse> responseObserver) 
- 
getPropertiespublic void getProperties(Encoder.GetPropertiesRequest request, io.grpc.stub.StreamObserver<Encoder.GetPropertiesResponse> responseObserver) Returns a list of all the methods that are supported by a given robot. 
- 
doCommandpublic void doCommand(Common.DoCommandRequest request, io.grpc.stub.StreamObserver<Common.DoCommandResponse> responseObserver) 
- 
getGeometriespublic void getGeometries(Common.GetGeometriesRequest request, io.grpc.stub.StreamObserver<Common.GetGeometriesResponse> responseObserver) GetGeometries returns the geometries of the component in their current configuration 
 
-