Changer ID swerve pour les bons

This commit is contained in:
Antoine PerreaultE 2023-11-01 18:54:36 -04:00
parent 8b5842acbb
commit 83fda9aa61
5 changed files with 13 additions and 13 deletions

View File

@ -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": {

View File

@ -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": {

View File

@ -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": {

View File

@ -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": {

View File

@ -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));