From f7388256d05deadce39afb8aa3ebea81fab4c72c Mon Sep 17 00:00:00 2001 From: Antoine PerreaultE Date: Wed, 18 Oct 2023 19:48:20 -0400 Subject: [PATCH] ajout encodeur Lanceur --- src/main/java/frc/robot/subsystems/Lanceur.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/frc/robot/subsystems/Lanceur.java b/src/main/java/frc/robot/subsystems/Lanceur.java index de24340..1c61716 100644 --- a/src/main/java/frc/robot/subsystems/Lanceur.java +++ b/src/main/java/frc/robot/subsystems/Lanceur.java @@ -18,6 +18,10 @@ public class Lanceur extends SubsystemBase { public void lancer(double vitesse){ lanceur.set(vitesse); } + // Encodeur + // public double distance(){ + // return(lanceur.getEncoder().getPosition()); + // } @Override public void periodic() {