<commit_before>package org.usfirst.frc.team1002.robot.commands;

import org.usfirst.frc.team1002.robot.Robot;
import org.usfirst.frc.team1002.robot.subsystems.Drive;
import org.usfirst.frc.team1002.robot.subsystems.Forklift;

import edu.wpi.first.wpilibj.Timer;
import edu.wpi.first.wpilibj.command.Command;

/**
 *
 */
public class Auto extends Command {

    public Auto() {
	requires(Robot.drive);
	requires(Robot.forklift);
    }

    // Called just before this Command runs the first time
    @Override
    protected void initialize() {
    }

    // Called repeatedly when this Command is scheduled to run
    @Override
    protected void execute() {
	double time;
	time = Timer.getFPGATimestamp();
	while (Timer.getFPGATimestamp() - time < 1) {
	    Drive.move(0, -0.25, 0);
	}
	Drive.move(0, 0, 0);
	time = Timer.getFPGATimestamp();
	while (Timer.getFPGATimestamp() - time < 0.25) {
	    Forklift.fork(1);
	}
	Forklift.fork(0);
	time = Timer.getFPGATimestamp();
	while (Timer.getFPGATimestamp() - time < 0.5) {
	    Forklift.lift(1);
	}
	Forklift.lift(0);
	time = Timer.getFPGATimestamp();
	while (Timer.getFPGATimestamp() - time < 2) {
	    Drive.move(0, 0.5, 0);
	}
	time = Timer.getFPGATimestamp();
	while (Timer.getFPGATimestamp() - time < 0.1) {
	    Drive.move(0, 0, 0);
	}
	time = Timer.getFPGATimestamp();
	while (Timer.getFPGATimestamp() - time < 1) {
	    Drive.move(0, 0, 0.5);
	}
	time = Timer.getFPGATimestamp();
	while (Timer.getFPGATimestamp() - time < 0.25) {
	    Forklift.lift(-1);
	}
	Forklift.liftMotor.set(0);
	time = Timer.getFPGATimestamp();
	while (Timer.getFPGATimestamp() - time < 0.25) {
	    Forklift.fork(-1);
	}
	Forklift.fork(0);
	time = Timer.getFPGATimestamp();
	while (Timer.getFPGATimestamp() - time < 1) {
	    Drive.move(0, 0.25, 0);
	}<commit_msg>Fixed auto<commit_after>package org.usfirst.frc.team1002.robot.commands;

import org.usfirst.frc.team1002.robot.Robot;
import org.usfirst.frc.team1002.robot.subsystems.Drive;
import org.usfirst.frc.team1002.robot.subsystems.Forklift;

import edu.wpi.first.wpilibj.Timer;
import edu.wpi.first.wpilibj.command.Command;

/**
 *
 */
public class Auto extends Command {

    public Auto() {
	requires(Robot.drive);
	requires(Robot.forklift);
    }

    // Called just before this Command runs the first time
    @Override
    protected void initialize() {
    }

    // Called repeatedly when this Command is scheduled to run
    @Override
    protected void execute() {
	double time;
	time = Timer.getFPGATimestamp();
	while (Timer.getFPGATimestamp() - time < 1) {
	    Drive.move(0, -0.25, 0);
	}
	Drive.move(0, 0, 0);
	time = Timer.getFPGATimestamp();
	while (Timer.getFPGATimestamp() - time < 0.25) {
	    Forklift.forkMotor.set(1);
	}
	Forklift.forkMotor.set(0);
	time = Timer.getFPGATimestamp();
	while (Timer.getFPGATimestamp() - time < 0.5) {
	    Forklift.liftMotor.set(1);
	}
	Forklift.liftMotor.set(0);
	time = Timer.getFPGATimestamp();
	while (Timer.getFPGATimestamp() - time < 2) {
	    Drive.move(0, 0.5, 0);
	}
	time = Timer.getFPGATimestamp();
	while (Timer.getFPGATimestamp() - time < 0.1) {
	    Drive.move(0, 0, 0);
	}
	time = Timer.getFPGATimestamp();
	while (Timer.getFPGATimestamp() - time < 1) {
	    Drive.move(0, 0, 0.5);
	}
	time = Timer.getFPGATimestamp();
	while (Timer.getFPGATimestamp() - time < 0.25) {
	    Forklift.liftMotor.set(-1);
	}
	Forklift.liftMotor.set(0);
	time = Timer.getFPGATimestamp();
	while (Timer.getFPGATimestamp() - time < 0.25) {
	    Forklift.forkMotor.set(-1);
	}
	Forklift.forkMotor.set(0);
	time = Timer.getFPGATimestamp();
	while (Timer.getFPGATimestamp() - time < 1) {
	    Drive.move(0, 0.25, 0);
	}
{'fraction_non_alphanumeric': 0.1555128908392759, 'fraction_numerical': 0.03565551289083928, 'mean_word_length': 3.49691738594328, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2555573', 'n_tokens_mistral': 1629, 'n_tokens_neox': 1412, 'n_words': 259}