public interface RMIBattery
extends java.rmi.Remote
| Modifier and Type | Method and Description |
|---|---|
float |
getBatteryCurrent()
Return the current draw from the battery
|
float |
getMotorCurrent()
return the motor current draw
|
float |
getVoltage()
The NXT uses 6 batteries of 1.5 V each.
|
int |
getVoltageMilliVolt()
The NXT uses 6 batteries of 1500 mV each.
|
int getVoltageMilliVolt()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionfloat getVoltage()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionfloat getBatteryCurrent()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionfloat getMotorCurrent()
throws java.rmi.RemoteException
java.rmi.RemoteException