View Single Post
  #2   Spotlight this post!  
Unread 24-03-2007, 11:15
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,653
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: Why 26ms update rate?

This is as fast as the master processor gets a full data packet from the radio modem. Consequently, you won't get updates from your joysticks any faster than that, so theres little point in updating the user processor faster than that for most things. Why so long between packets from the radio? The modem runs at 19200 bps. That's all. Not coincidentally, that update makes for about 512 bits per update. Just 64 bytes of data per packet to carry: 4 joysticks at probably 5 bytes each, plus team number and channel info, competition control data, presumably checksums and/or error correcting info, stuff I haven't thought of, and possible room for future expansion.

So, mostly, the update is that fast because that's as fast as it can reasonably be made and still get data everywhere it needs to go.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter