From b79c35e0ba62bbfcbf85577bdabb6628f47e686a Mon Sep 17 00:00:00 2001 From: samuel desharnais Date: Tue, 28 Nov 2023 18:44:48 -0500 Subject: [PATCH] ewas --- src/main/java/frc/robot/RobotContainer.java | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/main/java/frc/robot/RobotContainer.java b/src/main/java/frc/robot/RobotContainer.java index af35985..7b6231f 100644 --- a/src/main/java/frc/robot/RobotContainer.java +++ b/src/main/java/frc/robot/RobotContainer.java @@ -33,13 +33,7 @@ public class RobotContainer { Accumulateur accumulateur = new Accumulateur(); - Force1 Force1 = new Force1(lanceur, accumulateur, null); - Force2 Force2 = new Force2(lanceur, accumulateur, null); - Force3 Force3 = new Force3(lanceur, null, accumulateur); - Force4 Force4 = new Force4(lanceur, null, accumulateur); - Force5 Force5 = new Force5(lanceur, null, accumulateur); - Force6 Force6 = new Force6(lanceur, null, accumulateur); - Force7 Force7 = new Force7(lanceur, null, accumulateur); + ShuffleboardTab dashboard = Shuffleboard.getTab("Dashboard"); ShuffleboardLayout forces = Shuffleboard.getTab("Dashboard") .getLayout("limitswitchsgratte", BuiltInLayouts.kList) @@ -63,6 +57,13 @@ public class RobotContainer { } private void configureBindings() { + Force1 Force1 = new Force1(lanceur, accumulateur, null); + Force2 Force2 = new Force2(lanceur, accumulateur, null); + Force3 Force3 = new Force3(lanceur, null, accumulateur); + Force4 Force4 = new Force4(lanceur, null, accumulateur); + Force5 Force5 = new Force5(lanceur, null, accumulateur); + Force6 Force6 = new Force6(lanceur, null, accumulateur); + Force7 Force7 = new Force7(lanceur, null, accumulateur); joystick1.button(7).onTrue(Force1); joystick1.button(8).onTrue(Force2); joystick1.button(9).onTrue(Force3);