Log in

View Full Version : Roborealm variables not sending


faraz5557
20-02-2016, 11:26
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
20-02-2016, 18:07
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
21-02-2016, 10:57
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.