View Single Post
  #15   Spotlight this post!  
Unread 06-02-2013, 09:13
fovea1959's Avatar
fovea1959 fovea1959 is offline
Herder of programmers
AKA: Doug Wegscheid
FRC #3620 (The Average Joes)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: St Joseph
Posts: 330
fovea1959 will become famous soon enough
Re: Queues using NetworkTables

That doc is pretty taciturn, it doesn't say whose ports (Robot or DS) it's talking about, and whether or not they are in use by the FIRST/WPI/NI framework.
Quote:
TCP 1180: This port is typically used for camera data from the robot to the DS when the camera is connected to port 2 on the 8-slot cRIO. This port is bidirectional on the field.
  • FMS will pass traffic to and from the robots TCP/1180 port. Correct?
  • That port is free for my robot code to listen on if I have a 4-slot cRIO (or an 8 slot with no camera)?


Quote:
TCP 1735: SmartDashboard, bidirectional
  • FMS will pass traffic to and from the robot's TCP/1735 port. Correct?
  • That port is not free for my robot code to listen on, it already in use by the FIRST framework. Correct?

Quote:
UDP 1130: Dashboard-to-Robot control data, directional
  • FMS will pass traffic to the robots UDP/1180 port, correct?
  • FMS will not pass traffic to the DS UDP/1180, correct?
  • That port is free for my robot code to listen on. Correct?

Quote:
UDP 1140: Robot-to-Dashboard status data, directional
  • FMS will pass traffic to the DS UDP/1140 port, correct?
  • FMS will not pass traffic to the robot UDP/1180, correct?
  • That port is free for my driver station code to listen on. Correct?

Quote:
HTTP 80: Camera connected via switch on the robot, bidirectional
  • FMS will pass traffic to and from the camera's TCP/80 port [10.xx.yy.11]. Correct?
  • If I don't have a camera, I can put another device on the robot at 10.xx.yy.11 listening on port 80, and can pass traffic to and from it.
  • If I do have a camera, then I obviously cannot use it for my own code. Correct?

Quote:
HTTP 443: Camera connected via switch on the robot, bidirectional
  • FMS will pass traffic to and from the camera's TCP/443 port [10.xx.yy.11]. Correct?
  • If I don't have a camera, I can put another device on the robot at 10.xx.yy.11 listening on port 443, and can pass traffic to and from it.
  • If I do have a camera, then I obviously cannot use the port for my own code. Correct?
Reply With Quote