Added new SparkMAX analog encoder option, fixed 'none' absolute encoder type

This commit is contained in:
thenetworkgrinch
2023-12-05 16:25:42 -06:00
parent 04466ef81d
commit e0d572b5a5
126 changed files with 1012 additions and 343 deletions

View File

@@ -45,4 +45,10 @@ public abstract class SwerveAbsoluteEncoder
* @return Absolute encoder object.
*/
public abstract Object getAbsoluteEncoder();
/**
* Get the velocity in degrees/sec.
* @return velocity in degrees/sec.
*/
public abstract double getVelocity();
}