f
This commit is contained in:
parent
3080e9f6f6
commit
103ae14972
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user