package org.usfirst.frc.team3501.robot.autons;
import org.usfirst.frc.team3501.robot.Robot;
-import org.usfirst.frc.team3501.robot.RobotMap;
import org.usfirst.frc.team3501.robot.commands.*;
-import edu.wpi.first.wpilibj.command.CommandGroup;
-
public class PickUpContainer extends CommandGroup {
public PickUpContainer() {
private void queueCommands() {
addSequential(new CloseClaw());
- addSequential(new MoveArmFor(RobotMap.PICKUP_TIME, RobotMap.PICKUP_SPEED));
+ addSequential(new MoveArmFor(
+ Robot.autonData.getTime("pickup_container"),
+ Robot.autonData.getSpeed("pickup_container")));
}
}