diff --git a/src/main/deploy/swerve/comp/modules/backleft.json b/src/main/deploy/swerve/comp/modules/backleft.json index 8e4e23f..5a078b5 100644 --- a/src/main/deploy/swerve/comp/modules/backleft.json +++ b/src/main/deploy/swerve/comp/modules/backleft.json @@ -15,7 +15,7 @@ "canbus": null }, "inverted": { - "drive": true, + "drive": false, "angle": false }, "absoluteEncoderOffset": 169.89, diff --git a/src/main/deploy/swerve/comp/modules/backright.json b/src/main/deploy/swerve/comp/modules/backright.json index 0b28e68..7f9b8df 100644 --- a/src/main/deploy/swerve/comp/modules/backright.json +++ b/src/main/deploy/swerve/comp/modules/backright.json @@ -15,7 +15,7 @@ "canbus": null }, "inverted": { - "drive": true, + "drive": false, "angle": false }, "absoluteEncoderOffset": 350.8, diff --git a/src/main/deploy/swerve/comp/modules/frontleft.json b/src/main/deploy/swerve/comp/modules/frontleft.json index 5330f8d..91ff582 100644 --- a/src/main/deploy/swerve/comp/modules/frontleft.json +++ b/src/main/deploy/swerve/comp/modules/frontleft.json @@ -15,7 +15,7 @@ "canbus": null }, "inverted": { - "drive": true, + "drive": false, "angle": false }, "absoluteEncoderOffset": 186.8, diff --git a/src/main/deploy/swerve/comp/modules/frontright.json b/src/main/deploy/swerve/comp/modules/frontright.json index faa55d7..b19b3f2 100644 --- a/src/main/deploy/swerve/comp/modules/frontright.json +++ b/src/main/deploy/swerve/comp/modules/frontright.json @@ -15,7 +15,7 @@ "canbus": null }, "inverted": { - "drive": true, + "drive": false, "angle": false }, "absoluteEncoderOffset": 341.0, diff --git a/src/main/deploy/swerve/comp/swervedrive.json b/src/main/deploy/swerve/comp/swervedrive.json index fab8811..969b7a8 100644 --- a/src/main/deploy/swerve/comp/swervedrive.json +++ b/src/main/deploy/swerve/comp/swervedrive.json @@ -4,7 +4,7 @@ "id": 0, "canbus": null }, - "invertedIMU": false, + "invertedIMU": true, "modules": [ "frontleft.json", "frontright.json", diff --git a/src/main/java/frc3512/robot/subsystems/Superstructure.java b/src/main/java/frc3512/robot/subsystems/Superstructure.java index 2eb592d..7b4cbe6 100644 --- a/src/main/java/frc3512/robot/subsystems/Superstructure.java +++ b/src/main/java/frc3512/robot/subsystems/Superstructure.java @@ -39,14 +39,14 @@ public void configureAxisActions() { swerve.driveCommand( () -> MathUtil.applyDeadband( - -driverXbox.getRawAxis(translationAxis), + driverXbox.getRawAxis(translationAxis), Constants.SwerveConstants.swerveDeadband), () -> MathUtil.applyDeadband( - -driverXbox.getRawAxis(strafeAxis), Constants.SwerveConstants.swerveDeadband), + driverXbox.getRawAxis(strafeAxis), Constants.SwerveConstants.swerveDeadband), () -> MathUtil.applyDeadband( - -driverXbox.getRawAxis(rotationAxis), + driverXbox.getRawAxis(rotationAxis), Constants.SwerveConstants.swerveDeadband))); }