Go to Post This thread is a reminder to myself that I have 29 more days to sleep. :) - Seth Mallory [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 27-12-2013, 15:36
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,590
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Beta Teams: SmartDashboard 2.0

What do you guys think of SmartDashboard 2.0 (or is it SmartDashboard FX, or SFX?).

Based on your testing, are you planning to use it this season?
What was your favorite feature(s)?
Any issues teams should be aware of?
Did anyone try to make any custom widgets or plugins? Was it hard to learn JavaFX? Was there any documentation for making custom widgets or plugins?
Was the camera viewer more stable then the original SmartDashboard. Did anyone do any vision processing?
Did anyone try running it on the classmate?
Is it stable when running for long periods of time?

For those not familiar with the new SmartDashboard, there is some information here: http://wpilib.screenstepslive.com/s/...tdashboard-sfx
Reply With Quote
  #2   Spotlight this post!  
Unread 27-12-2013, 21:26
krieck's Avatar
krieck krieck is online now
Registered User
AKA: Keith
FRC #2846 (Firebears)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Minnesota
Posts: 49
krieck is an unknown quantity at this point
Re: Beta Teams: SmartDashboard 2.0

For the beta testers, I'll throw out another question: Was Java 7 required for the new tools? It looks like some of the latest development JARs won't currently execute using Java 6.

I ask because some of our team's older laptops may not be able to run the newest JDK.
Reply With Quote
  #3   Spotlight this post!  
Unread 28-12-2013, 12:37
NWChen's Avatar
NWChen NWChen is offline
Alum
no team
 
Join Date: Oct 2012
Rookie Year: 2012
Location: New York City
Posts: 205
NWChen is a splendid one to beholdNWChen is a splendid one to beholdNWChen is a splendid one to beholdNWChen is a splendid one to beholdNWChen is a splendid one to beholdNWChen is a splendid one to beholdNWChen is a splendid one to behold
Re: Beta Teams: SmartDashboard 2.0

Java beta tester here. If you haven't seen SD2.0/SFX yet, look at Joe's link.

Quote:
What do you guys think of SmartDashboard 2.0 (or is it SmartDashboard FX, or SFX?).
I've heard it most frequently referred to as SFX. For debugging purposes it's better than SmartDashboard1.0: the record functionality, more widgets, being able to use (JavaFX, not browser) CSS to customize widgets, and multiple tabs (e.g. for SmartDashboard and for LiveWindow) make viewing data easier.

Quote:
Based on your testing, are you planning to use it this season?
Yes, we think it'll speed up debugging, if not be more aesthetically pleasing on the Driver Station (if we choose to use it there).

Quote:
What was your favorite feature(s)?
The record/playback functionality. We can play back data at any time. Something suggested by Dan Lavin on 694 was collecting data in teleop and using it for autonomous, which I know some teams have attempted but might be easier this year with the addition of record/playback.

Quote:
Any issues teams should be aware of?
There were one or two nonfunctioning buttons (like the data source button) on the interface, and we had to run SFX from terminal
Code:
java -jar sfx.jar
to get some other functions working. Since this was beta, though, it'll probably be fixed by build season. It also may have been an error just on our platform, we only tested SFX on one laptop running Windows 7.

Quote:
Did anyone try to make any custom widgets or plugins? Was it hard to learn JavaFX? Was there any documentation for making custom widgets or plugins?
Beyond using CSS to customize widgets, I don't know anyone who attempted to make a custom widget specifically for SFX. ScreenSteps links to a JavaFX CSS reference page and that's all.

Quote:
Was the camera viewer more stable then the original SmartDashboard. Did anyone do any vision processing?
I'm not able to answer this, we didn't do any vision processing and I can't recall or find documentation on camera viewing in SFX.

Quote:
Did anyone try running it on the classmate?
Our setup was an HP Probook 4540s, so I can't answer this either, sorry.

Quote:
Is it stable when running for long periods of time?
Seems to be - at one point we had it running for about 45 minutes, so unlike SmartDashboard 1.0 it doesn't crash after a brief period of time.

Quote:
For the beta testers, I'll throw out another question: Was Java 7 required for the new tools? It looks like some of the latest development JARs won't currently execute using Java 6.
Java 7 is required:
"The new dashboard requires a current version of Oracle Java 7 (minimum release 7u6) to be installed on your system to get JavaFX."

Hope that helped.
Reply With Quote
  #4   Spotlight this post!  
Unread 05-01-2014, 13:35
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: Beta Teams: SmartDashboard 2.0

Quote:
Originally Posted by Joe Ross View Post
What do you guys think of SmartDashboard 2.0 (or is it SmartDashboard FX, or SFX?).
Main developer here, and even I don't know what to call it. I first thought of 2.0, but then somebody said the current version was 2.0 so it should be 3.0. To avoid taking a stance until we could figure it out, I called the repo SFX because it used JavaFX, however we never really figured it out. Jenkins is 3.0 for the old SVN repo, 2.0 for the current git repo, and I usualy call it sfx

Quote:
Originally Posted by Joe Ross View Post
Any issues teams should be aware of?
Did anyone try to make any custom widgets or plugins? Was it hard to learn JavaFX? Was there any documentation for making custom widgets or plugins?
Unfortunatly I need to do this as there is not much documetation on it. Fairly simple as you just need to implment an interface (Control) and I already have examples in Java, JRuby, and FXML.
EDIT: https://usfirst.collab.net/sf/wiki/d...CustomControls

Quote:
Originally Posted by Joe Ross View Post
Was the camera viewer more stable then the original SmartDashboard. Did anyone do any vision processing?
Vision processing is not built in (yet) but it should be trivial to make a custom control to do it.

For the beta testers, I'll throw out another question: Was Java 7 required for the new tools? It looks like some of the latest development JARs won't currently execute using Java 6.[/quote]
Correct, sfx requires JavaFX 2.2, which is bundled with 7u6, however if you are on Windows, you can supposedly get it to run with 6. We have not tried this.
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib

Last edited by byteit101 : 05-01-2014 at 14:51.
Reply With Quote
  #5   Spotlight this post!  
Unread 06-01-2014, 21:44
charr charr is offline
Registered User
FRC #3504
 
Join Date: Aug 2013
Location: Pittsburgh
Posts: 20
charr is an unknown quantity at this point
Re: Beta Teams: SmartDashboard 2.0

Quote:
Originally Posted by Signet View Post
Java beta tester here. If you haven't seen SD2.0/SFX yet, look at Joe's link.

I've heard it most frequently referred to as SFX. For debugging purposes it's better than SmartDashboard1.0: the record functionality, more widgets, being able to use (JavaFX, not browser) CSS to customize widgets, and multiple tabs (e.g. for SmartDashboard and for LiveWindow) make viewing data easier.

Yes, we think it'll speed up debugging, if not be more aesthetically pleasing on the Driver Station (if we choose to use it there).

The record/playback functionality. We can play back data at any time. Something suggested by Dan Lavin on 694 was collecting data in teleop and using it for autonomous, which I know some teams have attempted but might be easier this year with the addition of record/playback.

There were one or two nonfunctioning buttons (like the data source button) on the interface, and we had to run SFX from terminal
Code:
java -jar sfx.jar
to get some other functions working. Since this was beta, though, it'll probably be fixed by build season. It also may have been an error just on our platform, we only tested SFX on one laptop running Windows 7.

Beyond using CSS to customize widgets, I don't know anyone who attempted to make a custom widget specifically for SFX. ScreenSteps links to a JavaFX CSS reference page and that's all.

I'm not able to answer this, we didn't do any vision processing and I can't recall or find documentation on camera viewing in SFX.

Our setup was an HP Probook 4540s, so I can't answer this either, sorry.

Seems to be - at one point we had it running for about 45 minutes, so unlike SmartDashboard 1.0 it doesn't crash after a brief period of time.

Java 7 is required:
"The new dashboard requires a current version of Oracle Java 7 (minimum release 7u6) to be installed on your system to get JavaFX."

Hope that helped.
That link is dead. Do you have the correct one?
Reply With Quote
  #6   Spotlight this post!  
Unread 06-01-2014, 23:18
NWChen's Avatar
NWChen NWChen is offline
Alum
no team
 
Join Date: Oct 2012
Rookie Year: 2012
Location: New York City
Posts: 205
NWChen is a splendid one to beholdNWChen is a splendid one to beholdNWChen is a splendid one to beholdNWChen is a splendid one to beholdNWChen is a splendid one to beholdNWChen is a splendid one to beholdNWChen is a splendid one to behold
Re: Beta Teams: SmartDashboard 2.0

Quote:
Originally Posted by charr View Post
That link is dead. Do you have the correct one?
http://wpilib.screenstepslive.com/s/...tdashboard-sfx
Reply With Quote
  #7   Spotlight this post!  
Unread 13-01-2014, 12:59
charr charr is offline
Registered User
FRC #3504
 
Join Date: Aug 2013
Location: Pittsburgh
Posts: 20
charr is an unknown quantity at this point
Re: Beta Teams: SmartDashboard 2.0

Thanks.

I haven't tested it yet but thought I'd ask. Does the new smartdashboard use the current Network Tables protocol? Or asking another way, it is compatible with the old smartdashboard?
Reply With Quote
  #8   Spotlight this post!  
Unread 14-01-2014, 20:13
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 592
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
Re: Beta Teams: SmartDashboard 2.0

Quote:
Originally Posted by charr View Post
Thanks.

I haven't tested it yet but thought I'd ask. Does the new smartdashboard use the current Network Tables protocol? Or asking another way, it is compatible with the old smartdashboard?
Yes, same network tables, same protocol for SmartDashboard and Test mode.
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
Reply With Quote
  #9   Spotlight this post!  
Unread 20-01-2014, 20:04
Ipiano's Avatar
Ipiano Ipiano is offline
Registered User
AKA: Andrew Stelter
FRC #3018 (Nordic Storm)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Mankato, Minnesota
Posts: 27
Ipiano is an unknown quantity at this point
Re: Beta Teams: SmartDashboard 2.0

Based on your testing, are you planning to use it this season?
We WERE planning to use it, but in the final release the RobotPreferences widget(which didn't work well, but could have been improved) was removed, and that's something we use heavily to define our autonomous. If we can find a workaround, we will use the dashboard.

What was your favorite feature(s)?
I really liked the ability to rewind the data, but it's a little buggy.
Sometime last year the camera feed stopped working, but it seems to work in SFX. I would assume the memory leak was fixed, but I haven't used it much to be able to say for sure.

Any issues teams should be aware of?
If you try to change the settings for what to do when new widgets are added and use a custom rule, then the "x" and close buttons on the settings dialogue stop working

Did anyone try to make any custom widgets or plugins? Was it hard to learn JavaFX? Was there any documentation for making custom widgets or plugins?
I did not. But last year I did, and unless FX is a LOT different that Java Swing, it's not TOO hard. No, I don't think there was documentation, but I didn't look either.

Was the camera viewer more stable then the original SmartDashboard. Did anyone do any vision processing?
It actually worked, which is more than can be said for the widget last year. It stopped working at some point and we don't know why.

Did anyone try running it on the classmate?
Not me.

Is it stable when running for long periods of time?
I don't know what qualifies as "long periods" but we prefer not to close it because it takes a while to start up(may be an issue with the computer), and we haven't seen it crash yet.


I am of the opinion that an update will be released because there was the option to change placed widgets to different types(as is stated in the online tutorial) and that and the RobotPreferences widget, both very useful features, were removed.
__________________
________
Genius is one percent inspiration and ninety-nine percent perspiration.
--Thomas A. Edison
Reply With Quote
  #10   Spotlight this post!  
Unread 21-01-2014, 16:31
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: Beta Teams: SmartDashboard 2.0

Quote:
Originally Posted by Ipiano View Post
Based on your testing, are you planning to use it this season?
We WERE planning to use it, but in the final release the RobotPreferences widget(which didn't work well, but could have been improved) was removed, and that's something we use heavily to define our autonomous. If we can find a workaround, we will use the dashboard.
As SFX was a fresh re-write, it was not removed but simply not yet added. It should be fairly simple to add back (if you want to do it we are welcoming patches)

Quote:
Originally Posted by Ipiano View Post
What was your favorite feature(s)?
I really liked the ability to rewind the data, but it's a little buggy.
Sometime last year the camera feed stopped working, but it seems to work in SFX. I would assume the memory leak was fixed, but I haven't used it much to be able to say for sure.
Mind describing the bug? possibly even report it on the issues page? We can't fix it if we don't know what it is...

Quote:
Originally Posted by Ipiano View Post
Any issues teams should be aware of?
If you try to change the settings for what to do when new widgets are added and use a custom rule, then the "x" and close buttons on the settings dialogue stop working
Interesting, I will investigate

Quote:
Originally Posted by Ipiano View Post
Did anyone try to make any custom widgets or plugins? Was it hard to learn JavaFX? Was there any documentation for making custom widgets or plugins?
I did not. But last year I did, and unless FX is a LOT different that Java Swing, it's not TOO hard. No, I don't think there was documentation, but I didn't look either.
FX is a LOT different than Swing. JavaFX documentation is found at oracle.com, basic guide is found https://usfirst.collab.net/sf/wiki/d...CustomControls

Quote:
Originally Posted by Ipiano View Post
Was the camera viewer more stable then the original SmartDashboard. Did anyone do any vision processing?
It actually worked, which is more than can be said for the widget last year. It stopped working at some point and we don't know why.
Vision Processing is not built in yet. Kind of odd the viewer was more stable as the image fetching code is literally the only bit of code that is the same between the new and old... Either way, both will be fixed better soon with VideoCore branch.

Quote:
Originally Posted by Ipiano View Post
Did anyone try running it on the classmate?
Not me.

Is it stable when running for long periods of time?
I don't know what qualifies as "long periods" but we prefer not to close it because it takes a while to start up(may be an issue with the computer), and we haven't seen it crash yet.
Playback dumps >5min (or so) data, so after ~5 minutes it should be stable memory usage. If it does crash, please file a bug. Regarding startup, it is much more variable as there are many more features supported. We are working on making it load faster.

Quote:
Originally Posted by Ipiano View Post
I am of the opinion that an update will be released because there was the option to change placed widgets to different types(as is stated in the online tutorial) and that and the RobotPreferences widget, both very useful features, were removed.
The morph feature was disabled at the last minute (Dec 31) because it had some very odd bugs that had strange interactions and we felt it was easier to disable it and have fewer bugs for the first release. It will be re-enabled when we sort those bugs out.
EDIT: almost forgot, but you can still do it manually. Just drag out what you want left side and choose the type/path.
RobotPreferences was never added yet, but see first comment
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
Reply With Quote
  #11   Spotlight this post!  
Unread 28-01-2014, 21:09
Ipiano's Avatar
Ipiano Ipiano is offline
Registered User
AKA: Andrew Stelter
FRC #3018 (Nordic Storm)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Mankato, Minnesota
Posts: 27
Ipiano is an unknown quantity at this point
Re: Beta Teams: SmartDashboard 2.0

Info about RobotPreferences!!

I feel like a complete idiot right now.
I was expecting RobotPreferences to be implemented as they were in SmartDashboard 1.0, in a widget.

They ARE implemented, just not as I had thought they would be. The are on the list of possible name-value pairs that can be added to the SFX board, just like any value from the robot.

I'm extremely sorry for any confusion I may have caused in this topic.
__________________
________
Genius is one percent inspiration and ninety-nine percent perspiration.
--Thomas A. Edison
Reply With Quote
  #12   Spotlight this post!  
Unread 29-01-2014, 11:41
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: Beta Teams: SmartDashboard 2.0

Quote:
Originally Posted by Ipiano View Post
I was expecting RobotPreferences to be implemented as they were in SmartDashboard 1.0, in a widget.

They ARE implemented, just not as I had thought they would be. The are on the list of possible name-value pairs that can be added to the SFX board, just like any value from the robot.
That is one of the reasons we moved to this new architecture, as now any value can be used even if its inside what is supposed to be a control. So yes, they will work like that raw.

That being said, it is planned to add a widget sort of thing for them eventually, but as you can see, its not entirely necessary for using them. Thus, they are not "implemented" yet, its just the default exposure of all properties in a value tree.
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
Reply With Quote
  #13   Spotlight this post!  
Unread 07-03-2014, 17:28
ksanger's Avatar
ksanger ksanger is offline
Registered User
FRC #0211 (MaK)
 
Join Date: Mar 2010
Rookie Year: 2010
Location: Rochester NY
Posts: 62
ksanger is on a distinguished road
Re: Beta Teams: SmartDashboard 2.0

I wish the example x-yLocation was better. I've been working on it for hours and can not get it to work yet. Currently stuck on defining xValue. Its not an int. Its a SmartValue? Don't know what getObservable() does. I'm pretty new to Java, yet this seams impossible. SFX appears overly complex to me. We used to have an add-on that would find objects in the camera image and report them to the smartDashboard. However this year I've been told we are running SFX.

We used to be able to test seeing the camera and developing code on the laptop to process the image without a cRio present. Does SFX run without the cRio? Or is it not responding because there is no table source without a cRio?

I changed the add control to true and the window hangs open just like posted here. Again suspect its because a cRio is not at my house.

I don't believe we will have any image software again this year.
Reply With Quote
Reply


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 12:58.

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