From e63d2d50d68e6ae1d63541429c26233c1b6d7215 Mon Sep 17 00:00:00 2001 From: Kevin Harrington Date: Thu, 28 Mar 2019 15:55:45 -0400 Subject: [PATCH] Updating simple packet coms version --- build.gradle | 2 +- .../edu/wpi/rbe/rbe2001/fieldsimulator/robot/RBE2001Robot.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index c1c3322..1c48d8d 100644 --- a/build.gradle +++ b/build.gradle @@ -17,7 +17,7 @@ repositories { } dependencies { - implementation "com.neuronrobotics:SimplePacketComsJava:0.8.4" + implementation "com.neuronrobotics:SimplePacketComsJava:0.9.2" //implementation project(":SimplePacketComsJava") } diff --git a/src/main/java/edu/wpi/rbe/rbe2001/fieldsimulator/robot/RBE2001Robot.java b/src/main/java/edu/wpi/rbe/rbe2001/fieldsimulator/robot/RBE2001Robot.java index 3118a46..8d56f40 100644 --- a/src/main/java/edu/wpi/rbe/rbe2001/fieldsimulator/robot/RBE2001Robot.java +++ b/src/main/java/edu/wpi/rbe/rbe2001/fieldsimulator/robot/RBE2001Robot.java @@ -135,6 +135,7 @@ public void addIR() { } public static List get(String name,int myPID) throws Exception { HashSet addresses = UDPSimplePacketComs.getAllAddresses(name); + ArrayList robots = new ArrayList<>(); if (addresses.size() < 1) { System.out.println("No " + RBE2001Robot.class.getSimpleName() + " found named " + name);