Go to Post Swerve Drive (n.) - a set of mechanisms to ensure the robot will sit dead on the field for half of that robot's first event - Kevin Leonard [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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 11-06-2001, 16:40
Khalicl13 Khalicl13 is offline
Registered User
#0486 (The Positronic Panthers)
 
Join Date: Jun 2001
Location: Wallingford, PA
Posts: 12
Khalicl13 is an unknown quantity at this point
Send a message via AIM to Khalicl13 Send a message via Yahoo to Khalicl13
Exclamation Dashboard Viewer

I have recently became interrested in developing Windows applications and and I thought about how I can apply it to my robotics club. One way I thought of using it was to make a Dashboard Viewer that displays the data from the robot and operator interfaces.
I know that there are some people who have already created such programs. I was just wondering has anyone else attempted to create such a program. If so, I'd like to get in contact with you about creating a Dashboard Viewer.
My goal is to create a more customizable version of the Dashboard Viewer. Wish me luck.
__________________
Khalid Harun, Student Project Manager, Programmer, Webmaster
Team 486 - The Positronic Panthers
www.positronicpanther.com
_Khalid_13@yahoo.com
  #2   Spotlight this post!  
Unread 11-06-2001, 20:30
Unsung FIRST Hero
Matt Leese Matt Leese is offline
Been-In-FIRST-Too-Long
FRC #1438 (The Aztechs)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1998
Location: Long Beach, CA
Posts: 937
Matt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond repute
Send a message via AIM to Matt Leese
I did one in C/C++ back in 2000. It worked pretty well and I believe some people had some luck with it. In general most people found Dashboard Viewers to be unneeded but I'm sure some people found them useful. I know that Nate Smith did a version in Visual Basic.

My program, including source code, can be found at
http://www.bcpl.net/~mleese/dashboard.html

I did my Dashboard Viewer in two separate components. One was the graphical interface and the other was the library for reading from the dashboard port. I tried my best to abstract out the library for the interface as much as possible. The GUI is in C++ built with MFCs (because it was fast and I wanted a quick GUI). The library is written in straight C. They both have a dependency on the Win32 library. Someone (I forget their name but probably have it around somewhere) was kind enough to provide Java bindings for the library. That's not included with the source code above but I have it sitting on my harddrive if you're interested.

If you want a technical description of what I developed, feel free to ask. I can walk you through most of it as it isn't terribly complex. It does however use both Serial Port programming and Multithreading (the multithreading is done fairly badly but I haven't updated it since I learned better ). Anyway, I hope some of this helps.

Matt
  #3   Spotlight this post!  
Unread 11-06-2001, 21:12
Tom Schindler's Avatar
Tom Schindler Tom Schindler is offline
Now an AIR Striker....
FRC #0078
 
Join Date: May 2001
Rookie Year: 1997
Location: Middletown, RI
Posts: 462
Tom Schindler has a reputation beyond reputeTom Schindler has a reputation beyond reputeTom Schindler has a reputation beyond reputeTom Schindler has a reputation beyond reputeTom Schindler has a reputation beyond reputeTom Schindler has a reputation beyond reputeTom Schindler has a reputation beyond reputeTom Schindler has a reputation beyond reputeTom Schindler has a reputation beyond reputeTom Schindler has a reputation beyond reputeTom Schindler has a reputation beyond repute
Send a message via AIM to Tom Schindler
Quote:
Originally posted by Matt Leese
In general most people found Dashboard Viewers to be unneeded but I'm sure some people found them useful.
We needed to use a dashboard program to view the position of our arm... when we were wedging with the bridge, we could have a button that moved our arm to a specific position.. but in order to set taht position we needed to have the dashboard there to view the position. It was very helpful... muhc better than doing a debug within the program

Tom
  #4   Spotlight this post!  
Unread 12-06-2001, 00:21
Khalicl13 Khalicl13 is offline
Registered User
#0486 (The Positronic Panthers)
 
Join Date: Jun 2001
Location: Wallingford, PA
Posts: 12
Khalicl13 is an unknown quantity at this point
Send a message via AIM to Khalicl13 Send a message via Yahoo to Khalicl13
Thanks for the Response

Thanks for the quick response. I thought that I wouldn't get anything for a couple of days. thanx.
I'll be sure to contact some of you in a few days right after I get finished with my finals. I know that there are some really good dashboard viewers out there. Instead of displaying the data in terms of numbers, my goal is to eventually replace them with graphics such as the positrion of an arm or a voltage meter that is supplied to the drill motor or the exact position of the joysticks.
Eventually, I hope this makes some of the teadious tasks of calibrating joysticks and the Victors much easier.

Well, anyway, this will be among my tasks to do over the summer. I will be sure to contact some of you sometime next week.
And again, Thanks.
__________________
Khalid Harun, Student Project Manager, Programmer, Webmaster
Team 486 - The Positronic Panthers
www.positronicpanther.com
_Khalid_13@yahoo.com
  #5   Spotlight this post!  
