Get Picks¶
Returns a list of all poses of the products found, their recognition scores and one valid pick-pose per object. The picks are sorted by the sorting criteria, see Best handles.
The search has to be started using Start handle search before using this task. The program will be continued when for each object either a pick is found or all picks have failed.
Variables¶
Name |
Type |
Description |
|---|---|---|
Product |
Product | Integer |
Name or ID of the product searched for. If the field is left empty, the active product is used. Product names are defined in the Product management. |
Box |
Box | Integer |
Name or ID of the box in which the product was searched. If the field is left empty, the active box is used. Box names are defined in the Scene management. |
Object Poses |
PoseList |
Output variable: List of poses of the objects found. The poses refer to the origin of the product coordinate system. |
Object Scores |
DoubleList |
Output variable: List of scores of the objects found. |
Valid Grasps |
PoseList |
Output variable: List of valid (collision-checked) handle poses. Only the best grip is returned for each object, whereby the list is sorted according to the criteria described in Best handles. The poses refer to ‘tool0’, i.e. the robot’s wrist when grasping. |
Valid Grasps Names |
StringList |
Output variable: List of names of the valid (collision-checked) grasps. See also: Output variable “Valid Grasps” |
Sequence change¶
Name |
Condition |
Remark |
|---|---|---|
No box found |
No box found |
|
No object found |
No object found |
|
No pick found |
No valid pick found |
No pickable objects available |