View Single Post
  #2   Spotlight this post!  
Unread 19-02-2013, 20:06
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Vision Processing Lags Robor

Lag is often caused by processing slower than you produce. The framerate of the camera will tell you roughly how long you have to process the image. Can you time how long the processing takes?

And if the generation is at 33ms and the processing takes 36, that may not sound like much, but after just a few seconds you are getting pretty far behind.

Generally, you either want to speed up the processing by leaving out a step, processing a smaller image, or using a different technique. Or you leave that alone and change the rate of the camera to 24 or 20 or something slower than the processing at least. Another approach is to identify the minimum frames you need to succeed and hold yourself to that.

Greg McKaskle
Reply With Quote