|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||||
|
||||||
|
Re: Camera lag...again
You might find this answer from the GDC helpful: http://forums.usfirst.org/showthread.php?t=14284
|
|
#2
|
||||
|
||||
|
Re: Camera lag...again
I did some testing and didn't see any difference with lag between Developer and Driver accounts. For me, using LabVIEW, a compression of 5% helped. Beyond that didn't make much difference - except very high compression lost sight of the target. While checking loop rates I started out doing some averaging, but I also watch individual loop times. There were occasions when the individual times were obviously too fast (like 2 ms). We did a little poking around and found a timeout in the vision code that was set to 100ms. This means if we took longer, it would return anyway with empty data. The next time through the loop the data might be there after only another millisecond or two. This means for two loops, we really only got one set of vision data, but the timing seemed twice as fast (or at least faster) when averaging.
This doesn't affect actual performance much, but we will be fixing it in the near future. If you want to look at this, you can find it in Program Files\National Instruments\LabVIEW 8.6\vi.lib\Robotics Library\WPI\Camera\Send Images To PC.vi where the Wait for Raw Image String subVI has 100 wired to it. |
|
#3
|
||||
|
||||
|
Re: Camera lag...again
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 2010 FRC Camera Live Feed Lag | ideasrule | Programming | 23 | 11-02-2010 02:33 |
| Camera lag solution | ringo115 | Programming | 11 | 31-01-2010 22:05 |
| Camera Lag | tutkows1 | Java | 1 | 27-01-2010 00:20 |
| Camera Lag | jmanela | NI LabVIEW | 6 | 25-12-2009 08:48 |
| again, problems with the camera | razer | Programming | 4 | 02-02-2007 11:50 |