![]() |
NetworkTable Troubles
Hello, my team is trying to use NetworkTables for our robot this year, and we have run into a couple of issues. Specifically, we are trying to have a SmartDashboard widget write data to NetworkTables for the robot to access (our dashboard will process images and send data to the robot-theoretically). To test this out, I wrote a simple program following the example online that seems to work fine:
Code:
import edu.wpi.first.smartdashboard.robot.Robot;We took two computers and ran Tableviewer, and both of them were able to see values that we put in via Tableviewer, but neither could see the values put in by the java program above. Any help is much appreciated! (Just for clarification, this program is just a standalone program at the moment, it has not been implemented into a SmartDashboard widget yet) Thank you. |
There is a problem with the desktop client jar. It was stuck in server mode and didn't have entry points to switch to client mode.
The mid season Java update has fixes for this. I haven't had time to verify it myself but it is in the release notes. |
Re: NetworkTable Troubles
Try setting client mode as shown in the example on this page. I tested these programs shown and they worked reliably. Try getting this working, then take it from there.
http://wpilib.screenstepslive.com/s/...client-pc-side Brad |
| All times are GMT -5. The time now is 02:09. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi