![]() |
Re: New Camera Class
The GDC got back to us, and their answer is, in a word, no:
http://forums.usfirst.org/showthread.php?t=14284 We'll have to see what this update brings before moving forward. |
Re: New Camera Class
It looks like what they really said is no to UDP... can you make it work over TCP?
|
Re: New Camera Class
Quote:
We're also aware that some of the latency is being caused by the Classmate not being enough to keep up with the cRIO, but TCP doesn't help in this respect. |
Re: New Camera Class
They said no to UDP on port 1180. This makes perfect sense as our packets would corrupt the driver station's packets. Currently, the video server works off of port 1234 (25FPS@160x120 resized to 640x480). However, I see a lot of erroneous packets as the robot gets farther away.
TCP hates not being acknowledged... The GDC does not mention that UDP couldn't be used on another port. They do mention custom TCP protocols are allowed, but not UDP. They do not mention no UDP for all ports or just 1180. |
Re: New Camera Class
We'd need to have clearance to use a port though, because the FMS firewalls off any ports not cleared for use by the robot and driver station.
Also, the video feed and the rest of the driver station data run on different ports. The video uses a TCP connection to port 1180, while the rest of the dashboard data sends 1018 byte packets through UDP on port 1165. They wouldn't corrupt each other at all. I'll have to post the whitepaper I made about the rest of the dashboard data some time. |
Re: New Camera Class
Quote:
|
Re: New Camera Class
Quote:
|
Re: New Camera Class
Quote:
-Joe |
Re: New Camera Class
Quote:
The stream uses 100KB/s at 160x120 and we resize it to 640x480. It looks good actually. |
Re: New Camera Class
Quote:
|
Re: New Camera Class
Quote:
|
Re: New Camera Class
We'll have to check it out. Right now we're putting this project on the backburner for a week or so until this supposed update comes out.
|
Re: New Camera Class
Quote:
|
Re: New Camera Class
I get about 150-250ms delay on the new camera.
|
Re: New Camera Class
Quote:
Also, if you look at the code and have any suggestions for improvement, please let me know. Joe |
| All times are GMT -5. The time now is 12:31. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi