Skip to content

Conversation

@tbowers7
Copy link
Collaborator

@tbowers7 tbowers7 commented Jan 8, 2026

Move the gyroscopes out of the drive subsystem and implement an IMU subsystem. This simplifies using the gyros for both the drive and acceleration subsystems.

Move the IMU implementation from the drivebase into its own subsystem
so that it is accessible to both the drivetrain and the accelerometer
classes.

	modified:   src/main/java/frc/robot/AprilTagLayout.java
	modified:   src/main/java/frc/robot/Constants.java
	modified:   src/main/java/frc/robot/RobotContainer.java
	modified:   src/main/java/frc/robot/subsystems/accelerometer/Accelerometer.java
	modified:   src/main/java/frc/robot/subsystems/drive/Drive.java
	deleted:    src/main/java/frc/robot/subsystems/drive/GyroIO.java
	deleted:    src/main/java/frc/robot/subsystems/drive/GyroIONavX.java
	deleted:    src/main/java/frc/robot/subsystems/drive/GyroIOPigeon2.java
	new file:   src/main/java/frc/robot/subsystems/imu/ImuIO.java
	new file:   src/main/java/frc/robot/subsystems/imu/ImuIONavX.java
	new file:   src/main/java/frc/robot/subsystems/imu/ImuIOPigeon2.java
	new file:   src/main/java/frc/robot/subsystems/imu/ImuIOSim.java
Plumb in the accelerations for the two types of IMU and compute them in
the Acceleration class.
Including a Getting Started Guide.  Moved around sections of the
``Constants.java`` file to align with the GSG and making it easier to
find the parts.
@tbowers7 tbowers7 added this to the v26.0.0 milestone Jan 8, 2026
@tbowers7 tbowers7 merged commit 6d45645 into develop Jan 8, 2026
5 checks passed
@tbowers7 tbowers7 deleted the gyro2imu branch January 8, 2026 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants