Merge branch 'main' of https://git.demerso.net/pls5618/2024/robot
This commit is contained in:
commit
9a41424dd7
@ -28,7 +28,7 @@ public class Drive extends SubsystemBase {
|
|||||||
public AHRS Gyro = new AHRS();
|
public AHRS Gyro = new AHRS();
|
||||||
|
|
||||||
public void drive(double x, double y, double zRotation){
|
public void drive(double x, double y, double zRotation){
|
||||||
swerveDrive.drive(new Translation2d(x*6, y*6), zRotation*5, false, false);
|
swerveDrive.drive(new Translation2d(x*5, y*5), zRotation*4, true, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Drive() {
|
public Drive() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user