Class DIODutyCycleEncoderSwerve

java.lang.Object
swervelib.encoders.SwerveAbsoluteEncoder
swervelib.encoders.DIODutyCycleEncoderSwerve
All Implemented Interfaces:
AutoCloseable

public class DIODutyCycleEncoderSwerve extends SwerveAbsoluteEncoder
DutyCycle encoders such as "US Digital MA3 with DIO Output, the CTRE Mag Encoder, the Rev Hex Encoder, and the AM Mag Encoder." attached via a DIO lane.

Credits to p2reneker25 for building this.

  • Constructor Details

    • DIODutyCycleEncoderSwerve

      public DIODutyCycleEncoderSwerve(int pin)
      Constructor for the DIO duty cycle encoder.
      Parameters:
      pin - DIO lane for the encoder.
  • Method Details