|
Re: Crio C++ Preferences -> How to See/Edit these values in the Smart Dashboard
Hmmm - no joy. Performed steps A-D, and the robot still uses the "default" preference values. After restarting the robot, the Robot Preferences widget shows no values, and they didn't appear in the NetworkTables viewer either.
We noted that smart dashboard doesn't prompt for any data type when adding a preference. I assume the smart dashboard is adding a string. If so, is there a problem because the dashboard-added string is not the same datatype that the robot code is expecting?
Perhaps we have to modify the robot code to only use strings, converting them ourselves to doubles/ints/etc within the robot code?
|