Updated documentation. Added swerve measurement function

This commit is contained in:
thenetworkgrinch
2023-02-14 22:37:45 -06:00
parent 9a7ba52cee
commit 54f7e442f7
92 changed files with 206 additions and 166 deletions

View File

@@ -200,7 +200,7 @@ public class SwerveModule
{
velocity = driveMotor.getVelocity();
azimuth = Rotation2d.fromDegrees(angleMotor.getPosition());
omega = angleMotor.getVelocity();
omega = Math.toRadians(angleMotor.getVelocity());
} else
{
velocity = speed;