| Constructor and Description |
|---|
RemoteBattery(RMIBattery battery) |
| 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.
|
public RemoteBattery(RMIBattery battery)
public int getVoltageMilliVolt()
PowergetVoltageMilliVolt in interface Powerpublic float getVoltage()
PowergetVoltage in interface Powerpublic float getBatteryCurrent()
PowergetBatteryCurrent in interface Powerpublic float getMotorCurrent()
PowergetMotorCurrent in interface Power