d
This commit is contained in:
		| @@ -82,7 +82,7 @@ public class RobotContainer { | |||||||
|     manette.b().whileTrue(new GuiderHaut(guideur)); |     manette.b().whileTrue(new GuiderHaut(guideur)); | ||||||
|     manette.x().whileTrue(new PistonFerme(grimpeur)); |     manette.x().whileTrue(new PistonFerme(grimpeur)); | ||||||
|     manette.y().whileTrue(new PistonOuvre(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(1).whileTrue(new LancerNote(lanceur, accumulateur)); | ||||||
|     joystick.button(5).whileTrue(new LancerAmp(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))); |     joystick.button(4).whileTrue(new ParallelCommandGroup(new Lancer(lanceur,limelight),new Limelight_tracker(limelight,drive))); | ||||||
|   | |||||||
| @@ -28,7 +28,7 @@ public class Accumulateur extends SubsystemBase { | |||||||
|      |      | ||||||
|    |    | ||||||
|   public boolean limitswitch(){ |   public boolean limitswitch(){ | ||||||
|     return photocellacc.get(); |     return !photocellacc.get(); | ||||||
|   } |   } | ||||||
|   public Accumulateur() { |   public Accumulateur() { | ||||||
|      |      | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user