This commit is contained in:
samuel desharnais
2024-02-06 19:01:04 -05:00
parent add3237dc5
commit b6e9c303f3
3 changed files with 72 additions and 85 deletions

View File

@@ -37,6 +37,7 @@ import frc.robot.subsystem.Grimpeur;
import frc.robot.subsystem.Guideur;
import frc.robot.subsystem.LED;
import frc.robot.subsystem.Lanceur;
import frc.robot.subsystem.Pixy;
public class RobotContainer {
@@ -59,6 +60,7 @@ public class RobotContainer {
GrimpeurGauche grimpeurGauche = new GrimpeurGauche(grimpeur, manette::getLeftY);
LED LED = new LED();
AllumeLED allumeLED = new AllumeLED(LED);
Pixy pixy = new Pixy();
public RobotContainer() {
NamedCommands.registerCommand("balayer",new Balayer(balayeuse, accumulateur));
NamedCommands.registerCommand("lancer", new LancerNote(lanceur, accumulateur));