Fix merge conflicts
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / scaler / ToggleScaling.java
... / ...
CommitLineData
1package org.usfirst.frc.team3501.robot.commands.scaler;
2
3import org.usfirst.frc.team3501.robot.Constants;
4import org.usfirst.frc.team3501.robot.commands.auton.CompactRobot;
5
6import edu.wpi.first.wpilibj.command.CommandGroup;
7
8public class ToggleScaling extends CommandGroup {
9 public ToggleScaling() {
10 Constants.Scaler.SCALING = !Constants.Scaler.SCALING;
11 if (Constants.Scaler.SCALING)
12 addSequential(new CompactRobot());
13 }
14}