terygvjh
This commit is contained in:
parent
919409e4ff
commit
ba7d79882a
@ -151,8 +151,8 @@ public class RobotContainer {
|
|||||||
Map.entry(aumilieux, creerCommandBras(9, -14)),
|
Map.entry(aumilieux, creerCommandBras(9, -14)),
|
||||||
Map.entry(enbas, creerCommandBras(44, -17)),
|
Map.entry(enbas, creerCommandBras(44, -17)),
|
||||||
Map.entry(nulpart, creerCommandBras(0, 0))), chooser::getSelected),
|
Map.entry(nulpart, creerCommandBras(0, 0))), chooser::getSelected),
|
||||||
creerCommandBras(49, 40).unless(() -> chooser.getSelected().equals(enhaut)),
|
creerCommandBras(49, -40).unless(() -> chooser.getSelected().equals(enhaut)),
|
||||||
creerCommandBras(51, 40).unless(() -> chooser.getSelected().equals(enhaut)),
|
creerCommandBras(51, -40).unless(() -> chooser.getSelected().equals(enhaut)),
|
||||||
new OuvrePince(pince).unless(() -> chooser.getSelected().equals(nulpart)),
|
new OuvrePince(pince).unless(() -> chooser.getSelected().equals(nulpart)),
|
||||||
Commands.waitSeconds(1),
|
Commands.waitSeconds(1),
|
||||||
new FermePince(pince).unless(() -> chooser.getSelected().equals(nulpart)),
|
new FermePince(pince).unless(() -> chooser.getSelected().equals(nulpart)),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user