|
Re: Vision code hangs cRIO
We found this too. We were using iterative robot. We did two things to make this easier on the crio. The first is to only call vision calls every n loops (we use 10). The second is not to use the area filter but rather a particle width filter:
cc.addCriteria(NIVision.MeasurementType.IMAQ_MT_BO UNDING_RECT_WIDTH, 8, 65535, false);
We were 100% at week zero at detecting hot correctly.
__________________
"Never let your schooling interfere with your education" -Mark Twain
|