-Changed application to display image source at the top of the window.
-Removed the extra windows to show intermediate stages when not in debug mode.
Interestingly, this improved performance significantly.
-Modified slider listener so that it (hopefully) doesn't cause any more segfaults.
-Hid all the calibration controls away in a separate calibration window.
They are accessed by a button on the main display.
I also added labels to each of the sliders.
-Application now takes the IP address of the atom as a command-line argument.
-Code now actually uses result sender, which I had forgot to do last time.
-I made a small modification to Brian's code which reduced the application's
average consumption of RAM from two gigabytes to eight hundred megabytes.
git-svn-id: https://robotics.mvla.net/svn/frc971/2013/trunk/src@4151 f308d9b7-e957-4cde-b6ac-9a88185e7312
diff --git a/971CV/src/org/frc971/TestClient.java b/971CV/src/org/frc971/TestClient.java
index 926a817..227c929 100644
--- a/971CV/src/org/frc971/TestClient.java
+++ b/971CV/src/org/frc971/TestClient.java
@@ -11,15 +11,18 @@
/** Small thread for running vision code concurrently with debug server. */
public class TestClient extends Thread {
+ private String atomIP;
+
/** Constructor to set up new thread. */
- public TestClient() {
+ public TestClient(String atomIP) {
super("Test Client");
+ this.atomIP = atomIP;
start();
}
/** Simple thread, runs the vision code. */
public void run() {
- String[] args = {};
+ String[] args = {atomIP};
VisionTuner.main(args);
}
}