View Single Post
  #16   Spotlight this post!  
Unread 09-02-2012, 10:25
Chris Hibner's Avatar Unsung FIRST Hero
Chris Hibner Chris Hibner is offline
Eschewing Obfuscation Since 1990
AKA: Lars Kamen's Roadie
FRC #0051 (Wings of Fire)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1997
Location: Canton, MI
Posts: 1,488
Chris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond repute
Re: Image processing on the driver station laptop

I thought about this a little more, and the behavior of the UDP seems logical to me now. The protocol is made for transferring contiguous data (like strings or files) where missing a packet is a bad idea (it would make your string nonsense or corrupt your file). Therefore, making sure all of the data is received is more important than the timing of the data.

Keep in mind that prior to this experiment, my knowledge of TCP or other comm protocols aimed at the PC world is virtually nil. My experience is more in the real-time sensor protocols where the data is usually single sensor readings that change rapidly. In my world, receiving everything that is sent is usually much less important than making sure you have the most recent data (although in an ideal world, you like to have both).

I guess we're kind of trying to use a square peg to fit through a round hole. I'm seeing that you may have to whittle the peg down a bit, but eventually you can get it to fit. I think I have what I need to make it work.
__________________
-
An ounce of perception is worth a pound of obscure.