<commit_before>/** Created by OneNationUnderCanadia
 *  On Jan 21, 2015 at 8:52:37 AM
 *  To test the robot
 */
package main;

import lejos.nxt.Button;

public class TestA {

	public static void main(String[] args) throws InterruptedException {
		
		Drive driveBase = new Drive();
		
		driveBase.set((float)1.0, (float)0.0);
		Thread.sleep(2000);
		System.out.println("Step 1");
		
		driveBase.set(0,0);
		Thread.sleep(2000);
		System.out.println("Wait");		
		
		driveBase.set((float)-0.5, (float)0.25);
		Thread.sleep(2000);
		System.out.println("Step 2");
		
		driveBase.set(0,0);
		Button.waitForAnyPress();
	}

}<commit_msg>Edits to TestA<commit_after>/** Created by OneNationUnderCanadia
 *  On Jan 21, 2015 at 8:52:37 AM
 *  To test the robot
 */
package main;

import lejos.nxt.Button;
import lejos.nxt.SensorPort;
import lejos.nxt.TouchSensor;

public class TestA {

	public static void main(String[] args) throws InterruptedException {
		
		Drive driveBase = new Drive();
		TouchSensor sensor1;
		sensor1 = new TouchSensor(SensorPort.S4);
		
		driveBase.set((float)1.0, (float)0.0);
		Thread.sleep(2000);
		System.out.println("Step 1");
		
		while (!sensor1.isPressed()) {
			sensor1.wait();
		}
		
		driveBase.set((float)-1.0, (float)0.25);
		Thread.sleep(2000);
		System.out.println("Step 2");
		
		driveBase.set(0,0);
		Button.waitForAnyPress();
	}

}
{'fraction_non_alphanumeric': 0.15113719735876743, 'fraction_numerical': 0.055025678650036686, 'mean_word_length': 3.8540925266903914, 'pattern_counts': {'":': 0, '<': 3, '<?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': '4858043', 'n_tokens_mistral': 588, 'n_tokens_neox': 490, 'n_words': 107}