|
Re: Interactive Widgets on SmartDashboard
I want the same capability we have with LabView. We can add GUI widgets to the LV Dashboard, and the value of the widgets are tied to what's in the SmartDashboard network tables. If the GUI widget is a LV "indicator", then it just reflects what's in the network table, if it's a LV "control", then changing what's on the dashboard will change the corresponding table entry.
The Java SmartDashboard has some of this, but doesn't seem to have GUi elements; I can't tie a slider to a number in the NetworkTable, for instance; my only display option is a text box.
We can work around it; Test mode gets us part of the way there, using the "fake" analog and digital inputs on the DS helps more (or building a real console with the Cypress), but I wanted to be sure that I wasn't missing a capability that was already there.
Writing a Swing application to present a UI and poke/read the network tables is straightforward, but doing and persisting the GUI layout would be a challenge for where I am right now, Swing-wise (I'm a J2EE guy)...
|