Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   FRC Control System (http://www.chiefdelphi.com/forums/forumdisplay.php?f=176)
-   -   Camera Lag (http://www.chiefdelphi.com/forums/showthread.php?t=81905)

Jonanin 04-02-2010 19:11

Camera Lag
 
Hello,

We are using C++ and using the AxisCamera class to control our camera. Right now, all we do with it is set the resolution to 160x120 and set the brightness to 0.

However, when we run the code, the camera display on the driver station lags EXTREMELY badly, usually 5 seconds or so (sometimes more), and skips a bit too.

Does anyone know what could be causing this problem or how it could be fixed?

Alan Anderson 04-02-2010 22:47

Re: Camera Lag
 
See this post.

jhersh 05-02-2010 02:44

Re: Camera Lag
 
The posted C++ update should fix the lag that you are seeing.

Jonanin 05-02-2010 11:29

Re: Camera Lag
 
Well, after much trial and error, these are the steps that helped use get LIVE video finally. The post by Greg about doing less on cRIO does not seem to apply to robots programmed in C++.

1. Get the latest C++ update, make sure it is installed correctly.
2. Make sure the Driver's Station update installed the top half part correctly (it didn't the first time)
3. Apply the graph removal patch (link)

Finally, we now have live video.


All times are GMT -5. The time now is 23:25.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi