Commit | Line | Data |
---|---|---|
52ef246c KZ |
1 | package org.usfirst.frc.team3501.robot.commands.scaler; |
2 | ||
3 | import org.usfirst.frc.team3501.robot.Constants; | |
2f79a795 | 4 | import org.usfirst.frc.team3501.robot.commands.auton.CompactRobot; |
52ef246c | 5 | |
2f79a795 | 6 | import edu.wpi.first.wpilibj.command.CommandGroup; |
52ef246c | 7 | |
2f79a795 | 8 | public class ToggleScaling extends CommandGroup { |
52ef246c | 9 | public ToggleScaling() { |
52ef246c | 10 | Constants.Scaler.SCALING = !Constants.Scaler.SCALING; |
2f79a795 CZ |
11 | if (Constants.Scaler.SCALING) |
12 | addSequential(new CompactRobot()); | |
52ef246c KZ |
13 | } |
14 | } |