Class ScaleComponent

java.lang.Object
edu.tufts.hrilab.diarc.DiarcComponent
edu.tufts.hrilab.scale.ScaleComponent

public class ScaleComponent extends DiarcComponent
  • Constructor Details

    • ScaleComponent

      public ScaleComponent()
  • Method Details

    • init

      protected void init()
      Description copied from class: DiarcComponent
      Perform any component initialization. This should not be used for setting local fields to default values as was the case in DIARC. This method is called after the constructor, and after parseArgs. Setting default values should be done in field declaration or in the constructor.
      Overrides:
      init in class DiarcComponent
    • itemWeightGreaterThan

      public boolean itemWeightGreaterThan(Symbol value)
    • waitForMeasurement

      public boolean waitForMeasurement(Symbol value)
    • findDevice

      public org.usb4java.Device findDevice(short vendorId, short productId)