Interface AbsoluteEncoder

All Known Implementing Classes:
SparkAbsoluteEncoder

public interface AbsoluteEncoder
  • Method Details

    • getPosition

      Signal<Double> getPosition()
      Get the position of the motor. This returns the native units of 'rotations'.
      Returns:
      Number of rotations of the motor
    • getVelocity

      Signal<Double> getVelocity()
      Get the velocity of the motor. This returns the native units of 'rotations per minute'.
      Returns:
      Number of rotations per minute of the motor