View Single Post
  #9   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