01-10-2022 05:36 PM
The template "Shooter" robot project uses the "SD" Network tables write VIs. These can be found in Teleop.vi, Begin.vi, and Auto....vi. When running robot main on a PC, the values written by these VI do not show up on the dashboard. See screen shot. (One example is the drive motor output values.) After replacing these with the NT Network Tables write VIs, everything worked okay.
If the SD routine are obsolete, should they be removed?
I didn't check the other template projects for SD routines. I also didn't try this on a roboRIO.
(The driver station was set to Teleop enabled both times.)
Before
After changing SD to NT.
Thanks
Jim
Solved! Go to Solution.
01-13-2022 05:43 PM
The original VIs were SD. They were deprecated, and replaced with NT. Technically, the SD VIs should work. I spent a little time debugging, and they aren't sending their name to the clients. I think that it may be time to fully delete them and fix the templates to use NT. I see no reason for anyone to still be using SD.