Package swervelib.imu

Class Pigeon2Swerve

java.lang.Object
swervelib.imu.SwerveIMU
swervelib.imu.Pigeon2Swerve

public class Pigeon2Swerve extends SwerveIMU
SwerveIMU interface for the Pigeon2
  • Field Details

    • STATUS_TIMEOUT_SECONDS

      public static double STATUS_TIMEOUT_SECONDS
      Wait time for status frames to show up.
  • Constructor Details

    • Pigeon2Swerve

      public Pigeon2Swerve(int canid, String canbus)
      Generate the SwerveIMU for Pigeon2.
      Parameters:
      canid - CAN ID for the Pigeon2
      canbus - CAN Bus name the Pigeon2 resides on.
    • Pigeon2Swerve

      public Pigeon2Swerve(int canid)
      Generate the SwerveIMU for Pigeon2.
      Parameters:
      canid - CAN ID for the Pigeon2
  • Method Details