|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#16
|
||||
|
||||
|
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. |
|
#17
|
|||
|
|||
|
Re: New Camera Class
It looks like what they really said is no to UDP... can you make it work over TCP?
|
|
#18
|
||||
|
||||
|
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. Last edited by slavik262 : 01-02-2010 at 14:17. |
|
#19
|
|||
|
|||
|
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. Last edited by TheDominis : 01-02-2010 at 14:30. Reason: UDP on another port |
|
#20
|
||||
|
||||
|
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. |
|
#21
|
|||
|
|||
|
Re: New Camera Class
You should ask for official clarification on this, but my understanding is that UDP is not provisioned on any port on the FMS except for the official control and status packets, and you certainly can't use those.
|
|
#22
|
|||
|
|||
|
Re: New Camera Class
That would be great!
|
|
#23
|
|||
|
|||
|
Re: New Camera Class
Quote:
-Joe Last edited by jhersh : 01-02-2010 at 15:42. |
|
#24
|
|||
|
|||
|
Re: New Camera Class
Quote:
The stream uses 100KB/s at 160x120 and we resize it to 640x480. It looks good actually. |
|
#25
|
||||
|
||||
|
Re: New Camera Class
Quote:
|
|
#26
|
|||
|
|||
|
Re: New Camera Class
Quote:
|
|
#27
|
||||
|
||||
|
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.
|
|
#28
|
|||
|
|||
|
Re: New Camera Class
Have you tried out the new update yet?
|
|
#29
|
|||
|
|||
|
Re: New Camera Class
I get about 150-250ms delay on the new camera.
|
|
#30
|
|||
|
|||
|
Re: New Camera Class
Is that something that you are happy with? It seems to be a lot better than you were getting before. How about frame rate?
Also, if you look at the code and have any suggestions for improvement, please let me know. Joe |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| define a new class(C++) | nadavsen2 | C/C++ | 15 | 02-11-2010 13:21 |
| Camera using IterativeRobot class | Steve Warner | C/C++ | 2 | 24-01-2010 21:47 |
| New class for Logitech Dual Action Gamepad | Mike Soukup | C/C++ | 8 | 11-02-2009 20:08 |
| Camera Help (New to Camera Programming) | Idaman323 | Programming | 6 | 14-01-2006 03:56 |
| **FIRST EMAIL**/FIRST Announces New Class of Senior Mentors. | Billfred | FIRST E-Mail Blast Archive | 1 | 23-12-2004 13:32 |