View Single Post
  #1   Spotlight this post!  
Unread 02-19-2018, 08:55 PM
jfitz0807 jfitz0807 is offline
Registered User
FRC #2877 (Ligerbots)
Team Role: Parent
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Newton, MA
Posts: 77
jfitz0807 is an unknown quantity at this point
Network Tables not propagating from RoboRio

We are doing our vision processing with Python cscore on an odroid processor (small linux box). Our robot code is java. We are using NetworkTables to send data between the two.

We are monitoring the network tables via OutlineViewer.

In the robot java code, we're using SmartDashboard.putString('/vision/active_mode') to change the settings in the camera server. In the vision code on the odroid we're using the ntproperty ('/SmartDashboard/vision/active_mode').

When the robot code changes the property value, we see it in OutlineViewer, but the odroid python visionserver does not see the update. However, if we change the property in OutlineViewer, then the visionserver python code does see the change.

We even tried putting in a check in teleopPeriodic() to change the property every two seconds. The OutlineViewer updates, the code writes out the property to the riolog, but the visionserver still doesn't see the update.

Any suggestions are appreciated.
Reply With Quote