mirror of
https://github.com/BroncBotz3481/YAGSL
synced 2026-06-21 06:31:40 +00:00
Added new SparkMAX analog encoder option, fixed 'none' absolute encoder type
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user