This commit is contained in:
samuel desharnais 2024-03-27 17:26:37 -04:00
parent 5fcd2750b4
commit 880dfb81d6
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"imu": {
"type": "navx",
"type": "pigeon",
"id": 0,
"canbus": null
},

View File

@ -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, false, false);
swerveDrive.drive(new Translation2d(x*5, y*5), zRotation*4, true, false);
}
public Drive() {