Interface RMIBattery

  • All Superinterfaces:
    java.rmi.Remote
    All Known Implementing Classes:
    RMIRemoteBattery

    public interface RMIBattery
    extends java.rmi.Remote
    • Method Detail

      • getVoltageMilliVolt

        int getVoltageMilliVolt()
                         throws java.rmi.RemoteException
        The NXT uses 6 batteries of 1500 mV each.
        Returns:
        Battery voltage in mV. ~9000 = full.
        Throws:
        java.rmi.RemoteException
      • getVoltage

        float getVoltage()
                  throws java.rmi.RemoteException
        The NXT uses 6 batteries of 1.5 V each.
        Returns:
        Battery voltage in Volt. ~9V = full.
        Throws:
        java.rmi.RemoteException
      • getBatteryCurrent

        float getBatteryCurrent()
                         throws java.rmi.RemoteException
        Return the current draw from the battery
        Returns:
        current in Amps
        Throws:
        java.rmi.RemoteException
      • getMotorCurrent

        float getMotorCurrent()
                       throws java.rmi.RemoteException
        return the motor current draw
        Returns:
        current in Amps
        Throws:
        java.rmi.RemoteException