Closed TitaniumKnightsFRC closed 8 years ago
for (double area : grip.getNumberArray("targets/area", new double[0])) { System.out.println("Got contour with area=" + area); }
"The method getNumberArray(String, double[]) is undefined for the type NetworkTable."
Can you please post more code? That example should work.
Is this an old version of NetworkTables? GRIP uses the v3 protocol, which is new in 2016.
for (double area : grip.getNumberArray("targets/area", new double[0])) { System.out.println("Got contour with area=" + area); }
"The method getNumberArray(String, double[]) is undefined for the type NetworkTable."