mirror of
https://github.com/BroncBotz3481/YAGSL
synced 2026-06-20 06:31:39 +00:00
Upgrading to 2025.1.0
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
package swervelib.encoders;
|
||||
|
||||
import edu.wpi.first.wpilibj.Alert;
|
||||
import edu.wpi.first.wpilibj.Alert.AlertType;
|
||||
import edu.wpi.first.wpilibj.AnalogInput;
|
||||
import edu.wpi.first.wpilibj.RobotController;
|
||||
import swervelib.telemetry.Alert;
|
||||
|
||||
/**
|
||||
* Swerve Absolute Encoder for Thrifty Encoders and other analog encoders.
|
||||
@@ -39,11 +40,11 @@ public class AnalogAbsoluteEncoderSwerve extends SwerveAbsoluteEncoder
|
||||
cannotSetOffset = new Alert(
|
||||
"Encoders",
|
||||
"Cannot Set Absolute Encoder Offset of Analog Encoders Channel #" + encoder.getChannel(),
|
||||
Alert.AlertType.WARNING);
|
||||
AlertType.kWarning);
|
||||
inaccurateVelocities = new Alert(
|
||||
"Encoders",
|
||||
"The Analog Absolute encoder may not report accurate velocities!",
|
||||
Alert.AlertType.WARNING_TRACE);
|
||||
AlertType.kWarning);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user