Constructor and Description |
---|
RemoteRequestBattery(java.io.ObjectInputStream is,
java.io.ObjectOutputStream os) |
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 RemoteRequestBattery(java.io.ObjectInputStream is, java.io.ObjectOutputStream os)
public int getVoltageMilliVolt()
Power
getVoltageMilliVolt
in interface Power
public float getVoltage()
Power
getVoltage
in interface Power
public float getBatteryCurrent()
Power
getBatteryCurrent
in interface Power
public float getMotorCurrent()
Power
getMotorCurrent
in interface Power