mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-05 03:21:42 +00:00
Merge "Fixed bug with plugins not including all simulation dependencies."
This commit is contained in:
@@ -132,6 +132,12 @@
|
||||
<artifactId>JavaGazebo</artifactId>
|
||||
<version>0.1.0-SNAPSHOT</version>
|
||||
</artifactItem>
|
||||
<artifactItem>
|
||||
<groupId>edu.wpi.first.wpilibj</groupId>
|
||||
<artifactId>wpilibJava</artifactId>
|
||||
<version>0.1.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
</artifactItem>
|
||||
<artifactItem>
|
||||
<groupId>edu.wpi.first.wpilibj</groupId>
|
||||
<artifactId>wpilibJavaSim</artifactId>
|
||||
|
||||
@@ -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