dAAAAAAAAAAsh

This commit is contained in:
Olivier Dubois 2023-12-02 11:46:36 -05:00
parent 0637770e17
commit 134460f2e2
2 changed files with 8 additions and 7 deletions

View File

@ -19,10 +19,10 @@ public class Avancer extends CommandBase {
.withSize(3, 3); .withSize(3, 3);
/** Creates a new Avancer. */ /** Creates a new Avancer. */
public Avancer(Drive drive) { public Avancer(Drive drive) {
avancer.add("x", 1); avancer.add("vitesse x", 1);
avancer.add("y", 2); avancer.add("vitesse y", 2);
avancer.add("z", 3); avancer.add("vitesse z", 3);
avancer.add("distance", 4);
this.drive = drive; this.drive = drive;
addRequirements(drive); addRequirements(drive);
// Use addRequirements() here to declare subsystem dependencies. // Use addRequirements() here to declare subsystem dependencies.

View File

@ -19,9 +19,10 @@ public class Reculer extends CommandBase {
.withSize(3, 3); .withSize(3, 3);
/** Creates a new Reculer. */ /** Creates a new Reculer. */
public Reculer(Drive drive) { public Reculer(Drive drive) {
reculer.add("x", 1); reculer.add("vitesse x", 1);
reculer.add("y", 2); reculer.add("vitesse y", 2);
reculer.add("z", 3); reculer.add("vitesse z", 3);
reculer.add("distance", 4);
this.drive = drive; this.drive = drive;
addRequirements(drive); addRequirements(drive);
// Use addRequirements() here to declare subsystem dependencies. // Use addRequirements() here to declare subsystem dependencies.