// Called repeatedly when this Command is scheduled to run
 protected void execute() {
   if (!button.get()) command.start();
 }
Esempio n. 2
0
 public boolean getButtonL3() {
   return buttonL3.get();
 }
Esempio n. 3
0
 public boolean getButtonL2() {
   return buttonL2.get();
 }
Esempio n. 4
0
 public boolean getShootButton() {
   return shootButton.get();
 }
Esempio n. 5
0
 public boolean getMecanumButton() {
   return mecanumButton.get();
 }
Esempio n. 6
0
 public boolean getTracktionButton() {
   return tractionButton.get();
 }