mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
Fixed bug with plugins not including all simulation dependencies.
Change-Id: I34c84c6cd4d918039726aa2efb81efbcf98dd593
This commit is contained in:
@@ -153,10 +153,6 @@ public abstract class RobotBase {
|
||||
*/
|
||||
public static void main(String args[]) { // TODO: expose main to teams?
|
||||
boolean errorOnExit = false;
|
||||
|
||||
// Set some implementations so that the static methods work properly
|
||||
Timer.SetImplementation(new SimTimer());
|
||||
RobotState.SetImplementation(DriverStation.getInstance());
|
||||
|
||||
try {
|
||||
MainNode.openGazeboConnection();
|
||||
@@ -166,6 +162,10 @@ public abstract class RobotBase {
|
||||
System.exit(1);
|
||||
return;
|
||||
}
|
||||
|
||||
// Set some implementations so that the static methods work properly
|
||||
Timer.SetImplementation(new SimTimer());
|
||||
RobotState.SetImplementation(DriverStation.getInstance());
|
||||
|
||||
String robotName = "";
|
||||
Enumeration<URL> resources = null;
|
||||
|
||||
Reference in New Issue
Block a user