From 103ae14972bbaf12f5dae5c575e7e0a7db48321c Mon Sep 17 00:00:00 2001 From: Antoine PerreaultE Date: Thu, 22 Feb 2024 19:53:25 -0500 Subject: [PATCH] f --- src/main/java/frc/robot/Constants.java | 2 +- src/main/java/frc/robot/subsystem/Grimpeur.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/frc/robot/Constants.java b/src/main/java/frc/robot/Constants.java index 39e0872..2de88e6 100644 --- a/src/main/java/frc/robot/Constants.java +++ b/src/main/java/frc/robot/Constants.java @@ -48,5 +48,5 @@ public class Constants { public static int photocellacc = 2; //piston - public static int pistondroiteouvre= 7; + public static int pistondroite= 7; } diff --git a/src/main/java/frc/robot/subsystem/Grimpeur.java b/src/main/java/frc/robot/subsystem/Grimpeur.java index af1b298..6b71405 100644 --- a/src/main/java/frc/robot/subsystem/Grimpeur.java +++ b/src/main/java/frc/robot/subsystem/Grimpeur.java @@ -28,7 +28,7 @@ public class Grimpeur extends SubsystemBase { final CANSparkMax grimpeurd = new CANSparkMax(Constants.grimpeurd,MotorType.kBrushless); final CANSparkMax grimpeurg = new CANSparkMax(Constants.grimpeurg,MotorType.kBrushless); // limit switch - final Solenoid pistondroite= new Solenoid(PneumaticsModuleType.CTREPCM, Constants.pistondroiteouvre); + final Solenoid pistondroite= new Solenoid(PneumaticsModuleType.CTREPCM, Constants.pistondroite); //fonction public Grimpeur() { pistonouvre();