View Single Post
  #6   Spotlight this post!  
Unread 04-02-2012, 21:06
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 667
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: Printing to the DriverStation LCD

The vision processing code is really slow. We timed it and from camera->GetImage() to finally getting ParticleAnalysisReport took between 1.5 to 2.5 seconds. Because of this, we spawned a separate thread (task) to just doing vision processing so it doesn't block our main robot task. But it is still disappointing to know vision processing is so slow. Did anybody have similar experience or did we do something wrong that caused this "slowness". One of my suspicions is that we did not set up the lighting condition right and it took longer to process the image. Without the source code to nivision, I can't tell why it took so long.
__________________
Reply With Quote