Class AndymarkDevices

java.lang.Object
swervelib.parser.deserializer.reflections.AndymarkDevices

public class AndymarkDevices extends Object
Andymark Devices
  • Constructor Details

    • AndymarkDevices

      public AndymarkDevices()
  • Method Details

    • getAbsoluteEncoder

      public static Pair<Supplier<Angle>,Object> getAbsoluteEncoder(int canid, String canbus, boolean inverted)
      Get the AM_CAN_HexBoreEncoder angle.
      Parameters:
      canid - CAN ID of the encoder.
      canbus - CAN bus name of the encoder.
      inverted - Inverted encoder readings.
      Returns:
      Supplier of Angle and AM_CAN_HexBoreEncoder