loading
 
NetworkTables unstable
Doug Wegscheid from United States  [1 posts]
8 year
We're working on getting up to speed on RoboRealm in the offseason. It's really good, but we're having a little problem with the NetworkTables.

We are using Java, and have RoboRealm 2.80.21. We are sending 3 variables from our pipeline, as well as RUN_TIME (so that we can see visually when the communications is broken). We have taken care to make sure all the variables are sent as Strings.

Depending on the order that everything comes up (RoboRio, RoboRealm, OutlineViewer), we lose comm between RoboRealm and the network tables server on the roboRio. We can see the updates cease in OutlineViewer, and RoboRealm starts throwing errors:

Initial Sync completed.
Initial Sync completed.
Initial Sync completed.
Initial Sync completed.
Write Failure (2)! Disconnected from server!
Write Failure (2)! Disconnected from server!
Write Failure (2)! Disconnected from server!

Has anyone else seen this problem?
Steven Gentner from United States  [1446 posts] 8 year
Doug,

Were you ever able to figure this one out? Its possible that the OutlineViewer also connects via network tables and stops the communication between RoboRio and RoboRealm. We've not heard of anyone else having this specific type of issue but it certainly seems to be a network related configuration change.

The error you are getting (Write Failure) is indicative of a network connection being terminated since the error is happening on a write. Normally you get a timeout on a read when connection is just lost.

What does it take to restart the communication? Do you restart the RoboRio or RoboRealm?

STeven
Anonymous 8 year
I don't remember what we had to do to get things going again; we gave up on the network tables and just had RoboRealm format the data as JSON and blast it to the RoboRIO via UDP.

Nice and solid....

This forum thread has been closed due to inactivity (more than 4 months) or number of replies (more than 50 messages). Please start a New Post and enter a new forum thread with the appropriate title.

 New Post   Forum Index