Fixed up code, made it prettier, it now follows the stylguide better and is more readable.
git-svn-id: https://robotics.mvla.net/svn/frc971/2013/trunk/src@4182 f308d9b7-e957-4cde-b6ac-9a88185e7312
diff --git a/971cv/src/org/spartanrobotics/TestClient.java b/971cv/src/org/spartanrobotics/TestClient.java
new file mode 100644
index 0000000..5bf5ced
--- /dev/null
+++ b/971cv/src/org/spartanrobotics/TestClient.java
@@ -0,0 +1,30 @@
+/**
+ *
+ */
+package org.spartanrobotics;
+
+/**
+ * @author daniel
+ *
+ */
+
+/** Small thread for running vision code concurrently with debug server. */
+public class TestClient implements Runnable {
+
+ private String atomIP;
+
+ private Thread t;
+
+ /** Constructor to set up new thread. */
+ public TestClient(String atomIP) {
+ t = new Thread(this, "Test Client");
+ this.atomIP = atomIP;
+ t.start();
+ }
+
+ /** Simple thread, runs the vision code. */
+ public void run() {
+ String[] args = {atomIP};
+ VisionTuner.main(args);
+ }
+}