From ce99144cd29f7b746ee4e1e1f729cbde59e5261d Mon Sep 17 00:00:00 2001 From: samuel desharnais Date: Thu, 8 Feb 2024 18:21:44 -0500 Subject: [PATCH] --- src/main/java/frc/robot/RobotContainer.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/frc/robot/RobotContainer.java b/src/main/java/frc/robot/RobotContainer.java index 239c7f8..59d1c68 100644 --- a/src/main/java/frc/robot/RobotContainer.java +++ b/src/main/java/frc/robot/RobotContainer.java @@ -31,6 +31,7 @@ import frc.robot.command.Lancer; import frc.robot.command.LancerNote; import frc.robot.command.Lancerampli; import frc.robot.command.Limelight_tracker; +import frc.robot.command.PistonFerme; import frc.robot.command.Pistongrimpeur; // Subsystems import frc.robot.subsystem.Accumulateur; @@ -58,6 +59,7 @@ public class RobotContainer { CommandJoystick joystick = new CommandJoystick(0); CommandXboxController manette = new CommandXboxController(1); //command + PistonFerme pistonFerme = new PistonFerme(grimpeur); Limelight_tracker limelight_tracker = new Limelight_tracker(limelight,drive); Balayer balayer = new Balayer(balayeuse, accumulateur); GuiderHaut guiderHaut = new GuiderHaut(guideur); @@ -72,6 +74,7 @@ public class RobotContainer { public RobotContainer() { NamedCommands.registerCommand("balayer",new Balayer(balayeuse, accumulateur)); NamedCommands.registerCommand("lancer", new LancerNote(lanceur, accumulateur)); + NamedCommands.registerCommand("piston", new PistonFerme(grimpeur)); autoChooser = AutoBuilder.buildAutoChooser(); CameraServer.startAutomaticCapture();