Go to Post What a great organization! - HoltDan [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-02-2013, 10:28
lmnotran lmnotran is offline
Registered User
AKA: Mason Tran
FRC #2169 (KING TeC)
Team Role: Programmer
 
Join Date: Nov 2009
Rookie Year: 2008
Location: Savage, MN
Posts: 6
lmnotran is an unknown quantity at this point
Bidirectional Communication over UDP

Hello all,

Our team is wondering what the best way is to communicate between an Arduino on the robot and the driver station. We have looked into using UDP but have noticed that on the FMS White Paper rev.A UDP communication on ports 1130 and 1140 is directional. It is my understanding that UDP by nature is direction-agnostic - our mentor made a comparison to standing on a mountain and shouting and whomever hears it, hears it. Is it possible to communicate back and forth on a single port using two UDP streams and filtering out data that isn't intended for that listener?
__________________
Mason Tran
FRC Team 2169 KING TeC
Lead Programmer
Reply With Quote
  #2   Spotlight this post!  
Unread 02-02-2013, 11:47
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: Bidirectional Communication over UDP

Quote:
Originally Posted by lmnotran View Post
It is my understanding that UDP by nature is direction-agnostic - our mentor made a comparison to standing on a mountain and shouting and whomever hears it, hears it.
Not entirely true. Your mentor might be referring to UDP broadcast, in which case everyone in "earshot" (subnet) can hear your message.

(S)he might also be referring to UDP on a hub, in which case everyone attached to the hub hears the messages and dutifully ignores them as appropriate.

However, the default usual use case for UDP is from one source machine to a specific target machine.
Reply With Quote
Reply


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


All times are GMT -5. The time now is 12:15.

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