This commit is contained in:
aarav18
2023-01-20 17:50:24 -07:00
parent 3c9a29d94b
commit 6b631e914d
2 changed files with 2 additions and 1 deletions
@@ -144,6 +144,7 @@ public class SwerveDrive extends SubsystemBase {
@Override
public void periodic() {
// This method will be called once per scheduler run
updateOdometry();
}
/**
@@ -87,7 +87,7 @@ public class SwerveModule extends SubsystemBase {
angleMotor.set(0);
}
public void rotateToAngle(double angle){
public void rotateToAngle(double angle) {
angleMotor.set(TalonFXControlMode.Position, angle);
}