s
This commit is contained in:
parent
7a13a0f703
commit
8ba1721503
@ -99,16 +99,6 @@ Tape tape = new Tape(limelight, basePilotable, null);
|
|||||||
PivotManuel pivotManuel = new PivotManuel(pivot,manette2::getLeftX);
|
PivotManuel pivotManuel = new PivotManuel(pivot,manette2::getLeftX);
|
||||||
BrasManuel brasManuel = new BrasManuel(brasTelescopique,manette2::getLeftY);
|
BrasManuel brasManuel = new BrasManuel(brasTelescopique,manette2::getLeftY);
|
||||||
|
|
||||||
|
|
||||||
SendableChooser<String> chooser = new SendableChooser<>();
|
|
||||||
String enhaut = "en bas";
|
|
||||||
String aumilieux = "au milieux";
|
|
||||||
String enbas = "en bas";
|
|
||||||
String nulpart = "nul part";
|
|
||||||
ShuffleboardLayout layoutauto = Shuffleboard.getTab("teb").getLayout("auto",BuiltInLayouts.kList)
|
|
||||||
.withSize(2,2).withProperties(Map.of("Label position","LEFT"));
|
|
||||||
GenericEntry autobalance = layoutauto.add("choix balance",true).withWidget(BuiltInWidgets.kToggleSwitch).getEntry();
|
|
||||||
GenericEntry autosortir = layoutauto.add("choix sorit",false).withWidget(BuiltInWidgets.kToggleSwitch).getEntry();
|
|
||||||
public RobotContainer() {
|
public RobotContainer() {
|
||||||
chooser.addOption(enhaut, enhaut);
|
chooser.addOption(enhaut, enhaut);
|
||||||
chooser.addOption(enbas, enbas);
|
chooser.addOption(enbas, enbas);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user