From 11d35c93579e7ee30a845ce7e1c896bdc22753af Mon Sep 17 00:00:00 2001 From: samuel desharnais Date: Thu, 15 Feb 2024 20:23:22 -0500 Subject: [PATCH] commit --- src/main/java/frc/robot/subsystem/Balayeuse.java | 2 +- src/main/java/frc/robot/subsystem/Grimpeur.java | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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);