From c637a7741013a9ec1af7c77c8ecccc584a45b177 Mon Sep 17 00:00:00 2001 From: samuel desharnais Date: Mon, 22 Jan 2024 20:13:54 -0500 Subject: [PATCH] --- src/main/java/frc/robot/subsystem/Grimpeur.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/java/frc/robot/subsystem/Grimpeur.java b/src/main/java/frc/robot/subsystem/Grimpeur.java index f7cb7bc..3f78416 100644 --- a/src/main/java/frc/robot/subsystem/Grimpeur.java +++ b/src/main/java/frc/robot/subsystem/Grimpeur.java @@ -18,11 +18,9 @@ public class Grimpeur extends SubsystemBase { public Grimpeur() {} final CANSparkMax grimpeurd = new CANSparkMax(Constants.grimpeurd,MotorType.kBrushless); final CANSparkMax grimpeurg = new CANSparkMax(Constants.grimpeurg,MotorType.kBrushless); - // limit switch final DigitalInput limitdroite = new DigitalInput(Constants.limithaut); final DigitalInput limitgauche = new DigitalInput(Constants.limitbas); - //fonction public void droit(double vitesse){ grimpeurd.set(vitesse); @@ -49,7 +47,6 @@ public AHRS gyroscope = new AHRS(); public double getpitch(){ return gyroscope.getPitch(); } - @Override public void periodic() { // This method will be called once per scheduler run