Quote:
Originally Posted by slavik262
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)