fixed num

This commit is contained in:
66945
2023-03-15 09:57:31 -06:00
parent 8240f8f3c4
commit 745a5b51c0
@@ -56,7 +56,7 @@ public class SwerveDrive extends SubsystemBase {
if (fieldRelative) { if (fieldRelative) {
double rot = 0; double rot = 0;
if (rightStick.getNorm() > 0.1) { if (rightStick.getNorm() > 0.01) {
rotTarget = gyro.getRotation2d(); rotTarget = gyro.getRotation2d();
rot = rightStick.getX() * SwerveDriveConstants.ROTATION_SPEED; rot = rightStick.getX() * SwerveDriveConstants.ROTATION_SPEED;
} else { } else {