Go to Post No email, no telephone, no FIRST. I can't wait.... - RoboMom [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 25-01-2014, 17:02
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 590
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Tutorial on creating custom controls for SmartDashboard 2 (SFX)

Some of you have been asking how to create controls for the new SmartDashboard (sfx). Controls can be created either using java for complex controls or FXML for simpler visualizations. We created a tutorial that shows how to create a widget that models a pneumatic cylinder that is shown either in or out using a boolean value.

We'll add an example of a java-based widget soon.

The tutorial can be found here:

http://wpilib.screenstepslive.com/s/...rol-using-fxml

Brad & Patrick
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
  #2   Spotlight this post!  
Unread 28-01-2014, 21:55
Spaghetti's Avatar
Spaghetti Spaghetti is offline
Registered User
FRC #0488 (XBot)
Team Role: Mentor
 
Join Date: Apr 2012
Rookie Year: 2011
Location: Seattle
Posts: 13
Spaghetti is an unknown quantity at this point
Re: Tutorial on creating custom controls for SmartDashboard 2 (SFX)

Is there any kind of wysiwyg editor for this markup available, or barring that, a quick and easy way to see your changes as you iterate on them (like a standalone viewer with a refresh button?).
  #3   Spotlight this post!  
Unread 28-01-2014, 22:00
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 590
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
There is a tool from Oracle called Scene Builder that is freely available. We used it to create the FXML that is shown in the example. You can find it on the Oracle JavaFX page.
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
  #4   Spotlight this post!  
Unread 29-01-2014, 01:18
Spaghetti's Avatar
Spaghetti Spaghetti is offline
Registered User
FRC #0488 (XBot)
Team Role: Mentor
 
Join Date: Apr 2012
Rookie Year: 2011
Location: Seattle
Posts: 13
Spaghetti is an unknown quantity at this point
Re: Tutorial on creating custom controls for SmartDashboard 2 (SFX)

That's perfect, thanks Brad!
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 02:33.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi