View Single Post
  #2   Spotlight this post!  
Unread 02-07-2006, 20:06
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: The complete FIRST Programming manual project

Custom dashboard apps are an interesting challange.

The packet description included with the IFI dashboard is accurate. It's missing 1 important thing: how to tell OI packets from RC packets.

RC packets are interleaved regularly. That is: 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3...

OI packets have the same type as RC1 packets. If a number of these are recieved in a row, than you know that you are in OI mode. I prefer to use 3 OI packets to indicate this. It could be done with as little as two.

Also, the radio channel in the OI packets is what the OI uses. The radio channel in the RC packets is what the RC uses.

I believe that the dashboard is the raw data that is sent over the radios. An OI without a tether or a radio will send no data. An OI without a tether but with a radio (but no RC) will send OI packets but not RC packets.

One recomendation: wire a switch to replace the jumper. It makes your life much, much easier.