Go to Post Well, I think it's awesome and the best thing ever. But I'm biased. ;) - OldDan1168 [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 28-02-2004, 18:31
Kevin Karan's Avatar
Kevin Karan Kevin Karan is offline
Linux Guy
AKA: maxdamage
None #0174 (Arctic Warriors)
Team Role: Alumni
 
Join Date: Jan 2003
Location: Liverpool, NY
Posts: 141
Kevin Karan will become famous soon enoughKevin Karan will become famous soon enough
Send a message via AIM to Kevin Karan
Dashboard

Heres a screenshot of our dashboard for this year. It has speeds for the encoders and the general position of the robot as seen by the IrSensors
Attached Thumbnails
Click image for larger version

Name:	dashboard.jpg
Views:	393
Size:	93.4 KB
ID:	1913  
__________________
It isnt ALWAYS the programmers falt!
2004: Buckeye team website award
2002: Rutgers semi-finalists
2001: National semi-finalists
2001: Rutgers semi-finalists
1998: Manchester Rookie All-Star Award

Last edited by Kevin Karan : 28-02-2004 at 18:33.
  #2   Spotlight this post!  
Unread 28-02-2004, 18:41
deltacoder1020's Avatar
deltacoder1020 deltacoder1020 is offline
Computer Guy
AKA: Dav
#1020 (The Indiana Prank Monkeys)
Team Role: Programmer
 
Join Date: Jan 2004
Location: Muncie, Indiana
Posts: 340
deltacoder1020 has a spectacular aura aboutdeltacoder1020 has a spectacular aura about
Send a message via AIM to deltacoder1020
Re: Dashboard

looks pretty good
__________________
Team 1020, the Indiana Prank Monkeys (www.team1020.org)
  #3   Spotlight this post!  
Unread 28-02-2004, 18:50
jacob_dilles's Avatar
jacob_dilles jacob_dilles is offline
Registered User
AKA: theshadow
FRC #0620 (WarBots)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Vienna, VA
Posts: 245
jacob_dilles will become famous soon enough
Send a message via AIM to jacob_dilles
Re: Dashboard

awsome lookin. is that the demo dashboard or the full version?
edit: i went to if site. there is no full verion dashboard. how did you get it to look all cool like that?? did you write it in VB or is there a button im missing? i wana be cool like you!
__________________
--------------------------
"You're not a real programmer until all your sentences end with semicolons;"

Last edited by jacob_dilles : 28-02-2004 at 18:56. Reason: my stupidness
  #4   Spotlight this post!  
Unread 28-02-2004, 19:28
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Re: Dashboard

I wish I had time to do stuff like that. :cry: Very nice. Did your robot actually have a map and store its position on it? We had thought about doing that this year, but decided it would take to long and instead would do it over the summer and use it next year.
__________________

  #5   Spotlight this post!  
Unread 28-02-2004, 20:05
Kevin Karan's Avatar
Kevin Karan Kevin Karan is offline
Linux Guy
AKA: maxdamage
None #0174 (Arctic Warriors)
Team Role: Alumni
 
Join Date: Jan 2003
Location: Liverpool, NY
Posts: 141
Kevin Karan will become famous soon enoughKevin Karan will become famous soon enough
Send a message via AIM to Kevin Karan
Re: Dashboard

I coded it in VB. The robot stores its position as a double, then I convert it into a char (255x255 resolution) and send it via 2 user bytes. The speed is sent via 4 user bytes and 2 limit variables (not used otherwise by us). Designing the dash actualy took the longest, the parsing code was pretty easy.
__________________
It isnt ALWAYS the programmers falt!
2004: Buckeye team website award
2002: Rutgers semi-finalists
2001: National semi-finalists
2001: Rutgers semi-finalists
1998: Manchester Rookie All-Star Award
  #6   Spotlight this post!  
Unread 28-02-2004, 20:22
Nick Fury Nick Fury is offline
Registered User
#0900
 
Join Date: Feb 2004
Location: Durham, North Carolina
Posts: 31
Nick Fury has a spectacular aura aboutNick Fury has a spectacular aura about
Re: Dashboard

I'm not meaning to be a thorn in the side but I have a question for you. You posted a screen shot of the program but you did not post any code for the program. Why? I mean, you did a great job coding it, why not share it? I would like to look at the code for a dashboard to see how it works. I think it would be really cool. Yeah, I'm one of those crazy open source hippies. I can't force you to share the code but I wish you would considering FIRST robotics is an educational expierience and education has typically been a place for open source. Again, I'm not meaning to be a thorn in your side and if you don't agree with me then just take what I said and ignore it.
  #7   Spotlight this post!  
Unread 29-02-2004, 01:47
Ian W. Ian W. is offline
College? What?
no team (Gompei and the Herd)
Team Role: College Student
 
Join Date: Jan 2002
Rookie Year: 2002
Location: Worcester, MA | Smithtown, NY
Posts: 1,464
Ian W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to all
Send a message via AIM to Ian W.
Re: Dashboard

That's pretty cool looking.

One thing I might suggest? Last year, me and my friend (SuperDan) created a dashboard "suite" of programs last year. It used a C++ backend to read/parse data, and a Flash MX frontend to display data.

This allowed us to make a pretty crazy frontend, and Dan actually made a small model of the robot, which made it very easy to see what was going on without reading.

Keep in mind, you don't want to be reading absolute values so much as seeing relative values. It's nice to know you're going exactly 10 ft/sec, but I find it more useful to see a bar that gets higher the close I get to full speed. Or see an arm that moves on the computer screen as the arm on our robot moves instead of a "LED" lighting up.

I like the way you did your output, it's very simple and it's following IFI's dashboard so people should be somewhat familiar with it. But I think that depending on how you interpret data, it can be much improved upon. Just remember, you only have 2 minutes to play, most of the time you'll be looking at the field, not a laptop, so you want those few seconds spent looking at the laptop to give you as much data as possible, sometimes numbers take too long to read.
__________________
AIM --> Woloi
Email --> ian@woloschin.com
  #8   Spotlight this post!  
Unread 29-02-2004, 02:03
KevinB's Avatar
KevinB KevinB is offline
Registered User
AKA: Alum
no team
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2001
Location: AL
Posts: 188
KevinB will become famous soon enoughKevinB will become famous soon enough
Send a message via ICQ to KevinB
Re: Dashboard

Quote:
Originally Posted by Nick Fury
Why? I mean, you did a great job coding it, why not share it?
The reason he probably didn't share the dashboard code is because it depends on his specific ROBOT to work properly. Unless your robot has identical shaft encoders connected the same way to the same motors and the same wheels all running the same robot code, the positioning data won't work for your robot.
  #9   Spotlight this post!  
Unread 29-02-2004, 02:11
jacob_dilles's Avatar
jacob_dilles jacob_dilles is offline
Registered User
AKA: theshadow
FRC #0620 (WarBots)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Vienna, VA
Posts: 245
jacob_dilles will become famous soon enough
Send a message via AIM to jacob_dilles
Re: Dashboard

Quote:
Originally Posted by Ian W.
Last year, me and my friend (SuperDan) created a dashboard "suite" of programs last year. It used a C++ backend to read/parse data, and a Flash MX frontend to display data.
that sounds awsome! how did you intergrate flash with C++? ill bet it looked great. you mind sharing some tips, our driver wants a laptop this year and i was about to write a termanal app that had 2 bar graphs based on printf()... kinda pathetic in comparison
__________________
--------------------------
"You're not a real programmer until all your sentences end with semicolons;"
  #10   Spotlight this post!  
Unread 29-02-2004, 02:22
KevinB's Avatar
KevinB KevinB is offline
Registered User
AKA: Alum
no team
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2001
Location: AL
Posts: 188
KevinB will become famous soon enoughKevinB will become famous soon enough
Send a message via ICQ to KevinB
Re: Dashboard

One way to do it would be to have the C++ App write to a file and have the Flash App read the file.
  #11   Spotlight this post!  
Unread 29-02-2004, 02:32
jacob_dilles's Avatar
jacob_dilles jacob_dilles is offline
Registered User
AKA: theshadow
FRC #0620 (WarBots)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Vienna, VA
Posts: 245
jacob_dilles will become famous soon enough
Send a message via AIM to jacob_dilles
Re: Dashboard

yeah but thats kinda skech... think refresh rate at least 15 times a second. i would think VB would be best here, but c++ is a lot more direct in accessing ports.
__________________
--------------------------
"You're not a real programmer until all your sentences end with semicolons;"
  #12   Spotlight this post!  
Unread 29-02-2004, 04:39
10intheCrunch's Avatar
10intheCrunch 10intheCrunch is offline
Who's John V-Neun?
AKA: Alex Baxter
None #0254 (Cheesy Poofs)
Team Role: College Student
 
Join Date: Feb 2004
Rookie Year: 2004
Location: San Jose, CA
Posts: 129
10intheCrunch is a jewel in the rough10intheCrunch is a jewel in the rough10intheCrunch is a jewel in the rough10intheCrunch is a jewel in the rough
Send a message via AIM to 10intheCrunch
Re: Dashboard

Can you explain a little about how you keep an accurate position of your robot during a match? Is it based on speed and direction, and if so how do you account for slipping wheels or other irregularities?

We thought about designing a positioning system briefly at 254 but decided against it for the complexity and predicted inaccuracy (with proximity sensors on gear teeth and possibe optical encoders on the motors).

What it boils down to: can you keep an accurate position even when bumping into things, dueling with other bots, or climbing the stairs, where your wheels will be slipping?

Thanks,
~Alex Baxter
Programming, Team 254
  #13   Spotlight this post!  
Unread 29-02-2004, 09:51
jacob_dilles's Avatar
jacob_dilles jacob_dilles is offline
Registered User
AKA: theshadow
FRC #0620 (WarBots)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Vienna, VA
Posts: 245
jacob_dilles will become famous soon enough
Send a message via AIM to jacob_dilles
Re: Dashboard

theoreticly you can accuretly track postion with an acceleromitor and a compas. everything else just adds accurcy.
__________________
--------------------------
"You're not a real programmer until all your sentences end with semicolons;"
  #14   Spotlight this post!  
Unread 29-02-2004, 11:31
Kevin Karan's Avatar
Kevin Karan Kevin Karan is offline
Linux Guy
AKA: maxdamage
None #0174 (Arctic Warriors)
Team Role: Alumni
 
Join Date: Jan 2003
Location: Liverpool, NY
Posts: 141
Kevin Karan will become famous soon enoughKevin Karan will become famous soon enough
Send a message via AIM to Kevin Karan
Re: Dashboard

We get a position, though not all that accurate, within a few feet, with a combination of ir sensors and encoders.
And Nick, I was going to finish cleaning up the code and make a white paper with an example since noone else had.
EDIT: let me explain this alitle better, The way we get position is to use the encoders for distance and the sensors for direction. The encoders do a horrible job figureing out where the robot is pointing, but their good for getting distance. The encoders are great for getting what direction the robot is pointing, but horrible at getting distance. They also try to detect when the other is not working. For instance, if the encoders show the robot is moving, but the trackers show that its stopped, the robot will first deturmine if there is somthing wrong with the trackers by giving up its current lock and relocking it on the beacon, if its the same, it can assume the encoders are the problem, and will ignore them untill the trackers show the robot has moved.
__________________
It isnt ALWAYS the programmers falt!
2004: Buckeye team website award
2002: Rutgers semi-finalists
2001: National semi-finalists
2001: Rutgers semi-finalists
1998: Manchester Rookie All-Star Award

Last edited by Kevin Karan : 29-02-2004 at 11:52.
  #15   Spotlight this post!  
Unread 29-02-2004, 13:35
jacob_dilles's Avatar
jacob_dilles jacob_dilles is offline
Registered User
AKA: theshadow
FRC #0620 (WarBots)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Vienna, VA
Posts: 245
jacob_dilles will become famous soon enough
Send a message via AIM to jacob_dilles
Re: Dashboard

how bout some VB example code. please?
ooor flash & c++. PRETTY PLEASE?
lol white paper would be most exclent.
__________________
--------------------------
"You're not a real programmer until all your sentences end with semicolons;"
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
New dashboard packet spec Ameya Programming 2 08-01-2004 19:59
Dashreader.dll: A Visual Basic .NET user control to read the dashboard port Ameya Programming 4 12-01-2003 23:40
Dashboard Decoder Release Version 1.0 Now Available! archiver 2000 1 23-06-2002 22:50
New Innovation FIRST control system and the dashboard archiver 2000 0 23-06-2002 22:15
Dashboard Viewer Khalicl13 Technical Discussion 8 15-06-2001 23:36


All times are GMT -5. The time now is 13:14.

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