Go to Post Think, Write, Re-Think, Erase or Post - and Deal With it Either Way. - Chris Fultz [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 09-03-2005, 20:11
Kyle T Kyle T is offline
waiting for next season...
FRC #0810 (Mechanical Bulls)
Team Role: Programmer
 
Join Date: Feb 2005
Rookie Year: 2004
Location: Smithtown
Posts: 20
Kyle T is an unknown quantity at this point
2004 Dashboard Protocal vs 2005 Dashboard Protocal

I've only started programming for the FIRST robotics competition this year, and I'm wondering if the 2004 dashboard protocal is compatible with 2005. On first inspection, they seemed identical (minus breakers using the user_bytes), but now I'm not so sure.

I've written an ActiveX control in visual basic for this year, and was going to submit it to whitepapers, and then I noticed a similar one for last year (2004)'s dashboard software. Are the two pieces of sofware identical in purpose, or should I submit mine anyway?

Thanks,

Kyle
  #2   Spotlight this post!  
Unread 09-03-2005, 20:46
Biff Biff is offline
Registered User
AKA: Tom Cooper
#1227 (Techno Gremlins)
Team Role: Mentor
 
Join Date: Jan 2004
Location: Grand Rapids MI
Posts: 214
Biff is a jewel in the roughBiff is a jewel in the roughBiff is a jewel in the roughBiff is a jewel in the rough
Re: 2004 Dashboard Protocal vs 2005 Dashboard Protocal

Not sure about data protocols, but the biggest difference is this year you don't have to have your own transmitter for your OI, it's all handled with the completion port. They may have added some functions to pins for data in and out that are also on the radio port.
  #3   Spotlight this post!  
Unread 09-03-2005, 22:11
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: 2004 Dashboard Protocal vs 2005 Dashboard Protocal

Quote:
Originally Posted by Kyle T
I've only started programming for the FIRST robotics competition this year, and I'm wondering if the 2004 dashboard protocal is compatible with 2005. On first inspection, they seemed identical (minus breakers using the user_bytes), but now I'm not so sure.

I've written an ActiveX control in visual basic for this year, and was going to submit it to whitepapers, and then I noticed a similar one for last year (2004)'s dashboard software. Are the two pieces of sofware identical in purpose, or should I submit mine anyway?

Thanks,

Kyle
The packet spec is the same as last season. It doesn't hurt to post your work even if it might overlap.
  #4   Spotlight this post!  
Unread 14-03-2005, 17:41
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: 2004 Dashboard Protocal vs 2005 Dashboard Protocal

Here's what I want to know:
  • What are the two Configuration bytes?
  • What about the extra bits in CTRL_A and CTRL_C?
  • in RC_3, byte 11, why is it 04h instead of ZERO?
  • What are the error and warning codes?
  • What are the checksums?
  • How can you tell an OI packet from an RC packet in code?
  #5   Spotlight this post!  
Unread 14-03-2005, 22:19
Kyle T Kyle T is offline
waiting for next season...
FRC #0810 (Mechanical Bulls)
Team Role: Programmer
 
Join Date: Feb 2005
Rookie Year: 2004
Location: Smithtown
Posts: 20
Kyle T is an unknown quantity at this point
Re: 2004 Dashboard Protocal vs 2005 Dashboard Protocal

* What are the two Configuration bytes?
- The two configuration bytes are IFI proprietary and aren't supposed to be of use to the user, I believe.
* What about the extra bits in CTRL_A and CTRL_C?
- The seonc bits are designed this way, in future years, when the dashboard needs to communicate more data, additional bits can be added to differentiate as the amount of packets becomes larger than 2-bit binary can handle.
* What are the checksums?
-The checksums are IFI proprietary, and they make sure the packets have gone through without any major errors (i.e. incorrect amount of bytes).
* How can you tell an OI packet from an RC packet in code?
-It's impossible to detect a OI from an RC packet normally, as this is mainly a hardware difference (a switch setting), but creatively, we can get around this.

One can set a spare user byte, led byte or unused pwm to a value, lets say, 173, constantly in the robot's code, then check for that number where it should be in the RC packet. If it's there, it's an RC packet, if not, it's an OI packet.

Hope this answers your question,

Kyle
__________________
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
White Paper Discuss: 2004 Visual Basic 6 Dashboard Control CD47-Bot Extra Discussion 2 01-02-2005 01:56
Compatibility of 2004 and 2005 Controllers Orborde Control System 7 21-01-2005 07:34
White Paper Discuss: 2004 .NET dashboard control dll CD47-Bot Extra Discussion 7 13-01-2005 17:32
White Paper Discuss: Team 810's 2004 Dashboard Backend CD47-Bot Extra Discussion 1 07-03-2004 10:32


All times are GMT -5. The time now is 10:55.

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