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:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user