diff --git a/src/main/deploy/swerve/modules/backleft.json b/src/main/deploy/swerve/modules/backleft.json index ceabe5f..9eecec3 100644 --- a/src/main/deploy/swerve/modules/backleft.json +++ b/src/main/deploy/swerve/modules/backleft.json @@ -6,17 +6,17 @@ "absoluteEncoderOffset": 0, "drive": { "type": "sparkmax", - "id": 0, + "id": 8, "canbus": null }, "angle": { "type": "sparkmax", - "id": 1, + "id": 9, "canbus": null }, "encoder": { "type": "cancoder", - "id": 2, + "id": 22, "canbus": null }, "inverted": { diff --git a/src/main/deploy/swerve/modules/backright.json b/src/main/deploy/swerve/modules/backright.json index 1de02f1..4d87807 100644 --- a/src/main/deploy/swerve/modules/backright.json +++ b/src/main/deploy/swerve/modules/backright.json @@ -6,17 +6,17 @@ "absoluteEncoderOffset": 0, "drive": { "type": "sparkmax", - "id": 3, + "id": 11, "canbus": null }, "angle": { "type": "sparkmax", - "id": 4, + "id": 12, "canbus": null }, "encoder": { "type": "cancoder", - "id": 5, + "id": 22, "canbus": null }, "inverted": { diff --git a/src/main/deploy/swerve/modules/frontleft.json b/src/main/deploy/swerve/modules/frontleft.json index 5ac2369..e0168dc 100644 --- a/src/main/deploy/swerve/modules/frontleft.json +++ b/src/main/deploy/swerve/modules/frontleft.json @@ -6,17 +6,17 @@ "absoluteEncoderOffset": 0, "drive": { "type": "sparkmax", - "id": 6, + "id": 0, "canbus": null }, "angle": { "type": "sparkmax", - "id": 7, + "id": 1, "canbus": null }, "encoder": { "type": "cancoder", - "id": 8, + "id": 22, "canbus": null }, "inverted": { diff --git a/src/main/deploy/swerve/modules/frontright.json b/src/main/deploy/swerve/modules/frontright.json index 50fccc3..b0dd13b 100644 --- a/src/main/deploy/swerve/modules/frontright.json +++ b/src/main/deploy/swerve/modules/frontright.json @@ -6,17 +6,17 @@ "absoluteEncoderOffset": 0, "drive": { "type": "sparkmax", - "id": 9, + "id": 17, "canbus": null }, "angle": { "type": "sparkmax", - "id": 10, + "id": 18, "canbus": null }, "encoder": { "type": "cancoder", - "id": 11, + "id": 22, "canbus": null }, "inverted": { diff --git a/src/main/java/frc/robot/commands/Accumuler.java b/src/main/java/frc/robot/commands/Accumuler.java index e4f13ba..89a90e7 100644 --- a/src/main/java/frc/robot/commands/Accumuler.java +++ b/src/main/java/frc/robot/commands/Accumuler.java @@ -14,7 +14,7 @@ import frc.robot.subsystems.Lanceur; // https://docs.wpilib.org/en/stable/docs/software/commandbased/convenience-features.html public class Accumuler extends SequentialCommandGroup { - public Accumuler(Accumulateur accumulateur) { + public void Accumuler(Accumulateur accumulateur) { // Add your commands in the addCommands() call, e.g. // addCommands(new FooCommand(), new BarCommand()); addCommands(new Deaccumuler(accumulateur), new Reaccumuler(accumulateur));