import org.usfirst.frc.team3501.robot.commands.driving.BrakeCANTalons;
import org.usfirst.frc.team3501.robot.commands.driving.CoastCANTalons;
+
import org.usfirst.frc.team3501.robot.commands.driving.ToggleGear;
import org.usfirst.frc.team3501.robot.commands.intake.ReverseIntakeContinuous;
import org.usfirst.frc.team3501.robot.commands.intake.RunIntakeContinuous;
togglePiston = new JoystickButton(rightJoystick,
Constants.Shooter.TOGGLE_INDEXER);
- togglePiston.whenPressed(new ToggleIndexerPiston());
+ togglePiston.toggleWhenPressed(new ToggleIndexerPiston());
toggleDriveTrainPiston = new JoystickButton(rightJoystick,
Constants.DriveTrain.TOGGLE_DRIVE_PISTON);
*
* @Override public void keyTyped(KeyEvent e) { }
*/
-
}