Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Creating a Custom Dashboard for the Driver Station (http://www.chiefdelphi.com/forums/showthread.php?t=100879)

JohnFogarty 22-01-2012 13:01

Creating a Custom Dashboard for the Driver Station
 
In past years I have been using LabVIEW for my FRC programming, but this year since I'm taking the offered Computer Science A course at my school I decided it would be cool to try my hand at Java. So far, everything is going well. Though one of the problems I'm running into is trying to figure out how to make the dashboard, I'm thinking it's a basic GUI interface...that I haven't learned how to make yet.
are there any helpful websites, tutorials and such to help me make a dashboard? Or examples of code and implementation. I've "googled" and haven't had much luck.

otherguy 22-01-2012 13:41

Re: Creating a Custom Dashboard for the Driver Station
 
I'd suggest looking into SmarDashboard, this should get you in the right direction with minimal learning curve. It's a modular dashboard which replaces the stock one. It makes it pretty easy to add custom stuff to the UI, but the documentation is lacking. I'm still new to it, but this is what I did to get it working:
Smart Dashboard Guide

Edit: I'm actively working on this guide, so check back for more info soon!

shuhao 22-01-2012 15:09

Re: Creating a Custom Dashboard for the Driver Station
 
I'm also creating some dashboard software with python.. It'll be much easier to program for than java (no eclipse/netbeans, no crap. just a text editor and a console)

SmartDashboard's documentation really turned me off, and since I'm creating some server/client stuff for onboard netbook anyway.. might as well extend that.

eddie12390 23-01-2012 20:29

Re: Creating a Custom Dashboard for the Driver Station
 
You may also want to look into ZomB: http://www.chiefdelphi.com/forums/sh...ad.php?t=82612

java4first 26-01-2012 09:02

Re: Creating a Custom Dashboard for the Driver Station
 
Another option is to use the RCP application building part of Eclipse (of which the IDE is just an example) to build a custom dashboard. There are several books with good tutorials for how to do this. You get access to all the GUI features that the IDE presents ... but instead of an IDE, you are building an FRC robot dashboard. Although this probably isn't a good option for rookie programmers in this build season.

sand500 26-01-2012 13:13

Re: Creating a Custom Dashboard for the Driver Station
 
Our team planning to use swing for our dashboard.

shuhao 26-01-2012 14:44

We're doing a web interface written with probably jQuery or closure tools

otherguy 26-01-2012 23:23

Re: Creating a Custom Dashboard for the Driver Station
 
Quote:

Originally Posted by shuhao (Post 1113994)
We're doing a web interface written with probably jQuery or closure tools

Do you have any other info on what you're doing w/ jQuery? I'm interested in seeing your results. You guys should make a writeup if you get a chance.

shuhao 26-01-2012 23:47

I have a setup where it allows me to do that. Will do once i get my exam done

BradAMiller 27-01-2012 13:27

Re: Creating a Custom Dashboard for the Driver Station
 
Quote:

Originally Posted by shuhao (Post 1111268)
I'm also creating some dashboard software with python.. It'll be much easier to program for than java (no eclipse/netbeans, no crap. just a text editor and a console)

SmartDashboard's documentation really turned me off, and since I'm creating some server/client stuff for onboard netbook anyway.. might as well extend that.

Check out the SmartDashboard video at http://youtube.com/user/bradamiller. It explains how to use the SmartDashboard and we'll add some more stuff about PID tuning next week.

Brad

shuhao 28-01-2012 18:10

Re: Creating a Custom Dashboard for the Driver Station
 
Quote:

Originally Posted by otherguy (Post 1114385)
Do you have any other info on what you're doing w/ jQuery? I'm interested in seeing your results. You guys should make a writeup if you get a chance.

Here's my dashboard:



Code again is here: https://github.com/FRCTeam4069/Mediator


All times are GMT -5. The time now is 10:44.

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