Go to Post Every single person on the team, read the manual, cover to cover, NO skimming. Do not give the task of knowing the rules to a few people. Do not pass go, do not collect $200, READ THE MANUAL. - RoboChair [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:18
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?

Any attempt at creating a dashboard should reflect the robot, and thus you would either have to write it for last year's robot as a learning experience or wait until you write the robot-end code next year.

I have a tabbed interface that automatically switches between disabled, auto, and teleop, plus some tabs for subsystem debugging. (I included the source code in my recent CD-paper of my 2010 robot code). The camera view is not used by the drivers, but the coach can see if there are hidden balls. We never look at the dashboard, except the camera image, unless something is wrong and we need feedback information NOW. We also have an indicator of which autonomous program will run when enabled, so the operator can set it from her controls before the beginning of the match. We tried placing a yellow circle where the target should be for 3rd zone auto to assist with line up since we run 3rd zone basically all the time, but then the camera got hit by a ball and un-aligned.


You cannot send data back to the robot. Dashboard packets are one-way, going from the user code on the cRio to the dashboard application on the Classmate, but not back.

If you are planning on using the Dashboard for debugging (And are using LabVIEW), you can just put controls on your VI's (any of them) and adjust them at runtime, if you run Robot Main.vi instead of doing a full build. You can probe wires, look at graphs, and edit tuning constants in real time. When you are done, you can (after stopping execution of robot main) right-click on the control and say "Data Operations -> Make Current value default" to save it, even when you do a full build.
__________________
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
  #2   Spotlight this post!  
Unread 27-10-2010, 19:09
Dkt01's Avatar
Dkt01 Dkt01 is offline
Programming Mentor
AKA: David
FRC #1756 (Argos)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Peoria, Il
Posts: 145
Dkt01 will become famous soon enough
Re: Custom Dashboard Program Ideas?

tutkows1:
I need to clarify. We didn't actually measure the air pressure. We just used the same sensor the air compressor uses to determine full vs. not full. If I remember right, the sensor was already one of our digital inputs, so we made a boolean indicator on the dashboard.
  #3   Spotlight this post!  
Unread 01-11-2010, 23:05
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?

@DKt01
Oh, i has hoping you could help me in the quest to find one for a personal project.

I like the tabs for debugging.
  #4   Spotlight this post!  
Unread 27-10-2010, 22:04
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Custom Dashboard Program Ideas?

Quote:
Originally Posted by apalrd View Post
...plus some tabs for subsystem debugging.
This can be crucial. Having the ability to put the raw sensor values on screen is an important part of defensive programming. If the robot is misbehaving, it's nice to be able to quickly pinpoint a disconnected gyro or limit switch.

There were ideas for an additional tab that we never got around to implementing: a "preflight checklist" with appropriate indicators.
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