diff --git a/src/main/java/frc/robot/subsystem/Balayeuse.java b/src/main/java/frc/robot/subsystem/Balayeuse.java index 6a10544..5ebdd36 100644 --- a/src/main/java/frc/robot/subsystem/Balayeuse.java +++ b/src/main/java/frc/robot/subsystem/Balayeuse.java @@ -24,7 +24,7 @@ public class Balayeuse extends SubsystemBase { etoile.setInverted(true); } public void balaye(double vitesse){ - roue.set(vitesse); + roue.set(vitesse); etoile.set(vitesse); } @Override diff --git a/src/main/java/frc/robot/subsystem/Grimpeur.java b/src/main/java/frc/robot/subsystem/Grimpeur.java index ee22c02..fdfbfd7 100644 --- a/src/main/java/frc/robot/subsystem/Grimpeur.java +++ b/src/main/java/frc/robot/subsystem/Grimpeur.java @@ -33,9 +33,9 @@ public class Grimpeur extends SubsystemBase { //fonction public Grimpeur() { pistonouvre(); - layout.add("grimpeurencodeurd", encoderd()); - layout.add("grimpeurencodeurg", encoderg()); - layout.add("pitchgyrogrimpeur", getpitch()); + layout.addDouble("grimpeurencodeurd", this::encoderd); + layout.addDouble("grimpeurencodeurg", this::encoderg); + layout.addDouble("pitchgyrogrimpeur", this::getpitch); } public void droit(double vitesse){ grimpeurd.set(vitesse);