View Single Post
  #1   Spotlight this post!  
Unread 13-01-2017, 22:31
lobrien lobrien is offline
Registered User
FRC #3880
Team Role: Mentor
 
Join Date: Jan 2016
Rookie Year: 2016
Location: Kailua Kona, Hawaii
Posts: 7
lobrien is an unknown quantity at this point
RoboRio w. LabView + daughterboard: configuring NetworkTables?

How do you configure LabVIEW on the robot to communicate via NetworkTables with a daughterboard also on the robot?

The main drive team is using LabVIEW to program our robot. We are working on Computer Vision using python on a daughterboard (Jetson, hopefully). Our challenge is that to control the servos on the targeting subsystem, our understanding is that we cannot do that with GPIO/I2C from the Jetson but need to go back through the main PD board, which is controlled by the RoboRio.

OK, so the hope is to use NetworkTables for communication. We have pynetworktables up and running and we can communicate between a Python client and a Python server. I know _ZERO_ about LabVIEW.

Which is the NetworkTables server? The RoboRIO or the daughterboard?

One way or the other, how do we configure LabVIEW to use NetworkTables? If it's the server, how do we access tables and key-values being manipulated by the daughterboard? If it's the client, we additionally need to know how to set the IP address of the server running on the daughterboard.

Thanks in advance!
Reply With Quote