Class XSpeedController

java.lang.Object
xbot.common.controls.actuators.XSpeedController
All Implemented Interfaces:
XBaseIO
Direct Known Subclasses:
MockSpeedController, SpeedControllerWPIAdapter

public abstract class XSpeedController extends Object implements XBaseIO
  • Field Details

    • channel

      protected int channel
    • isInverted

      protected boolean isInverted
  • Constructor Details

    • XSpeedController

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

    • getChannel

      public int getChannel()
      Specified by:
      getChannel in interface XBaseIO
    • getInverted

      public boolean getInverted()
    • setInverted

      public void setInverted(boolean isInverted)
    • setPower

      public void setPower(double power)
    • getPower

      public double getPower()
    • get

      protected abstract double get()
    • set

      protected abstract void set(double value)