Files
2018-Robot/src/org/usfirst/frc4388/robot/commands/auton/CrossTheBaseLine.java
T

28 lines
718 B
Java
Raw Normal View History

2018-03-05 18:57:23 -07:00
package org.usfirst.frc4388.robot.commands.auton;
2018-03-09 00:01:29 -06:00
2018-03-05 18:57:23 -07:00
import org.usfirst.frc4388.robot.commands.DriveGyroReset;
import org.usfirst.frc4388.robot.commands.DriveSpeedShift;
import org.usfirst.frc4388.robot.commands.DriveStraightBasic;
2018-03-09 00:01:29 -06:00
2018-03-05 18:57:23 -07:00
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));
2018-03-09 18:15:50 -07:00
addSequential(new DriveStraightBasic(-90, 50, true, true, 0));
2018-03-09 00:01:29 -06:00
addSequential(new DriveSpeedShift(false));
2018-03-05 18:57:23 -07:00
}
}