package org.usfirst.frc.team3501.robot;
import org.usfirst.frc.team3501.robot.Constants.Defense;
-import org.usfirst.frc.team3501.robot.subsystems.DriveTrain;
+import org.usfirst.frc.team3501.robot.Constants.DriveTrain;
+import org.usfirst.frc.team3501.robot.subsystems.Scaler;
import org.usfirst.frc.team3501.robot.subsystems.Shooter;
import edu.wpi.first.wpilibj.IterativeRobot;
public static OI oi;
public static DriveTrain driveTrain;
public static Shooter shooter;
+ public static Scaler scaler;
// Sendable Choosers send a drop down menu to the Smart Dashboard.
SendableChooser positionChooser;
driveTrain = new DriveTrain();
oi = new OI();
shooter = new Shooter();
+ scaler = new Scaler();
// Sendable Choosers allows the driver to select the position of the robot
// and the positions of the defenses from a drop-down menu on the Smart
package org.usfirst.frc.team3501.robot.commands;
+import org.usfirst.frc.team3501.robot.Robot;
+
import edu.wpi.first.wpilibj.command.Command;
public class RetractLift extends Command {
@Override
protected void initialize() {
+ Robot.scaler.lowerScissorLift();
}
@Override
@Override
protected boolean isFinished() {
- return false;
+ return true;
}
@Override