This commit is contained in:
parent
805ba5e7aa
commit
a41957b6b2
@ -31,6 +31,7 @@ import frc.robot.command.LancerTrape;
|
||||
import frc.robot.command.Lancerampli;
|
||||
import frc.robot.command.Limelight_tracker;
|
||||
import frc.robot.command.RestGyro;
|
||||
import frc.robot.command.Debalayer;
|
||||
// Subsystems
|
||||
import frc.robot.subsystem.Accumulateur;
|
||||
import frc.robot.subsystem.Balayeuse;
|
||||
@ -65,6 +66,8 @@ public class RobotContainer {
|
||||
Lancerampli lancerampli = new Lancerampli(lanceur,limelight);
|
||||
GrimpeurDroit grimpeurDroit = new GrimpeurDroit(grimpeur, manette::getLeftY);
|
||||
GrimpeurGauche grimpeurGauche = new GrimpeurGauche(grimpeur, manette::getRightY);
|
||||
Debalayer debalayer = new Debalayer(balayeuse, accumulateur);
|
||||
|
||||
public RobotContainer() {
|
||||
|
||||
dashboard.addCamera("limelight", "limelight","limelight.local:5800")
|
||||
@ -94,6 +97,7 @@ public class RobotContainer {
|
||||
joystick.button(2).whileTrue(new ParallelCommandGroup(new Lancerampli(lanceur,limelight),new Limelight_tracker(limelight,drive)));
|
||||
joystick.button(6).whileTrue(new LancerTrape(lanceur, accumulateur));
|
||||
joystick.button(7).whileTrue(new Limelight_tracker(limelight, drive));
|
||||
joystick.button(8).whileTrue(new Debalayer(balayeuse, accumulateur));
|
||||
|
||||
// deplacement
|
||||
configureBindings();
|
||||
|
Loading…
x
Reference in New Issue
Block a user