Go to Post Sooo....in the famous words of Douglas Adams, Don't Panic. - Conor Ryan [more]
Home
Go Back   Chief Delphi > Competition > Rules/Strategy
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 13-02-2016, 21:43
gbear605's Avatar
gbear605 gbear605 is offline
Scarebear
FRC #1768 (Nashoba Robotics)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2014
Location: United States
Posts: 30
gbear605 is an unknown quantity at this point
Interrobot network communication

According to the FMS whitepaper, there are a limited number of ports that teams are "able to access on the competition field." Does this mean that if there are two devices on the robot, and they are both connected to the radio via ethernet, they can only communicate using those ports?

For example, if I connect a Jetson TK1 and the RoboRio to the radio via ethernet and try to use TCP over port 1768, will it work?
  #2   Spotlight this post!  
Unread 13-02-2016, 22:22
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,511
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Interrobot network communication

See R60:

Quote:
Originally Posted by R60
Communication between the ROBOT and the OPERATOR CONSOLE is restricted as follows:
  • A. Network Ports:
    • i. TCP 1180: Camera data from the roboRIO to the Driver Station (DS) when the camera is connected the roboRIO via USB, bi-directional.
    • ii. TCP 1735: SmartDashboard, bi-directional
    • iii. UDP 1130: Dashboard-to-ROBOT control data, uni-directional
    • iv. UDP 1140: ROBOT-to-Dashboard status data, uni-directional
    • v. HTTP 80: Camera connected via switch on the ROBOT, bi-directional
    • vi. HTTP 443: Camera connected via switch on the ROBOT, bi-directional
    • vii. UDP/TCP 554: Real-Time Streaming Protocol for h.264 camera streaming, bidirectional
    • viii. UDP/TCP 5800-5810: Team Use, bi-directional
    Teams may use these ports as they wish if they do not employ them as outlined above (i.e. TCP 1180 can be used to pass data back and forth between the ROBOT and the DS if the Team chooses not to use the camera on USB).
  • B. Bandwidth: no more than 7 Mbits/second.
1768 is not listed, and is not allowed. As I understand things, FMS firewalls forbidden ports out.
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.
  #3   Spotlight this post!  
Unread 14-02-2016, 00:07
scca229 scca229 is offline
FTA acquiring knowledge
AKA: Nate
FRC #0060
Team Role: Mentor
 
Join Date: Apr 2014
Rookie Year: 2011
Location: South of Phoenix, Arizona
Posts: 201
scca229 will become famous soon enoughscca229 will become famous soon enough
Re: Interrobot network communication

If the communication is only between devices on the robot and not intended to come back to the driver station, then the ports limitation doesn't come into play. The limitation is only if the communications is attempting to go out via the radio onto the wifi and hence through the FMS router.
__________________
Nate
  #4   Spotlight this post!  
Unread 14-02-2016, 07:58
rich2202 rich2202 is offline
Registered User
FRC #2202 (BEAST Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 1,116
rich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond repute
Re: Interrobot network communication

I would be careful on using a non-listed port. You don't know if FMS is using that port. While your hub/switch may pass the info between your devices, it may interfere with FMS using of that port.
  #5   Spotlight this post!  
Unread 14-02-2016, 08:28
sanelss sanelss is offline
Registered User
FRC #1658
 
Join Date: Dec 2012
Location: saint louis
Posts: 258
sanelss is a splendid one to beholdsanelss is a splendid one to beholdsanelss is a splendid one to beholdsanelss is a splendid one to beholdsanelss is a splendid one to beholdsanelss is a splendid one to behold
Re: Interrobot network communication

For reference our setup has a vision processing board and camera going to a switch which then go to 2nd Ethernet port on the radio.

Currently we have the vision processing board sending udp packets to both the roborio(local to robot) but also from vision board to driver station. Other than having to use specific ports for the udp packets are there other potential issues?

I did have an issue previously where i had to bridge the networks on the radio setup page to make it work but i was using the wrong ports at the time and obviously can't do that once it's flashed at competition. I'll reflash the radio and use proper ports and hope that fixes the issue. The radio still seems to block communication/have a firewall even between the two Ethernet ports for local connectivity.
Closed Thread


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 09:20.

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