Go to Post Seniors, do you realize this is your last robot season?! - atomikitten [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 27-01-2010, 21:22
Matt2081's Avatar
Matt2081 Matt2081 is offline
Software Mentor, Alumn
AKA: Matt Birkel
FRC #2081 (Icarus)
Team Role: Mentor
 
Join Date: Dec 2009
Rookie Year: 2005
Location: Peoria, IL
Posts: 27
Matt2081 is on a distinguished road
Question Customizing the Dashboard

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

-------------------------------------------------------------------
2011 Boilermaker Regional Winner
2011 Boilermaker Motorola Quality Award Winner
2010 Boilermaker Regional Finalist
2009 Boilermaker General Motors Industrial Design Award Winner
2008 Boilermaker Engineering Inspiration Award Winner
2007 Boilermaker Rookie All-Star Award Winner
  #2   Spotlight this post!  
Unread 27-01-2010, 21:23
sloteera's Avatar
sloteera sloteera is offline
Registered User
AKA: Rafa
FRC #1860 (Cephatron)
Team Role: Coach
 
Join Date: Mar 2007
Rookie Year: 2004
Location: Brazil
Posts: 190
sloteera has much to be proud ofsloteera has much to be proud ofsloteera has much to be proud ofsloteera has much to be proud ofsloteera has much to be proud ofsloteera has much to be proud ofsloteera has much to be proud ofsloteera has much to be proud ofsloteera has much to be proud ofsloteera has much to be proud of
Re: Customizing the Dashboard

I think that you need exactly this: http://www.lvmastery.com/TipJar2009-02-10
  #3   Spotlight this post!  
Unread 27-01-2010, 21:45
Matt2081's Avatar
Matt2081 Matt2081 is offline
Software Mentor, Alumn
AKA: Matt Birkel
FRC #2081 (Icarus)
Team Role: Mentor
 
Join Date: Dec 2009
Rookie Year: 2005
Location: Peoria, IL
Posts: 27
Matt2081 is on a distinguished road
Re: Customizing the Dashboard

This looks great! I'll try it tomorrow. Thanks a lot!
__________________

-------------------------------------------------------------------
2011 Boilermaker Regional Winner
2011 Boilermaker Motorola Quality Award Winner
2010 Boilermaker Regional Finalist
2009 Boilermaker General Motors Industrial Design Award Winner
2008 Boilermaker Engineering Inspiration Award Winner
2007 Boilermaker Rookie All-Star Award Winner
  #4   Spotlight this post!  
Unread 27-01-2010, 22:56
joshholat joshholat is offline
Registered User
FRC #0930
 
Join Date: Jan 2010
Location: Mukwonago
Posts: 24
joshholat is an unknown quantity at this point
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?
  #5   Spotlight this post!  
Unread 27-01-2010, 23:27
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,587
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
Re: Customizing the Dashboard

Quote:
Originally Posted by joshholat View Post
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?
  #6   Spotlight this post!  
Unread 28-01-2010, 00:45
joshholat joshholat is offline
Registered User
FRC #0930
 
Join Date: Jan 2010
Location: Mukwonago
Posts: 24
joshholat is an unknown quantity at this point
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.
  #7   Spotlight this post!  
Unread 28-01-2010, 12:07
Dave Scheck's Avatar
Dave Scheck Dave Scheck is offline
Registered User
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Feb 2003
Rookie Year: 2002
Location: Arlington Heights, IL
Posts: 574
Dave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond repute
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.
  #8   Spotlight this post!  
Unread 28-01-2010, 12:19
Kingofl337's Avatar
Kingofl337 Kingofl337 is offline
You didn't see anything....
AKA: Adam
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 1998
Location: Manchester, NH
Posts: 861
Kingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond repute
Send a message via Yahoo to Kingofl337
Re: Customizing the Dashboard

I heard that there would be a JAVA dashboard but I haven't seen it yet.
__________________
FIRST Team 501 PowerKnights - Mentor
FIRST Team 40 Checkmate - Mentor Alum
FIRST Team 146 Blue Lightning - Alumni
  #9   Spotlight this post!  
Unread 28-01-2010, 14:38
slavik262's Avatar
slavik262 slavik262 is offline
We do what we must because we can.
AKA: Matt Kline
FRC #0537 (Charger Robotics)
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Sussex, WI
Posts: 310
slavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to behold
Send a message via AIM to slavik262
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
__________________
  #10   Spotlight this post!  
Unread 28-01-2010, 20:25
Matt2081's Avatar
Matt2081 Matt2081 is offline
Software Mentor, Alumn
AKA: Matt Birkel
FRC #2081 (Icarus)
Team Role: Mentor
 
Join Date: Dec 2009
Rookie Year: 2005
Location: Peoria, IL
Posts: 27
Matt2081 is on a distinguished road
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?
__________________

-------------------------------------------------------------------
2011 Boilermaker Regional Winner
2011 Boilermaker Motorola Quality Award Winner
2010 Boilermaker Regional Finalist
2009 Boilermaker General Motors Industrial Design Award Winner
2008 Boilermaker Engineering Inspiration Award Winner
2007 Boilermaker Rookie All-Star Award Winner
  #11   Spotlight this post!  
Unread 28-01-2010, 20:41
sloteera's Avatar
sloteera sloteera is offline
Registered User
AKA: Rafa
FRC #1860 (Cephatron)
Team Role: Coach
 
Join Date: Mar 2007
Rookie Year: 2004
Location: Brazil
Posts: 190
sloteera has much to be proud ofsloteera has much to be proud ofsloteera has much to be proud ofsloteera has much to be proud ofsloteera has much to be proud ofsloteera has much to be proud ofsloteera has much to be proud ofsloteera has much to be proud ofsloteera has much to be proud ofsloteera has much to be proud of
Re: Customizing the Dashboard

Quote:
Originally Posted by matt2081 View Post
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
  #12   Spotlight this post!  
Unread 28-01-2010, 20:45
sloteera's Avatar
sloteera sloteera is offline
Registered User
AKA: Rafa
FRC #1860 (Cephatron)
Team Role: Coach
 
Join Date: Mar 2007
Rookie Year: 2004
Location: Brazil
Posts: 190
sloteera has much to be proud ofsloteera has much to be proud ofsloteera has much to be proud ofsloteera has much to be proud ofsloteera has much to be proud ofsloteera has much to be proud ofsloteera has much to be proud ofsloteera has much to be proud ofsloteera has much to be proud ofsloteera has much to be proud of
Re: Customizing the Dashboard

I forgot: the directory C: > Program Files > FRC Dashboard you'll need to open in Classmate!
  #13   Spotlight this post!  
Unread 28-01-2010, 21:44
Radical Pi Radical Pi is offline
Putting the Jumper in the Bumper
AKA: Ian Thompson
FRC #0639 (Code Red Robotics)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York
Posts: 655
Radical Pi has a spectacular aura aboutRadical Pi has a spectacular aura aboutRadical Pi has a spectacular aura about
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
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
LabVIEW Video Tutorial: Customizing The FRC Dashboard To See Your Data LVMastery NI LabVIEW 0 10-02-2009 13:50
The perfect dashboard Joe_Widen Programming 4 19-06-2006 01:34
Labview Dashboard and updated IFI dashboard spec Joe Ross LabView and Data Acquisition 1 04-04-2006 02:04
Code for the Dashboard HuskieRobotics Programming 1 04-03-2004 11:10


All times are GMT -5. The time now is 21:32.

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