Thread: Laggy camera
View Single Post
  #5   Spotlight this post!  
Unread 01-03-2012, 15:47
JamesBrown JamesBrown is offline
Back after 4 years off
FRC #5279
Team Role: Engineer
 
Join Date: Nov 2004
Rookie Year: 2005
Location: Lynchburg VA
Posts: 1,281
JamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond repute
Re: Laggy camera

Quote:
Originally Posted by Luiz12 View Post
Hi I have connected my camera directly to the router and before I would get decent video but I started to add a bunch of senors to my dashboard and now I get really laggy video. How could I fix this.
Are the sensors and whatever is refresing the video feed in a loop together? If this is the case (Pure speculation, I havent looked at an FRC robot all year much less Dashboard code) then you are probably waiting for other operations to finish that take longer than refreshing the camera feed. Put them in seperate loops and they will work in (psuedo)parrallel.
__________________
I'm Back


5279 (2015-Present)
3594 (2011)
3280 (2010)
1665 (2009)
1350 (2008-2009)
1493 (2007-2008)
1568 (2005-2007)