mirror of
https://github.com/BroncBotz3481/YAGSL
synced 2026-06-19 06:21:40 +00:00
Updated Javadocs, added ability to push offset to absolute encoders.
This commit is contained in:
@@ -46,6 +46,14 @@ public abstract class SwerveAbsoluteEncoder
|
||||
*/
|
||||
public abstract Object getAbsoluteEncoder();
|
||||
|
||||
/**
|
||||
* Sets the Absolute Encoder offset at the Encoder Level.
|
||||
*
|
||||
* @param offset the offset the Absolute Encoder uses as the zero point.
|
||||
* @return if setting Absolute Encoder Offset was successful or not.
|
||||
*/
|
||||
public abstract boolean setAbsoluteEncoderOffset(double offset);
|
||||
|
||||
/**
|
||||
* Get the velocity in degrees/sec.
|
||||
* @return velocity in degrees/sec.
|
||||
|
||||
Reference in New Issue
Block a user