View Single Post
  #3   Spotlight this post!  
Unread 21-03-2014, 00:03
cogbrained3244 cogbrained3244 is offline
Registered User
FRC #3244
 
Join Date: Nov 2012
Location: St.Cloud MN
Posts: 5
cogbrained3244 is an unknown quantity at this point
Re: Vision Processing

We did find one of our problems: "reports.length +1" should drop the adding one-it knocks the array out of bounds. Thanks to a programming mentor for pointing that out-we'll test it tomorrow to be sure.

There's still the issue of why particle 1 in the array is not being returned. I'm wondering if it passes under the minimum area of CriteriaCollection data, which is declared outside of the method, and happens to be set to 150. That's another thing to test tomorrow. If someone could give us some feedback on this, it would still be helpful.
Reply With Quote