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?
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?