mirror of
https://github.com/BroncBotz3481/YAGSL
synced 2026-06-29 07:01:41 +00:00
Added lock to ensure safety of odometry update
This commit is contained in:
@@ -6,10 +6,14 @@ package swervelib.encoders;
|
||||
public abstract class SwerveAbsoluteEncoder
|
||||
{
|
||||
|
||||
/**
|
||||
* The maximum amount of times the swerve encoder will attempt to configure itself if failures occur.
|
||||
*/
|
||||
public final int maximumRetries = 5;
|
||||
/**
|
||||
* Last angle reading was faulty.
|
||||
*/
|
||||
public boolean readingError = false;
|
||||
public boolean readingError = false;
|
||||
|
||||
/**
|
||||
* Reset the encoder to factory defaults.
|
||||
|
||||
Reference in New Issue
Block a user