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