Updated documentation, renamed functions to make more sense.

This commit is contained in:
thenetworkgrinch
2023-02-14 22:58:34 -06:00
parent 88cf3f8da3
commit 95b089960b
90 changed files with 119 additions and 119 deletions

View File

@@ -233,21 +233,21 @@ public class SwerveModule
}
/**
* Get the CANCoder absolute position.
* Get the absolute position.
*
* @return Absolute encoder angle in degrees.
*/
public double getCANCoder()
public double getAbsolutePosition()
{
return absoluteEncoder.getAbsolutePosition();
}
/**
* Get the relative encoder angle in degrees.
* Get the relative angle in degrees.
*
* @return Angle in degrees.
*/
public double getRelativeEncoder()
public double getRelativePosition()
{
return angleMotor.getPosition();
}