diff --git a/src/main/java/frc/robot/commands/Avancer.java b/src/main/java/frc/robot/commands/Avancer.java index 69e0047..c0ee5c7 100644 --- a/src/main/java/frc/robot/commands/Avancer.java +++ b/src/main/java/frc/robot/commands/Avancer.java @@ -19,10 +19,10 @@ public class Avancer extends CommandBase { .withSize(3, 3); /** Creates a new Avancer. */ public Avancer(Drive drive) { - avancer.add("x", 1); - avancer.add("y", 2); - avancer.add("z", 3); - + avancer.add("vitesse x", 1); + avancer.add("vitesse y", 2); + avancer.add("vitesse z", 3); + avancer.add("distance", 4); this.drive = drive; addRequirements(drive); // Use addRequirements() here to declare subsystem dependencies. diff --git a/src/main/java/frc/robot/commands/Reculer.java b/src/main/java/frc/robot/commands/Reculer.java index a075f23..b0303ab 100644 --- a/src/main/java/frc/robot/commands/Reculer.java +++ b/src/main/java/frc/robot/commands/Reculer.java @@ -19,9 +19,10 @@ public class Reculer extends CommandBase { .withSize(3, 3); /** Creates a new Reculer. */ public Reculer(Drive drive) { - reculer.add("x", 1); - reculer.add("y", 2); - reculer.add("z", 3); + reculer.add("vitesse x", 1); + reculer.add("vitesse y", 2); + reculer.add("vitesse z", 3); + reculer.add("distance", 4); this.drive = drive; addRequirements(drive); // Use addRequirements() here to declare subsystem dependencies.