Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Customizing the Dashboard (http://www.chiefdelphi.com/forums/showthread.php?t=81302)

Matt2081 27-01-2010 21:22

Customizing the Dashboard
 
I was wondering, is it possible to customize the dashboard (remote, local, or both)? If so, how do you do this?

sloteera 27-01-2010 21:23

Re: Customizing the Dashboard
 
I think that you need exactly this: http://www.lvmastery.com/TipJar2009-02-10

Matt2081 27-01-2010 21:45

Re: Customizing the Dashboard
 
This looks great! I'll try it tomorrow. Thanks a lot! :D

joshholat 27-01-2010 22:56

Re: Customizing the Dashboard
 
Is there any way to alter this using Java as our development system? Does Java provide a way to interface with the Driver Station Dashboard?

Joe Ross 27-01-2010 23:27

Re: Customizing the Dashboard
 
Quote:

Originally Posted by joshholat (Post 908252)
Is there any way to alter this using Java as our development system? Does Java provide a way to interface with the Driver Station Dashboard?

Have you looked at the Dashboard class?

joshholat 28-01-2010 00:45

Re: Customizing the Dashboard
 
Yeah, I'm aware of that. I guess I should of clarified. I mean is there a way to more so interact with the GUI objects such as the gauge and various graphs. Or is that all in there? From what I can tell, the Dashboard class seems to be just for text stuff.

Dave Scheck 28-01-2010 12:07

Re: Customizing the Dashboard
 
The dashboard class will just populate the data being sent to the dashboard program. I don't have the Java apis, but the C++ apis have things to add just about any data type that you want (signed/unsigned int 8,16, 32, float, double, bool, string). Additionally it lets you organize the data in arrays and clusters.

The dashboard program has a large cluster on the left side of the diagram that needs to match what is being sent over. Once that matches, you can read out of the cluster to populate gui items.

I would suggest pulling up the default robot side code and look for where the dashboard data is populated. Then pull up the default dashboard program and see how the cluster corresponds to the way the data is filled in by the robot. Once you understand that, you can do whatever you want with the data once it is read from the socket.

Kingofl337 28-01-2010 12:19

Re: Customizing the Dashboard
 
I heard that there would be a JAVA dashboard but I haven't seen it yet.

slavik262 28-01-2010 14:38

Re: Customizing the Dashboard
 
I'm making a customizable dashboard with drag and drop custimization. It's going to be extremely user friendly, run in C++ (so you have maximum speed and response time), and work with all three robot code configurations (LabVIEW, Java, and C++).

http://www.chiefdelphi.com/forums/sh...ad.php?t=80561

Matt2081 28-01-2010 20:25

Re: Customizing the Dashboard
 
I watched the blog, and it summarized very well how to modify the Dashboard, but it looks as though it is only modifying the remote Dashboard. How would I modify the local Dashboard (the one on the classmate)? Can I do that?

Also, is the drag-and-drop customizable Dashboard going to have the capability to modify the local Dashboard?

sloteera 28-01-2010 20:41

Re: Customizing the Dashboard
 
Quote:

Originally Posted by matt2081 (Post 908886)
I watched the blog, and it summarized very well how to modify the Dashboard, but it looks as though it is only modifying the remote Dashboard. How would I modify the local Dashboard (the one on the classmate)? Can I do that?

Also, is the drag-and-drop customizable Dashboard going to have the capability to modify the local Dashboard?


You just need switch your dashboard remote customized by the local dashboard.
You'll need to create a new application of your new Dashboard (right click in Build Specifications), then you'll choose yours files to include in application and save all with "Dashboard. x " name (i.e Dashboard.exe, Dashboard.ini..).

You'll see a new folder containing three files. You'll need to go at C: > Program Files > FRC Dashboard and switch the older files by the newer files!
When you open your driver station, automatically your customized dashboard will be loaded!

I hope that you can understand me :p

sloteera 28-01-2010 20:45

Re: Customizing the Dashboard
 
I forgot: the directory C: > Program Files > FRC Dashboard you'll need to open in Classmate!

Radical Pi 28-01-2010 21:44

Re: Customizing the Dashboard
 
If you're running C++ or Java, some of the examples have a DashboardDataSender class. That should send everything on the robot. If you want to change the dashboard you need to change that class to match it. Best if the programmer knows both C++ and LabVIEW


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

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