blob: 5bf5ced1d1894fcd3662437c20f120675a44154c [file] [log] [blame]
danielpb913fa72013-03-03 06:23:20 +00001/**
2 *
3 */
4package org.spartanrobotics;
5
6/**
7 * @author daniel
8 *
9 */
10
11/** Small thread for running vision code concurrently with debug server. */
12public class TestClient implements Runnable {
13
14 private String atomIP;
15
16 private Thread t;
17
18 /** Constructor to set up new thread. */
19 public TestClient(String atomIP) {
20 t = new Thread(this, "Test Client");
21 this.atomIP = atomIP;
22 t.start();
23 }
24
25 /** Simple thread, runs the vision code. */
26 public void run() {
27 String[] args = {atomIP};
28 VisionTuner.main(args);
29 }
30}