Added in LiveWindow initialization code, and the network tables

dependecies for WPILibJ. - Fredric Silberberg

Change-Id: I776096385dc13db64c9eb2adbe0397b632057adf
This commit is contained in:
Jonathan Leitschuh
2014-05-22 15:42:56 -04:00
parent 609fbfd8f6
commit 8599830490
2 changed files with 13 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ import org.junit.BeforeClass;
import edu.wpi.first.wpilibj.DriverStation;
import edu.wpi.first.wpilibj.communication.FRCNetworkCommunicationsLibrary;
import edu.wpi.first.wpilibj.livewindow.LiveWindow;
/**
* This class serves as a superclass for all tests that involve the hardware on
@@ -41,6 +42,7 @@ public abstract class AbstractComsSetup {
FRCNetworkCommunicationsLibrary.FRCNetworkCommunicationReserve();
FRCNetworkCommunicationsLibrary
.FRCNetworkCommunicationObserveUserProgramStarting();
LiveWindow.setEnabled(false);
System.out.println("Started coms");
// Wait until the robot is enabled before starting the tests