This commit is contained in:
parent
f8f03dde51
commit
5fcd2750b4
@ -28,7 +28,7 @@ public class Drive extends SubsystemBase {
|
||||
public AHRS Gyro = new AHRS();
|
||||
|
||||
public void drive(double x, double y, double zRotation){
|
||||
swerveDrive.drive(new Translation2d(x*5, y*5), zRotation*4, true, false);
|
||||
swerveDrive.drive(new Translation2d(x*5, y*5), zRotation*4, false, false);
|
||||
}
|
||||
|
||||
public Drive() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user