Unread 12-06-2001, 03:10
Unsung FIRST Hero
Nate Smith Nate Smith is offline
FRC Key Volunteer Trainer
AKA: CrazyNate
no team
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Old Town, Maine
Posts: 1,029
Nate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to behold
Send a message via AIM to Nate Smith Send a message via Yahoo to Nate Smith
Yep, I made one...more specifically, I made a OCX that can be used in Visual Basic, VC++(or so I've heard), and just about anywhere else that supports ActiveX controls...I'm almost certain I've still got a copy of it around here somewhere...just a word of warning, it hasn't been tested with the 2001 control system, not that it should make a difference...my understanding of the changes to the dashboard for 2001 from 2000 was that they just changed one of the values returned (Port 1 X rather than Port 1 Wheel)

Nate
__________________
Nate Smith
nsmith@smythsoft.com
12 seasons, 4 teams, and more time logged behind the scorekeeper's table than I care to remember...
returning for 2011? only time will tell...
  #6   Spotlight this post!  
Unread 13-06-2001, 16:32
Ameya's Avatar
Ameya Ameya is offline
Freelance Goon
FRC #0293 (SPIKE Robotics)
Team Role: Alumni
 
Join Date: May 2001
Rookie Year: 2000
Location: Pennington, NJ
Posts: 67
Ameya is on a distinguished road
Send a message via ICQ to Ameya Send a message via AIM to Ameya
Question Dashboard ActiveX control

Quote:
Originally posted by Nate Smith
Yep, I made one...more specifically, I made a OCX that can be used in Visual Basic, VC++(or so I've heard), and just about anywhere else that supports ActiveX controls...I'm almost certain I've still got a copy of it around here somewhere...just a word of warning, it hasn't been tested with the 2001 control system, not that it should make a difference...my understanding of the changes to the dashboard for 2001 from 2000 was that they just changed one of the values returned (Port 1 X rather than Port 1 Wheel)

Nate
Could you post the source for the ocx file?

__________________
Ameya Agaskar
Team 293 alumnus
  #7   Spotlight this post!  
Unread 15-06-2001, 23:03
mccullocht mccullocht is offline
Registered User
no team (n/a)
 
Join Date: Jun 2001
Location: Bloomfield, MI
Posts: 1
mccullocht is an unknown quantity at this point
Send a message via AIM to mccullocht
Java bindings for dashboard

Actually, I'm the one who wrote the bindings for the dashboard in java, so if you're interested in that, just email me (I think my email address is shown on this thing or something) and I can send it to you. I wrote an interface between Matt Leese's C library and Java, and then wrote a java wrapper class. The interface is slightly (very) obtuse, and I'm planning on rewriting it in native java. I also plan on writing a java class library of UI widgets for displaying different feedback from the robot in different ways. Again, if you're interested, just email me.
__________________
Trevor
----------
"Thou shalt not follow the Null Pointer, for at it's end Madness and Chaos lie." -- Anonymous
  #8   Spotlight this post!  
Unread 15-06-2001, 23:24
Unsung FIRST Hero
Nate Smith Nate Smith is offline
FRC Key Volunteer Trainer
AKA: CrazyNate
no team
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Old Town, Maine
Posts: 1,029
Nate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to behold
Send a message via AIM to Nate Smith Send a message via Yahoo to Nate Smith
Re: Dashboard ActiveX control

Quote:
Originally posted by Ameya


Could you post the source for the ocx file?

Assuming that I can find the CD I put it on, sure...let me see what I can find...
__________________
Nate Smith
nsmith@smythsoft.com
12 seasons, 4 teams, and more time logged behind the scorekeeper's table than I care to remember...
returning for 2011? only time will tell...
  #9   Spotlight this post!  
Unread 15-06-2001, 23:36
Unsung FIRST Hero
Nate Smith Nate Smith is offline
FRC Key Volunteer Trainer
AKA: CrazyNate
no team
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Old Town, Maine
Posts: 1,029
Nate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to behold
Send a message via AIM to Nate Smith Send a message via Yahoo to Nate Smith
hmmm, you can't add a file attachment when you're editing a post, so here's the code...i think i completed any changes I was making to it...I do see that the code is updated for the 2001 port format change...let me know what you find out...
Attached Files
File Type: zip dash_2k.zip (25.0 KB, 186 views)
__________________
Nate Smith
nsmith@smythsoft.com
12 seasons, 4 teams, and more time logged behind the scorekeeper's table than I care to remember...
returning for 2011? only time will tell...
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
Has anyone implemented a dashboard viewer in WinCE? archiver 2001 1 24-06-2002 02:40
Team #118 ccisd/jsc robosonauts dashboard viewer public now archiver 2000 0 23-06-2002 23:12
Firestorm Dashboard Viewer Beta 2 archiver 2000 0 23-06-2002 22:58
Firestorm Dashboard Viewer archiver 2000 0 23-06-2002 22:57
Dashboard Viewer Beta Tester Needed archiver 2000 8 23-06-2002 22:45


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

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