Standard Bots Locate feature is designed to locate items on a 2D flat plane to allow for picking and placing them using the integrated wrist camera. Items to be picked do not need to be organized but must be distinguishable from each other. Locate is not designed for 3D applications (stacked items). 3D functionality will be an optional upgrade provided at a later date. Locate accuracy is dependent on how far the robot is from the plane, but at closer distances +/- 1/8 in is possible depending on lighting and calibration.
Setup a tooltip or select a standard tool under equipment manager to use in your routine.
Go to the routine you created your plane in.
Leave the existing main loop and add all the below steps in this main loop.
Setup a Move To Position positioned such that the camera can see the work area.
Add a Locate step.
Under the Setup tab of the locate step, set a region of interest. This is the area you want to pick from.
Under workplane, select the plane created in previous steps.
If needed adjust the camera settings so the items are visible. Generally the defaults are a good starting point.
Under the Train tab, setup your blob or shape settings.
If using blobs, adjust the 0-255 Min and Max threshold greyscale value and Min and Max area values until just the items you wish to pick are indicated in the above image.
If using Shapes, Teach the image by taking an image and highlighting the items you wish to pick. Set the bounding box around the item. Adjust the % match required until all items you wish to pick are indicated in the above image.
Under results, if needed limit the number of items locate should find.
If needed, in results set a transform to apply to the located position when the robot goes to pick. Generally, it is good to start with a larger z offset of 40mm or so and tune from there.
Add an if statement below the locate step.
Set the if statement to say “IF Objects located count greater than 0”. Objects located count is automatically created for you when you add a locate step. This will ensure the robot only tried to pick if there are items to pick.
Add a Move Arm.
Select “From space” in the Move Arm command. Select “Locate Step Results”. Set it to always pick 1. This will pick the first item in the locate step results list.
Fill out the rest of the routine as desired. You likely will want to do an add offset to to the locate results item before driving to it, etc.
Standard Bots Classify feature is designed to allow the robot to look at an item and determine it’s state by comparing the current view to reference images. Classify can be used to look at a light stack to determine the machine state or to look at a HMI screen to know when a program is finished. Classify is not suited for detailed inspection / metrology applications.