View Single Post
  #3   Spotlight this post!  
Unread 09-06-2010, 23:57
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: ZomB Dashboard 0.6: Beta testers wanted

Quote:
Originally Posted by slavik262 View Post
May I ask why you'd use TCP for a real-time system where the newest packets are far more important than any garbled ones that would need to be resent?
To overcome the 50 hz limit of the dashboard packets (since it was TCP or DB packets this year, no udp) I did put a config option in that sends them in smaller groups rather than larger ones, though that need testing. And the TCP stream can also update each control as it comes in, instead of all at once after the data has come in, been processed, etc, so (minor) improvement in that regard. And I don't think under most field circumstances, a group of data on the tcp wire will be resent so many times it is slower than 20ms. (And, transmission errors on udp are fairly low from what i've seen)
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib