Go to Post Searching is your friend - try it. - Katie Reynolds [more]
Home
Go Back   Chief Delphi > Technical > Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 26-01-2016, 15:49
moomoomoo309 moomoomoo309 is offline
Registered User
FRC #0224
 
Join Date: Jan 2016
Location: Piscataway
Posts: 9
moomoomoo309 is an unknown quantity at this point
Data from GRIP not available in Java Code

I've been using a roboRIO and trying to get a Contour Report from GRIP into my code. GRIP works well enough; data comes from it and into the Network Table viewer (I can see all of the data in the Network Table Viewer!). Once I attempt to get the data from the NetworkTable into my code, it does not work.

What I've tried (in teleopPeriodic) given table=NetworkTable.getTable("GRIP/myCountoursReport")):
  • Printing out table.getKeys() (which is empty)
  • Checking if a given index (I.E area) exists (table.containsKey("area") was false)
  • Publishing a different number into the GRIP table and trying to get that (put the framerate into the table, NetworkTable.getTable("GRIP").getNumber("myNumber" ,Double.NaN) returns NaN)

Do you have any advice for how I can fix this problem, or any other diagnostic steps you may need?
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 07:25.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi