View Single Post
  #9   Spotlight this post!  
Unread 16-02-2014, 17:38
mwtidd's Avatar
mwtidd mwtidd is offline
Registered User
AKA: mike
FRC #0319 (Big Bad Bob)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 2003
Location: Boston, MA
Posts: 714
mwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond repute
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