Go to Post The closest thing to "Senior Mentor" we have is "Team Grandma". :) - Alan Anderson [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 04-02-2010, 19:11
Jonanin Jonanin is offline
Registered User
AKA: Jon Morton
FRC #1306 (BadgerBOTS)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2007
Location: Madison, WI
Posts: 8
Jonanin is infamous around these parts
Send a message via AIM to Jonanin Send a message via MSN to Jonanin
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?
Reply With Quote
  #2   Spotlight this post!  
Unread 04-02-2010, 22:47
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Camera Lag

See this post.
Reply With Quote
  #3   Spotlight this post!  
Unread 05-02-2010, 02:44
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Camera Lag

The posted C++ update should fix the lag that you are seeing.
Reply With Quote
  #4   Spotlight this post!  
Unread 05-02-2010, 11:29
Jonanin Jonanin is offline
Registered User
AKA: Jon Morton
FRC #1306 (BadgerBOTS)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2007
Location: Madison, WI
Posts: 8
Jonanin is infamous around these parts
Send a message via AIM to Jonanin Send a message via MSN to Jonanin
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.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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...again ideasrule Programming 5 02-02-2010 13:09
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


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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