Go to Post Through 30 years of teaching I've heard the same refrain..."I love science, I love math but I can't stand my language classes". Well enough is enough. Get over it. - Mr.B [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-10-2010, 18:16
tutkows1's Avatar
tutkows1 tutkows1 is offline
Registered User
FRC #2077
 
Join Date: Jan 2010
Location: wisconsin
Posts: 44
tutkows1 is an unknown quantity at this point
Re: Custom Dashboard Program Ideas?

I suggest having a larger video screen, and having a space were messages from the programmer can show up. For example, you are now cocked at position three. Having a pressure gauge is also a good idea.

On a side note: were did you find a gauge that can send the air pressure as an analog signal to the control system?

Edit: More about what we did.

Last year my team didn't use the classmate for the dashboard, we sent it to another computer so we could have a larger screen and it seemed to run the feed better.

Last edited by tutkows1 : 27-10-2010 at 18:18. Reason: More about what we did
  #2   Spotlight this post!  
Unread 05-11-2010, 17:36
ViperChris3's Avatar
ViperChris3 ViperChris3 is offline
Registered User
AKA: Chris Rogers
FRC #0545 (Robodawgs)
Team Role: Programmer
 
Join Date: Dec 2009
Rookie Year: 2009
Location: Levittown, New York
Posts: 2
ViperChris3 is an unknown quantity at this point
Re: Custom Dashboard Program Ideas?

Quote:
Originally Posted by tutkows1 View Post
I suggest having a larger video screen, and having a space were messages from the programmer can show up. For example, you are now cocked at position three. Having a pressure gauge is also a good idea.

On a side note: were did you find a gauge that can send the air pressure as an analog signal to the control system?

Edit: More about what we did.

Last year my team didn't use the classmate for the dashboard, we sent it to another computer so we could have a larger screen and it seemed to run the feed better.
@tutkows1

Our Robot has an analog pressure sensor on it hooked into one of the analog imputs on cRios. We played around with the data communication and have a guage on our large video screen with the air pressure. I think that the while loop on the dashboard has a slow iteration rate however, because it is quite slow responding, about 1-1.5 seconds per responce, hardly real-time.. But we might consider putting dashboard onto another computer. Did the program run faster on a different laptop than it did on classmate?
  #3   Spotlight this post!  
Unread 05-11-2010, 18:31
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: Custom Dashboard Program Ideas?

The default dashboard is really slow. Apparently this is because of the graphs.
The iteration time is not set directly. The main loop iterates every time it gets a data packet from the robot. (Those data packets should be sent by the robot every time its main loop runs, and those runs are triggered by the packets coming from the driver station, etc.)

I noticed during testing that it takes around 10 seconds for the inputs to update while disabled (I have no idea why this is), and around 1.5 seconds while enabled, using the default dashboard. My custom dashboard is about 1 second, all the time. This is because of the default handling of the crio end, only updating the low priority dashboard data every 25 iterations (the high priority data, which in the default code is the tracking data, is updated every iteration).
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
  #4   Spotlight this post!  
Unread 05-11-2010, 19:59
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Custom Dashboard Program Ideas?

The default dashboard setup attempts to read most of the I/O channels, and send them to the ds and dashboard about twice a second. Reading that many channels through the Apis could place quite a load on the CRIO if done at 50 hz. If wou trim the channels being read to just the ones you are using or interested in, wou could easily up the rate. It is your CPU, so use as much as you like.

Greg McKaskle
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
Custom Dashboard? Azores Programming 6 08-04-2010 13:04
Custom Dashboard Yppiz FRC Control System 1 17-02-2010 22:45
Custom Dashboard Yppiz Java 1 17-02-2010 12:27
Custom Dashboard writchie FRC Control System 7 02-03-2009 20:21
Custom dashboard program available. Interest? archiver 2001 4 24-06-2002 00:45


All times are GMT -5. The time now is 03:33.

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