|
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.
__________________
|