View Single Post
  #11   Spotlight this post!  
Unread 02-02-2016, 18:28
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

Hi Fred.

I've added NetworkTable.setClientMode() as well as NetworkTable.setTeam(1518) to my code and verified that GRIP is set to team 1518 as well. I've also switched back to a Windows box which also has the "desktop" build of networktables.jar but I'm still not reading from the table:

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

Output:
platform: /Windows/amd64/
NetworkTable: /GRIP/myContoursReport
false