From 880dfb81d6e6ba309b0801a46347542f08d3764a Mon Sep 17 00:00:00 2001 From: samuel desharnais Date: Wed, 27 Mar 2024 17:26:37 -0400 Subject: [PATCH] --- src/main/deploy/swerve/swervedrive.json | 2 +- src/main/java/frc/robot/subsystem/Drive.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/deploy/swerve/swervedrive.json b/src/main/deploy/swerve/swervedrive.json index eaa4400..1604d61 100644 --- a/src/main/deploy/swerve/swervedrive.json +++ b/src/main/deploy/swerve/swervedrive.json @@ -1,6 +1,6 @@ { "imu": { - "type": "navx", + "type": "pigeon", "id": 0, "canbus": null }, diff --git a/src/main/java/frc/robot/subsystem/Drive.java b/src/main/java/frc/robot/subsystem/Drive.java index 10771e4..54f1d3f 100644 --- a/src/main/java/frc/robot/subsystem/Drive.java +++ b/src/main/java/frc/robot/subsystem/Drive.java @@ -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() {