Go to Post You wake up at 2:54 am and aren't even mad bc robots - fargus111111111 [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Spotlight this post!  
Unread 10-06-2010, 01:22
slavik262's Avatar
slavik262 slavik262 is offline
We do what we must because we can.
AKA: Matt Kline
FRC #0537 (Charger Robotics)
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Sussex, WI
Posts: 310
slavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to behold
Send a message via AIM to slavik262
Re: ZomB Dashboard 0.6: Beta testers wanted

Quote:
Originally Posted by byteit101 View Post
To overcome the 50 hz limit of the dashboard packets (since it was TCP or DB packets this year, no udp)
Err... Firstly, isn't 50 Hz fast enough? You know the average monitor displays at a max of 60 Hz and that cinema movies are 24 Hz? If 50 Hz is fast enough to sample input to the robot, one would think it would be fast enough to sample output as well, especially since anything faster than 50 Hz isn't very useful to a human reading the display. Also, you know the DB packets are UDP, yes? The bit in the parens confuses me.

Quote:
Originally Posted by byteit101 View Post
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
Processing a group of controls all passed in as a single packet is faster than each control at once coming through a TCP stream since you spend less time waiting (if only for a very short time) for data to filter through the network stack before you do something with it - a single blocking receive call would obviously be faster than multiple ones. You're still ignoring the importance of using UDP - it allows you to just ignore bad data, not wait for it to be resent. Even if there are few transmission errors, you still have to wait on those in TCP.

There's a reason WPI chose UDP and implemented the dashboard data packets in the manner they did. Besides, even if using TCP did increase performance a small bit, 50 Hz is a more than ample refresh rate for a human.
__________________
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ZomB: a C# Drag and Drop Dashboard byteit101 Programming 39 14-05-2010 21:01
Looking for Beta testers at NJ Regional knittinggears General Forum 4 02-03-2010 18:56
Beta testers needed scitobor 617 Website Design/Showcase 9 30-05-2005 12:48
LINUX Users: Requesting beta testers jdong Programming 35 20-03-2005 13:28
Beta Testers blueWarrior FIRST-related Organizations 4 18-06-2003 19:48


All times are GMT -5. The time now is 03:26.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi