Interface RelativeEncoder

All Known Implementing Classes:
SparkFlexExternalEncoder, SparkMaxAlternateEncoder, SparkRelativeEncoder

public interface RelativeEncoder
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Get the position of the motor.
    double
    Get the velocity of the motor.
    setPosition(double position)
    Set the position of the encoder.