Package com.viam.component.encoder.v1
Interface EncoderServiceGrpc.AsyncService
- All Known Implementing Classes:
EncoderServiceGrpc.EncoderServiceImplBase
- Enclosing class:
- EncoderServiceGrpc
public static interface EncoderServiceGrpc.AsyncService
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
doCommand
(Common.DoCommandRequest request, io.grpc.stub.StreamObserver<Common.DoCommandResponse> responseObserver) default void
getGeometries
(Common.GetGeometriesRequest request, io.grpc.stub.StreamObserver<Common.GetGeometriesResponse> responseObserver) GetGeometries returns the geometries of the component in their current configurationdefault 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.default 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.default void
resetPosition
(Encoder.ResetPositionRequest request, io.grpc.stub.StreamObserver<Encoder.ResetPositionResponse> responseObserver)
-
Method Details
-
getPosition
default 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.
-
resetPosition
default void resetPosition(Encoder.ResetPositionRequest request, io.grpc.stub.StreamObserver<Encoder.ResetPositionResponse> responseObserver) -
getProperties
default 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.
-
doCommand
default void doCommand(Common.DoCommandRequest request, io.grpc.stub.StreamObserver<Common.DoCommandResponse> responseObserver) -
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
-