Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Roborealm variables not sending (http://www.chiefdelphi.com/forums/showthread.php?t=144210)

faraz5557 02-20-2016 11:26 AM

Roborealm variables not sending
 
Here is the code we use to access the variables"


NetworkTable server = NetworkTable.getTable("SmartDashboard");

SmartDashboard.putString("COG X", (server.getString("/SmartDashboard/COG_X", "0.0")));


Here is the network setup on the RoboRealm program: http://i.imgur.com/o3YOgUv.jpg

The variable (COG_X here) doesn't update. It stays at "0.0", the smartdashboard part doesn't change. What's going on?

faraz5557 02-20-2016 06:07 PM

Re: Roborealm variables not sending
 
Bumping this post. We tried looking at other threads which suggested changing the prefix, examining the IP, variable names, different methods, etc. and nothing works. Any ideas?

An Outlier 02-21-2016 10:57 AM

Re: Roborealm variables not sending
 
MY Team is ALSO having the same problems, only with a Raspberry PI.

We can see the NetworkTables in the LabView dashboard, but according to the code on our RoboRio, our "GRIP" Table does not exist.

We also tried sending the values to a Sub-Table, and just writing the variables in the SmartDashboard table.

No matter where we put them, the LabView dashboard COULD see them, and our RoboRio code COULD NOT.

Any help would be fantastic, our team is completely stumped.


All times are GMT -5. The time now is 08:58 AM.

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