mirror of
https://github.com/Team4388/2018-Robot.git
synced 2026-06-09 00:38:04 -06:00
28 lines
718 B
Java
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));
|
|
|
|
|
|
}
|
|
}
|