constant
This commit is contained in:
parent
60f8f3e13e
commit
97c2e585f4
@ -11,5 +11,6 @@ public class Constants {
|
|||||||
public static int lancer2 = 2;
|
public static int lancer2 = 2;
|
||||||
public static int roue = 3;
|
public static int roue = 3;
|
||||||
public static int etoile = 4;
|
public static int etoile = 4;
|
||||||
|
public static int Accumulationneur1 = 5;
|
||||||
|
public static int Accumulationneur2 = 6;
|
||||||
}
|
}
|
||||||
|
@ -17,7 +17,7 @@ public class Lanceur extends SubsystemBase {
|
|||||||
|
|
||||||
public Lanceur() {}
|
public Lanceur() {}
|
||||||
final CANSparkMax lancer = new CANSparkMax(Constants.lanceur, MotorType.kBrushless);
|
final CANSparkMax lancer = new CANSparkMax(Constants.lanceur, MotorType.kBrushless);
|
||||||
final CANSparkMax lancer2 = new CANSparkMax(Constants.lanceur2, MotorType.kBrushless);
|
final CANSparkMax lancer2 = new CANSparkMax(Constants.lancer2, MotorType.kBrushless);
|
||||||
public void lancer(double vitesse){
|
public void lancer(double vitesse){
|
||||||
lancer.set(vitesse);
|
lancer.set(vitesse);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user