Log in

View Full Version : Conneting to camera without using dashboard in competition.


Stonemotmot
06-01-2013, 10:32
Hello, I was wondering if it is possible and legal to connect my driver laptop to the robot's axis camera without using one of the supported dashboards. The camera would be linked up to the bridge. Also this is a completion specific situation as I already know how to connect to the camera though a normal network.

Saberbot
06-01-2013, 10:34
Just curious, why would you choose not to use one of the default dashboards?

Stonemotmot
06-01-2013, 10:43
I want to do image processing on the laptop, but not using the default dashboard codes. It may be possible to pull the feed from a dashboard which would be fine. But it would be simpler to connect straight to the camera.

RufflesRidge
06-01-2013, 10:48
As long as all of your communication goes over the ports listed in R59 and the stream you open stays under the bandwidth limit you should be fine.

You may also find the FMS Whitepaper (http://www.usfirst.org/sites/default/files/uploadedFiles/Robotics_Programs/FRC/Game_and_Season__Info/2013/FMSWhitePaper_RevA.pdf) of interest.

Stonemotmot
06-01-2013, 10:54
Thanks ruff, I will check that out.
Just to clarify you are saying I could use for example ports

5. HTTP 80
6. HTTP 443


R59



Communication between the ROBOT and the OPERATOR CONSOLE is restricted as follows:
A. Network Ports: 1. TCP 1180: This port is typically used for camera data from the cRIO to the Driver Station (DS) when the camera is connected to port 2 on the 8-slot cRIO (P/N: cRIO-FRC). This port is bidirectional.
2. TCP 1735: SmartDashboard, bidirectional
3. UDP 1130: Dashboard-to-ROBOT control data, directional
4. UDP 1140: ROBOT-to-Dashboard status data, directional
5. HTTP 80: Camera connected via switch on the ROBOT, bidirectional
6. HTTP 443: Camera connected via switch on the ROBOT, bidirectional




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 port 2).

RufflesRidge
06-01-2013, 11:00
Thanks ruff, I will check that out.
Just to clarify you are saying I could use for example ports

5. HTTP 80
6. HTTP 443

Exactly. You could use any of the ports listed there, but given that those two are specifically called out for the camera I would guess those are the ports it talks on (at the very least by default)

Stonemotmot
06-01-2013, 11:05
Thank you very much that answers my question! :D

PaulDavis1968
06-01-2013, 18:11
So if I use a odroid to do vision processing on the robot it should not matter what port I am using. I am routing on the robot. Is this correct?

RufflesRidge
06-01-2013, 19:37
So if I use a odroid to do vision processing on the robot it should not matter what port I am using. I am routing on the robot. Is this correct?

See Rule R58 for a set of ports to avoid.