# swervelib.imu
declaration: package: swervelib.imu

# Package swervelib.imu

package swervelib.imu
IMUs used for controlling the robot heading. All implement `SwerveIMU`.

Related Packages
Package
Description
swervelib
Yet-Another Generic Swerve Library (YAGSL) main package AKA swervelib.
Classes
Class
Description
ADIS16448Swerve
IMU Swerve class for the `ADIS16448_IMU` device.
ADIS16470Swerve
IMU Swerve class for the `ADIS16470_IMU` device.
ADXRS450Swerve
IMU Swerve class for the `ADXRS450_Gyro` device.
AnalogGyroSwerve
Creates a IMU for `AnalogGyro` devices, only uses yaw.
NavXSwerve
Communicates with the NavX as the IMU.
Pigeon2Swerve
SwerveIMU interface for the Pigeon2
PigeonSwerve
SwerveIMU interface for the Pigeon.
SwerveIMU
Swerve IMU abstraction to define a standard interface with a swerve drive.