Merge "HALInitialize should be the first thing called"

This commit is contained in:
Jonathan Leitschuh (WPI)
2014-07-30 08:50:09 -07:00
committed by Gerrit Code Review

View File

@@ -161,15 +161,15 @@ public abstract class RobotBase {
*/
public static void main(String args[]) {
boolean errorOnExit = false;
FRCNetworkCommunicationsLibrary.FRCNetworkCommunicationReserve();
FRCNetworkCommunicationsLibrary.FRCNetworkCommunicationObserveUserProgramStarting();
// Set some implementations so that the static methods work properly
Timer.SetImplementation(new HardwareTimer());
HLUsageReporting.SetImplementation(new HardwareHLUsageReporting());
RobotState.SetImplementation(DriverStation.getInstance());
FRCNetworkCommunicationsLibrary.FRCNetworkCommunicationReserve();
FRCNetworkCommunicationsLibrary.FRCNetworkCommunicationObserveUserProgramStarting();
UsageReporting.report(tResourceType.kResourceType_Language, tInstances.kLanguage_Java);
String robotName = "";