Go to Post Only a few more days till i get to see her again! This is sad you would think I was talking about a chick... no wonder my gf gets jealous. XD - sportzkrazzy [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
  #16   Spotlight this post!  
Unread 29-02-2004, 13:39
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,189
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: Dashboard

yeah i would also find that very helpful. I am not going to make a dashboard program this year, but it would be nice if i could figure out how to code this all in vb.
  #17   Spotlight this post!  
Unread 29-02-2004, 14:30
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

Thanks for doing that then. I was hoping someone would release something on making daskboards.

As for the code being specific to your robot, I knew that it was and by asking you to give code out I wasn't aiming to just plug it in and make it work for my team's bot. I was merely trying to look at code to see how I could perhaps do similar stuff for my team's bot.

I like the idea of releasing a white paper and I hope you do, it would be very beneficial and much appreciated.
  #18   Spotlight this post!  
Unread 29-02-2004, 15:12
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

We found our positioning system to be accurate enough to be benefitial. Sure, there are some problems due to wheel slippage and climbing the center structure, but all in all -- it works well.
  #19   Spotlight this post!  
Unread 29-02-2004, 15:47
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

Quote:
Originally Posted by Nick Fury
...Yeah, I'm one of those crazy open source hippies....
I am not a hippie.

I'm more of an extremist.
__________________

  #20   Spotlight this post!  
Unread 29-02-2004, 17: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

Quote:
Originally Posted by Texan
I am not a hippie.

I'm more of an extremist.
eh, yea, I hear ya. One of the main things thats holding me back though is the other programmer on my team is very (very very very) anti-open source. Please dont rush me though. I WILL release the code and a white paper, but I want to make sure its well optomized and well documented, plus im a full time student.
__________________
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
  #21   Spotlight this post!  
Unread 29-02-2004, 18:40
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

Quote:
Originally Posted by jacob_dilles
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.
That was my concern with reading/writing a file at first as well, but it actually worked fairly well.

The one problem with this method that I ran into was when trying to multiplex data. I was unable to create any useful data from multiplexed bits last year, although I'm not sure why. I've been working on the revamping the program for this year, and I think I'm having similar problems, although I'm not entirely sure. I need some more time to work with it.

Another solution is to use ports. I don't know how this works, but a computer scientist who helps us mentioned it as another way, but I never tried using them. C++ has many classes that let you use ports very easily, and apparently Flash MX has stuff to read data on certain ports, but I've never used this.

If you have any questions, I can send you the code from last year, but it's not polished or neat, but it shows how we got the job done. The Flash MX frontend I can't give you, I'm afraid, as it would not help you. It was written specifically for our robot, and I'm not sure how much use it'd be for you. Talk to SuperDan if you have any questions on the Flash MX part though, that was his job.
__________________
AIM --> Woloi
Email --> ian@woloschin.com
  #22   Spotlight this post!  
Unread 29-02-2004, 19:12
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

does anyone know anything about accesing ram in flash? i know you can do it in C++... so like instead of writing to a file which has got to be bad; i dont know why its just badl; you just share a couple of bytes in ram. the flash could call the c++.

trying to thing of a way to get around the file I/O
__________________
--------------------------
"You're not a real programmer until all your sentences end with semicolons;"
  #23   Spotlight this post!  
Unread 29-02-2004, 21:04
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: Dashboard

I would apreciate just a zip of the version you showed us and us adapting it. No sense in reinventing the wheel. Of course, I wish that IFI would just relaease source code for both IFI_Loader and Dashboard, since they're both VB.
  #24   Spotlight this post!  
Unread 29-02-2004, 21:23
Frizle Frizle is offline
Registered User
AKA: Patrick Nice
#0447 (Team Roboto)
Team Role: Programmer
 
Join Date: Feb 2004
Location: Anderson, In
Posts: 2
Frizle is an unknown quantity at this point
Re: Dashboard

how exactly does the dashboard port work anyway?
the data sheet from first says some thing about interlaced data frames
how in vb would you read the data?
  #25   Spotlight this post!  
Unread 29-02-2004, 23:05
seanwitte seanwitte is offline
Registered User
None #0116
Team Role: Engineer
 
Join Date: Nov 2002
Location: Herndon, VA
Posts: 378
seanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant future
Send a message via AIM to seanwitte
Re: Dashboard

I uploaded a blank VB template application and our customized 2004 dashboard in the whitepapers section. The blank app has all of the backend plumbing set up to read and process the data from the dashboard port. All you need to do is add GUI elements to display the stuff you want to see, and edit ShowDataFrame1(), ShowDataFrame2(), and ShowDataFrame3(). Those three subs are called when a frame of that type is ready. If you do anything really cool show me at Richmond or Annapolis.
  #26   Spotlight this post!  
Unread 01-03-2004, 00:01
Frizle Frizle is offline
Registered User
AKA: Patrick Nice
#0447 (Team Roboto)
Team Role: Programmer
 
Join Date: Feb 2004
Location: Anderson, In
Posts: 2
Frizle is an unknown quantity at this point
Re: Dashboard

wow man that is a really nice looking interface
i wish i could do some thing that nice
by the way how do you get the way points from the program in to the robot?
thanks for the help
  #27   Spotlight this post!  
Unread 01-03-2004, 07:34
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: Dashboard

Use the MSCOMM control set to Binary mode (as opposed to text). Unfortunately, the only way to have a developer's liscense for it is to get an Enteprise Edition, which may not be accessable.
  #28   Spotlight this post!  
Unread 01-03-2004, 08:04
seanwitte seanwitte is offline
Registered User
None #0116
Team Role: Engineer
 
Join Date: Nov 2002
Location: Herndon, VA
Posts: 378
seanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant future
Send a message via AIM to seanwitte
Re: Dashboard

Quote:
Originally Posted by Frizle
wow man that is a really nice looking interface
i wish i could do some thing that nice
by the way how do you get the way points from the program in to the robot?
thanks for the help
I haven't had a chance to add the rest of the data structure for the waypoints, so for now we're only using it as a reference. When we tell the robot to drive to a waypoint there are several options. It can drive forward or reverse, it can stop at the waypoint or drive through it, etc. We also want to control some actuators on the robot so theres more to it than just following waypoints. We have a finite state machine that defines each step in a behavior. The code isn't generated automatically, yet, so we just use the plotted waypoints as a guide.
  #29   Spotlight this post!  
Unread 01-03-2004, 08:58
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

Quote:
Originally Posted by jacob_dilles
does anyone know anything about accesing ram in flash? i know you can do it in C++... so like instead of writing to a file which has got to be bad; i dont know why its just badl; you just share a couple of bytes in ram. the flash could call the c++.

trying to thing of a way to get around the file I/O
I don't think it's possible to access RAM in Flash, it just doesn't make sense for it to have that capability. It may be able to read TCP ports though, in which case you can (I think) easily pipe the data through an obscure TCP port that no one else would be using. I'll look into that over the next few days.
__________________
AIM --> Woloi
Email --> ian@woloschin.com
  #30   Spotlight this post!  
Unread 01-03-2004, 09:21
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

Flash can't do things like that. It is for animations and web sites, not actual programs.
__________________

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:13.

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