This commit is contained in:
Olivier Dubois 2024-02-17 14:33:52 -05:00
parent 95b0819e56
commit 852aef392e
2 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ public class RobotContainer {
manette.b().whileTrue(new GuiderHaut(guideur));
manette.x().whileTrue(new PistonFerme(grimpeur));
manette.y().whileTrue(new PistonOuvre(grimpeur));
joystick.button(3).whileTrue(balayer);
joystick.button(3).whileTrue(new Balayer(balayeuse, accumulateur));
joystick.button(1).whileTrue(new LancerNote(lanceur, accumulateur));
joystick.button(5).whileTrue(new LancerAmp(lanceur, accumulateur));
joystick.button(4).whileTrue(new ParallelCommandGroup(new Lancer(lanceur,limelight),new Limelight_tracker(limelight,drive)));

View File

@ -28,7 +28,7 @@ public class Accumulateur extends SubsystemBase {
public boolean limitswitch(){
return photocellacc.get();
return !photocellacc.get();
}
public Accumulateur() {