![]() |
Creating custom controls to the SmartDashboard SFX
I tried to add my custom control to the SmartDashboard SFX. I only understood how this was done using FXML, but when I tried to create a custom control using Java and this tutorial I got stuck, because it seems I don't have the required components (The tutorial might be out of date).
My question is, what is the simplest way to create my custom control (with multiple variables)? |
Re: Creating custom controls to the SmartDashboard SFX
It would be easier for you to post what you're having trouble with since that tutorial is pretty much all that's available in terms of what you're asking.
Also, have you just considered making a custom JavaFX dashboard using NetworkTables? Much easier, IMO. |
Re: Creating custom controls to the SmartDashboard SFX
I want the control to be added to the Smartdashboard itself and not to a new window. Is it possible with Networktables?
|
Re: Creating custom controls to the SmartDashboard SFX
You might be better off working with the old SmartDashboard. It is written in Java (not JRuby), so the source is actually is actually readable (sorry, I don't like Ruby) and it has better documentation. I was able to figure out how to make widgets by looking at the already existing ones and adapting them.
|
Re: Creating custom controls to the SmartDashboard SFX
Quote:
Quote:
|
| All times are GMT -5. The time now is 01:44. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi