This commit is contained in:
Olivier Dubois 2024-01-18 19:42:25 -05:00
parent 60f8f3e13e
commit 97c2e585f4
2 changed files with 3 additions and 2 deletions

View File

@ -11,5 +11,6 @@ public class Constants {
public static int lancer2 = 2;
public static int roue = 3;
public static int etoile = 4;
public static int Accumulationneur1 = 5;
public static int Accumulationneur2 = 6;
}

View File

@ -17,7 +17,7 @@ public class Lanceur extends SubsystemBase {
public Lanceur() {}
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){
lancer.set(vitesse);
}