|
Preferences : Write on SmartDashboard, read from cRio/C++
Our C++ robot code reads settings via the WPILib Preferences class, but we want to edit these values on the smart dashboard.
We added the Robot Preferences widget on the dashboard. None of the robot-defined preference names are seen there, even though the dashboard shows other NetworkTable status data from the robot.
We pressed SAVE on the preferences widget, then rebooted robot and dashboard and when we restart both and connect, the dashboard preferences widget still shows no robot-defined preference values.
Does anyone know how we can edit the robots preferences from the Smartdashboard's preferences widget?
Last edited by slibert : 21-02-2012 at 14:12.
|