|
Re: Network Tables: Please explain like I'm 5
Quote:
Originally Posted by kmckay
I wasn't specifically using your code there. I went cross-eyed at "Gradle". I will figure that out eventually but not sure that will be during build season. I know there was an online Gradle training recently but build season.
But I did read your code, and try to mimic the NT lines. I had posted a question to the GRIP gutter chat and was told the set server and set team number were unnecessary in the latest versions of nt. Not true?
I'm beating my head against a wall here. I know this is going to be the simplest, stupidest answer, and I'm 90% sure it's in my eclipse build path and not in the code. But every answer seems to require 6 more questions.
|
If you want to run on a device other then the rio, you want to be using setClientMode() and setTeam(). That will connect to the roboRIO, since the roboRIO is by default the server.
__________________
All statements made are my own and not the feelings of any of my affiliated teams.
Teams 1510 and 2898 - Student 2010-2012
Team 4488 - Mentor 2013-2016
Co-developer of RobotDotNet, a .NET port of the WPILib.
|