Class XAnalogInput

java.lang.Object
xbot.common.controls.sensors.XAnalogInput
All Implemented Interfaces:
XBaseIO
Direct Known Subclasses:
AnalogInputWPIAdapater, MockAnalogInput

public abstract class XAnalogInput extends Object implements XBaseIO
  • Field Details

    • channel

      protected int channel
  • Constructor Details

    • XAnalogInput

      public XAnalogInput(int channel, DevicePolice police)
  • Method Details

    • getVoltage

      public abstract double getVoltage()
    • getAverageVoltage

      public abstract double getAverageVoltage()
    • setAverageBits

      public abstract void setAverageBits(int bits)
    • getAsDigital

      public abstract boolean getAsDigital(double threshold)