View Single Post
  #9   Spotlight this post!  
Unread 02-02-2016, 16:58
dszlucha dszlucha is offline
Registered User
FRC #1518 (Raider Robotics)
Team Role: Mentor
 
Join Date: Oct 2015
Rookie Year: 2016
Location: Rochester, NY
Posts: 12
dszlucha is an unknown quantity at this point
Re: Network Table Viewer / GRIP issue

Thanks Thomas and Peter for the replies.

I grabbed the latest networkltables jar: NetworkTables-3.0.0-20160115.192917-3-desktop.jar, started up the outline viewer choosing localhost and server, fired up GRIP and could see the Contours report being published via the outline viewer:
/Root/GRIP/myContoursReport/area etc...

But then had the same result in my java code with the addition of an additional error:

Code is in main():

NetworkTable table = NetworkTable.getTable("GRIP/myContoursReport");
System.out.println(table);
System.out.println(table.containsKey("area"));

Output is:

platform: /Mac OS X/x86_64/
NetworkTable: /GRIP/myContoursReport
false
NT: ERROR: bind() failed: Address already in use (workspac:102)

If I put back the old networktables jar the error goes away but I still can't read data from the network table.

David