Merge branch 'main' of https://git.demerso.net/pls5618/2024/robot
This commit is contained in:
@@ -33,6 +33,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;
|
||||
@@ -61,6 +62,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);
|
||||
@@ -76,6 +78,7 @@ public class RobotContainer {
|
||||
dashboard.addCamera("limelight", "limelight","limelight.local:5800");
|
||||
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();
|
||||
|
Reference in New Issue
Block a user