add command to close hood on Compactrobot, and implement compactRobot when scaling
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / scaler / ToggleScaling.java
CommitLineData
52ef246c
KZ
1package org.usfirst.frc.team3501.robot.commands.scaler;
2
3import org.usfirst.frc.team3501.robot.Constants;
2f79a795 4import org.usfirst.frc.team3501.robot.commands.auton.CompactRobot;
52ef246c 5
2f79a795 6import edu.wpi.first.wpilibj.command.CommandGroup;
52ef246c 7
2f79a795 8public 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}