Making Vision Run Faster

Hi,

We have a pretty accurate vision shot, computing on the roboRio, but I’d like to see our vision loop time get faster - right now we have it locked at 1 fps, so we don’t overload the roboRio. But when I let it loop at anything higher then that, though, we still only get about 1 FPS. But get this: we are NOT overloading the roborio - I’m seeing no spikes and a flat line around 75 percent on the dashboard, and our lag time in periodic tasks never spikes.

I’ve talked to a few other teams doing vision on the roborio, Trisonics in particular, and they are getting much, much better results. Is there anything that could be taking extra time, that we missed?

Thanks,

inform880

Hi,

Would you mind providing a little more information as to how your vision system works? Do you mean 1fps camera frame rate or 1ms loop? If it works directly off camera feedback, the higher you set your camera frame rate the faster your vision will respond.

Thanks,
Bradley Boxer

Can you give info on the camera resolution and the type of processing you are doing?

Greg McKaskle

One thing that you could try to run the the camera on its own thread, it works pretty well us.