This commit is contained in:
Antoine PerreaultE 2024-02-22 19:53:25 -05:00
parent 3080e9f6f6
commit 103ae14972
2 changed files with 2 additions and 2 deletions

View File

@ -48,5 +48,5 @@ public class Constants {
public static int photocellacc = 2; public static int photocellacc = 2;
//piston //piston
public static int pistondroiteouvre= 7; public static int pistondroite= 7;
} }

View File

@ -28,7 +28,7 @@ public class Grimpeur extends SubsystemBase {
final CANSparkMax grimpeurd = new CANSparkMax(Constants.grimpeurd,MotorType.kBrushless); final CANSparkMax grimpeurd = new CANSparkMax(Constants.grimpeurd,MotorType.kBrushless);
final CANSparkMax grimpeurg = new CANSparkMax(Constants.grimpeurg,MotorType.kBrushless); final CANSparkMax grimpeurg = new CANSparkMax(Constants.grimpeurg,MotorType.kBrushless);
// limit switch // limit switch
final Solenoid pistondroite= new Solenoid(PneumaticsModuleType.CTREPCM, Constants.pistondroiteouvre); final Solenoid pistondroite= new Solenoid(PneumaticsModuleType.CTREPCM, Constants.pistondroite);
//fonction //fonction
public Grimpeur() { public Grimpeur() {
pistonouvre(); pistonouvre();