Class XAbsoluteEncoder

java.lang.Object
xbot.common.controls.sensors.XAbsoluteEncoder
All Implemented Interfaces:
DataFrameRefreshable
Direct Known Subclasses:
MockAbsoluteEncoder, XCANCoder

public abstract class XAbsoluteEncoder extends Object implements DataFrameRefreshable
  • Field Details

  • Constructor Details

    • XAbsoluteEncoder

      public XAbsoluteEncoder(DeviceInfo info)
  • Method Details

    • getDeviceId

      public abstract int getDeviceId()
    • getPosition

      public Angle getPosition()
    • getAbsolutePosition

      public Angle getAbsolutePosition()
    • getVelocity

      public AngularVelocity getVelocity()
    • setPosition

      public abstract void setPosition(Angle newPostition)
    • getHealth

      public DeviceHealth getHealth()
    • updateInputs

      public abstract void updateInputs(XAbsoluteEncoderInputs inputs)
    • refreshDataFrame

      public void refreshDataFrame()
      Description copied from interface: DataFrameRefreshable
      Consumes and processes inputs from the device or subsystem.
      Specified by:
      refreshDataFrame in interface DataFrameRefreshable