Files
2018-Robot/src/org/usfirst/frc4388/robot/commands/auton/CrossTheBaseLine.java
T
Keenan D. Buckley 817379d36a auto changes
2018-03-09 18:15:50 -07:00

28 lines
718 B
Java

package org.usfirst.frc4388.robot.commands.auton;
import org.usfirst.frc4388.robot.commands.DriveGyroReset;
import org.usfirst.frc4388.robot.commands.DriveSpeedShift;
import org.usfirst.frc4388.robot.commands.DriveStraightBasic;
import org.usfirst.frc4388.robot.commands.IntakePosition;
import edu.wpi.first.wpilibj.command.CommandGroup;
/**
*
*/
public class CrossTheBaseLine extends CommandGroup {
public CrossTheBaseLine() {
addSequential(new DriveGyroReset());
addSequential(new DriveSpeedShift(true));
addSequential(new IntakePosition(true));
addSequential(new DriveStraightBasic(-90, 50, true, true, 0));
addSequential(new DriveSpeedShift(false));
}
}