mirror of
https://github.com/BroncBotz3481/YAGSL
synced 2026-06-20 06:31:39 +00:00
Updated documentation. Added swerve measurement function
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user