|
Creating a custom NetworkTable?
Like a number of other teams, Team 4050 is getting into vision processing this year for the first time. Our processing is pretty rudimentary but so far seems really reliable in picking out the gear lift.
Again, like others, we're looking to run our vision code on a Raspberry Pi. (We were originally planning to use a Jetson, but that introduced more hurdles.) However, the issue that we have run into is our complete inexperience with NetworkTables. We want to create a custom NetworkTable that contains the data that the RPi needs to communicate to the roboRIO so that it knows how to control the robot (e.g., turn left, go forward at 50% speed, etc.) Our lead programmer and I have spent a bunch of time researching NetworkTables; however, in every example that we've found, it assumes that the NT already exists.
We feel we understand the client side of things. What we need to know is how to create the NetworkTable so that it's there for the client to update.
Any suggestions, advice, or examples would be greatly appreciated.
|