Class RemoteRequestMotorPort

    • Constructor Detail

      • RemoteRequestMotorPort

        public RemoteRequestMotorPort​(java.io.ObjectInputStream is,
                                      java.io.ObjectOutputStream os)
    • Method Detail

      • close

        public void close()
        Description copied from interface: IOPort
        Close the port, the port can not be used after this call.
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Specified by:
        close in interface IOPort
        Overrides:
        close in class RemoteRequestIOPort
      • getTachoCount

        public int getTachoCount()
        Description copied from interface: Encoder
        Returns the tachometer count.
        Specified by:
        getTachoCount in interface Encoder
        Returns:
        tachometer count in degrees
      • resetTachoCount

        public void resetTachoCount()
        Description copied from interface: Encoder
        Reset the tachometer count.
        Specified by:
        resetTachoCount in interface Encoder