|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Vision Processing Loop Slowing Down Project
Decide when, precisely, you'll need image acquisition turned on. In likelihood, it is only at the beginning of the match for a second or so.
Next, is there a wait statement in your vision loop? If not, by design, it will run as fast as it physically can. The reality is that real time target acquisition running 100% of the time is not something that can efficiently be done on the cRIO. But you don't need it all the time. |
|
#2
|
|||
|
|||
|
Re: Vision Processing Loop Slowing Down Project
Just to build on what Tom said. If you change your camera framerate in Begin, the vision loop will automatically sleep waiting for the next image to arrive. First, I'd measure how long the loop takes for the given resolution. Then invert and set your camera rate.
You will also find that smaller and more coarse images will process faster. What resolution are you using? Greg McKaskle |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|