mirror of
https://github.com/BroncBotz3481/YAGSL
synced 2026-06-19 06:21:40 +00:00
Upgrading to 2025.7.0
This commit is contained in:
@@ -21,7 +21,7 @@ public class PigeonSwerve extends SwerveIMU
|
||||
*/
|
||||
private final WPI_PigeonIMU imu;
|
||||
/**
|
||||
* Mutable {@link AngularVelocity} for readings.
|
||||
* Mutable {@link MutAngularVelocity} for readings.
|
||||
*/
|
||||
private final MutAngularVelocity yawVel = new MutAngularVelocity(0, 0, DegreesPerSecond);
|
||||
/**
|
||||
@@ -45,6 +45,12 @@ public class PigeonSwerve extends SwerveIMU
|
||||
SmartDashboard.putData(imu);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void close() {
|
||||
imu.close();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Reset IMU to factory default.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user