Interface HardwareDevice

    • Method Detail

      • getManufacturer

        HardwareDevice.Manufacturer getManufacturer()
        Returns an indication of the manufacturer of this device.
        Returns:
        the device's manufacturer
      • getDeviceName

        String getDeviceName()
        Returns a string suitable for display to the user as to the type of device. Note that this is a device-type-specific name; it has nothing to do with the name by which a user might have configured the device in a robot configuration.
        Returns:
        device manufacturer and name
      • getConnectionInfo

        String getConnectionInfo()
        Get connection information about this device in a human readable format
        Returns:
        connection info
      • getVersion

        int getVersion()
        Version
        Returns:
        get the version of this device
      • resetDeviceConfigurationForOpMode

        void resetDeviceConfigurationForOpMode()
        Resets the device's configuration to that which is expected at the beginning of an OpMode. For example, motors will reset the their direction to 'forward'.
      • close

        void close()
        Closes this device