ewas
This commit is contained in:
parent
ff1a4919a7
commit
b79c35e0ba
@ -33,13 +33,7 @@ public class RobotContainer {
|
|||||||
Accumulateur accumulateur = new Accumulateur();
|
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");
|
ShuffleboardTab dashboard = Shuffleboard.getTab("Dashboard");
|
||||||
ShuffleboardLayout forces = Shuffleboard.getTab("Dashboard")
|
ShuffleboardLayout forces = Shuffleboard.getTab("Dashboard")
|
||||||
.getLayout("limitswitchsgratte", BuiltInLayouts.kList)
|
.getLayout("limitswitchsgratte", BuiltInLayouts.kList)
|
||||||
@ -63,6 +57,13 @@ public class RobotContainer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void configureBindings() {
|
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(7).onTrue(Force1);
|
||||||
joystick1.button(8).onTrue(Force2);
|
joystick1.button(8).onTrue(Force2);
|
||||||
joystick1.button(9).onTrue(Force3);
|
joystick1.button(9).onTrue(Force3);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user