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