<commit_before>/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.team2502.robot2013.commands.autonomous;

import com.team2502.robot2013.commands.CommandBase;

/**
 *
 * @author josh
 */
public class AutonomousDance extends CommandBase {
	
	private long started = 0;
	
	public AutonomousDance() {
		requires(driveTrain);
		this.started = System.currentTimeMillis();
	}
	
	// Called just before this Command runs the first time
	protected void initialize() {
		
	}

	// Called repeatedly when this Command is scheduled to run
	protected void execute() {
		if (System.currentTimeMillis() - started < 1500)
			driveTrain.dance();
		else<commit_msg>Made dance move back for 2.5 seconds before spinning<commit_after>/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.team2502.robot2013.commands.autonomous;

import com.team2502.robot2013.commands.CommandBase;

/**
 *
 * @author josh
 */
public class AutonomousDance extends CommandBase {
	
	private long started = 0;
	
	public AutonomousDance() {
		requires(driveTrain);
		this.started = System.currentTimeMillis();
	}
	
	// Called just before this Command runs the first time
	protected void initialize() {
		
	}
	
	// Called repeatedly when this Command is scheduled to run
	protected void execute() {
		if (System.currentTimeMillis() - started < 2500)
			driveTrain.driveForward(-0.8);
		else if (System.currentTimeMillis() - started < 4000)
			driveTrain.dance();
		else
{'fraction_non_alphanumeric': 0.09727626459143969, 'fraction_numerical': 0.0324254215304799, 'mean_word_length': 3.8984126984126983, 'pattern_counts': {'":': 0, '<': 6, '<?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': '6272670', 'n_tokens_mistral': 526, 'n_tokens_neox': 441, 'n_words': 143}