Hi Richard,
The feeder stores a set of vision offsets. When it first starts, these
offsets are null, so the first time the feeder is commanded to feed
that part it performs the vision sequence twice. For reference, I call
this "front-loading the offsets".
So, we define the Vision Operation like this:
1. Move the camera to the defined pick location.
2. Do a template search within the area of interest.
3. Calculate a set of offsets from the pick location to the point
where the vision found the part.
Then, the first time the Feeder is commanded to feed since startup:
1. Perform the Vision Operation.
2. Subtract the calculated offsets from the feed start location and
move the pin to that location.
3. Subtract the calculated offsets from the feed end location and drag
the tape to that location.
4. Perform the Vision Operation.
On all subsequent feeds:
1. Subtract the calculated offsets from the feed start location and
move the pin to that location.
2. Subtract the calculated offsets from the feed end location and drag
the tape to that location.
3. Perform the Vision Operation.
The reason for front-loading the offsets on the first feed is that it
lets us, in normal cases, perform the vision at the end of the
operation. The benefit of this is that in most cases, when it's time
to feed a part, we will have just finished placing a part. If we had
to perform the vision first, and then feed, we would visit the part
location, feed, and then visit the part location again which would be
a wasted movement. So instead we always work off of the offsets that
were calculated during the last feed, right before the part is picked
up.
Hope that answers your question. If not, let me know.
Jason
> --
> You received this message because you are subscribed to the Google Groups "OpenPnP" group.
> To post to this group, send email to
ope...@googlegroups.com.
> To unsubscribe from this group, send email to
openpnp+u...@googlegroups.com.
> For more options, visit this group at
http://groups.google.com/group/openpnp?hl=en.
>