An initial process in ten minutes¶
The following steps allow you to quickly create a minimal Mikado working environment. This is based on a set-up cell, calibrated and configured camera.
Set up recording pose¶
In the main menu, click on Tools and then Change robot
Move the robot to a suitable recording pose by jogging
Set up scene¶
Create crate 1, with parameterization: fixed crate
Load 3D model
Record point cloud
Bring the box into overlap with the point cloud
Create ROI “Search area” for object search and move it so that the bottom of the box is cut out, e.g. to z=7 mm
Place crate 2 as above. Move to a suitable storage position
Set up product¶
Now a product is set up, i.e. the model is loaded, a simple grasp is defined, configured and recognized. Meshes may need to be preprocessed, which is described separately. Setting up a product and recognizing it in the point cloud is explained in more detail in another tutorial :
On the Edit -> Product page, a new product can be created and the name customized.
The most important parameters are then adjusted:
Name |
Value |
|---|---|
Mesh |
Path to the mesh file |
min. Recognition score |
Start value low, 20%, then tune |
Travel distance |
cartesian approach to bypass object contour |
Removal distance |
~Partial height, Cartesian “pull out”, collisions permitted |
Symmetry |
select according to the object |
Minimum distance |
~ half partial diameter, how close can two objects be? |
A suitable outside/inside handle must be defined, for example by selecting the corresponding standard handle and adjusting it using the graphic marker
the standard inner/outer handle that is not required can be removed
Save product list
Save product
Save product¶
Switch to the object recognition page
Check the “Roi” box
Record point cloud + apply and find objects
Adjust minimum score of the product
Hint
In the event of detection problems, please check whether a point cloud appears after clicking on Record point cloud and whether the new product is selected as the active product (lower status bar). A standard tuning procedure is to start from a low detection score and iteratively increase it until no more false detections are shown. This should be tried out for various scenarios.
Create minimum program¶
A new “Sequence” sequence is created, into which the following tasks are gradually dragged:
Set Active ROI, parameterization: create new string variable, fill with “search range” and set initial value
Move robot (new pose variable “Recording pose”, accept current robot position, set initial value)
Record point cloud
Start handle search
Grab part
Move robot (new pose variable “drop pose”, do not teach in yet)
Discard part
Teach in poses and adjust variables¶
Switch to the Edit tab and submenu item Variables
Drop pose: “Accept current robot pose”, manually adjust values, set initial value
Let it run and vary a little¶
For example, error handling should be carried out by jumping to corresponding further sequences in the Gripping Task part. In the minimum case, these then contain an error task that gives the operator a suitable instruction or, in advanced cases, vary the sequence (different pick-up pose or crate)
More handles can be added. In the handle inspector, the user can see which handles do not work and why (step through the program and stop after “Start handle search”)
For example, an experimental handle can be inserted. For handling in the program, a bool variable must be inserted in the “Part glreifen” task. The program then checks whether this has been set to true and possibly jumps to a sequence with a different drop variant
A variation that optimizes the cycle time is the following: After the grip, jump to a new “grip loop” sequence, record the point cloud here, start the grip search, then move to the drop pose, drop the part and grip the part. Then jump to “Grip loop”. The new grip is calculated in the background.