Interface IEncoderProvider

    • Method Detail

      • getDefaultEncoder

        EncoderBase getDefaultEncoder()
        Get the default encoder
        Returns:
        Default encoder
      • getEncoder

        EncoderBase getEncoder​(int id,
                               boolean phase)
        Get an encoder of a specific ID. This is useful if a system has more than one sensor, or if it has more than one input, but only one sensor. If the system only has one sensor, this should probably just return getDefaultEncoder()
        Parameters:
        id - Encoder ID
        Returns:
        Encoder