Interface PowerSensorServiceGrpc.AsyncService
- All Known Implementing Classes:
PowerSensorRPCService
,PowerSensorServiceGrpc.PowerSensorServiceImplBase
- Enclosing class:
- PowerSensorServiceGrpc
public static interface PowerSensorServiceGrpc.AsyncService
PowerSensorService services all power sensors associated with a robot
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
doCommand
(Common.DoCommandRequest request, io.grpc.stub.StreamObserver<Common.DoCommandResponse> responseObserver) DoCommand sends/receives arbitrary commandsdefault void
getCurrent
(Powersensor.GetCurrentRequest request, io.grpc.stub.StreamObserver<Powersensor.GetCurrentResponse> responseObserver) GetCurrent returns the current reading of a power sensor in amperesdefault void
getPower
(Powersensor.GetPowerRequest request, io.grpc.stub.StreamObserver<Powersensor.GetPowerResponse> responseObserver) GetPower returns the power reading of a power sensor in wattsdefault void
getReadings
(Common.GetReadingsRequest request, io.grpc.stub.StreamObserver<Common.GetReadingsResponse> responseObserver) GetReadings returns the readings of a sensor of the underlying robot.default void
getVoltage
(Powersensor.GetVoltageRequest request, io.grpc.stub.StreamObserver<Powersensor.GetVoltageResponse> responseObserver) GetVoltage returns the voltage reading of a power sensor in volts
-
Method Details
-
getVoltage
default void getVoltage(Powersensor.GetVoltageRequest request, io.grpc.stub.StreamObserver<Powersensor.GetVoltageResponse> responseObserver) GetVoltage returns the voltage reading of a power sensor in volts
-
getCurrent
default void getCurrent(Powersensor.GetCurrentRequest request, io.grpc.stub.StreamObserver<Powersensor.GetCurrentResponse> responseObserver) GetCurrent returns the current reading of a power sensor in amperes
-
getPower
default void getPower(Powersensor.GetPowerRequest request, io.grpc.stub.StreamObserver<Powersensor.GetPowerResponse> responseObserver) GetPower returns the power reading of a power sensor in watts
-
getReadings
default void getReadings(Common.GetReadingsRequest request, io.grpc.stub.StreamObserver<Common.GetReadingsResponse> responseObserver) GetReadings returns the readings of a sensor of the underlying robot.
-
doCommand
default void doCommand(Common.DoCommandRequest request, io.grpc.stub.StreamObserver<Common.DoCommandResponse> responseObserver) DoCommand sends/receives arbitrary commands
-