|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
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? |
|
#2
|
||||
|
||||
|
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?
|
|
#3
|
|||
|
|||
|
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. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|