Upgrading to 2025.7.0

This commit is contained in:
thenetworkgrinch
2025-02-22 06:15:56 +00:00
parent 62f8236678
commit 4016ee2190
41 changed files with 2237 additions and 557 deletions

View File

@@ -3,9 +3,15 @@ package swervelib.encoders;
/**
* Swerve abstraction class to define a standard interface with absolute encoders for swerve modules..
*/
public abstract class SwerveAbsoluteEncoder
public abstract class SwerveAbsoluteEncoder implements AutoCloseable
{
// This is a bit weird because some encoders are closable
// while some get closed with the motor controller
// so for some encoders this will be an empty function
@Override
public abstract void close();
/**
* The maximum amount of times the swerve encoder will attempt to configure itself if failures occur.
*/