def getRaw(self) -> int:
        """Gets the raw value from the encoder. The raw value is the actual
        count unscaled by the 1x, 2x, or 4x scale factor.

        :returns: Current raw count from the encoder
        """
        return hal.getEncoderRaw(self.encoder)
Beispiel #2
0
    def getRaw(self) -> int:
        """Gets the raw value from the encoder. The raw value is the actual
        count unscaled by the 1x, 2x, or 4x scale factor.

        :returns: Current raw count from the encoder
        """
        return hal.getEncoderRaw(self.encoder)