mirror of
https://github.com/Team4388/2023WayOfTheRobot.git
synced 2026-06-09 00:37:59 -06:00
fixed num
This commit is contained in:
@@ -56,7 +56,7 @@ public class SwerveDrive extends SubsystemBase {
|
||||
if (fieldRelative) {
|
||||
|
||||
double rot = 0;
|
||||
if (rightStick.getNorm() > 0.1) {
|
||||
if (rightStick.getNorm() > 0.01) {
|
||||
rotTarget = gyro.getRotation2d();
|
||||
rot = rightStick.getX() * SwerveDriveConstants.ROTATION_SPEED;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user