View Single Post
  #13   Spotlight this post!  
Unread 02-02-2016, 19:09
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

I appreciate the help but unfortunately it's still not working in "desktop" mode, e.g., not on RoboRIO after setting IP address, e.g., NetworkTable.setIpAddress(), setting client mode and not setting team.

Running Outline Viewer in "server" mode, IP 127.0.0.1. Running GRIP and can see contour values in Outline Viewer. Running the following code in main():

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

Output:
platform: /Mac OS X/x86_64/
NetworkTable: /GRIP/myContoursReport
false