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.
Input-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. |
Gripper |
Gripper | StringList | Integer | IntegerList |
One or more names or IDs for the grippers to determine the pick-search, for which information is to be read out. If the field is left empty, the last started pick-search is used. |
Output-Variables¶
Name |
Type |
Description |
|---|---|---|
Object Poses |
PoseList |
List of poses of the objects found. The poses refer to the origin of the product coordinate system. |
Object Scores |
DoubleList |
List of scores of the objects found. |
Valid Grasps |
PoseList |
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 |
List of names of the valid (collision-checked) grasps. See also: Output variable “Valid Grasps” |
Num. Objects Recognized |
Integer |
Number of Objects found |
Num. Objects Pickable |
Integer |
Num. of Objects for which a valid Pick has been found |
Num. Objects Pickable (Preferred) |
Integer |
Num. of Objects for which a valid Pick of category “Preferred” has been found |
Num. Objects Pickable (Standard) |
Integer |
Num. of Objects for which a valid Pick of category “Standard” has been found |
Num. Objects Pickable (Experimental) |
Integer |
Num. of Objects for which a valid Pick of category “Experimental” has been found |
Object Name |
String |
Name of the Object of the best Pick |
Object Pose |
Pose |
Pose of the Object of the best Pick |
Collision Type |
Integer |
Collision-Type of the best Pick (allowed collisions: 2, no collisions: 0) |
Gripper Name |
Gripper | String |
Gripper of the best Pick (useful for searches with multiple grippers) |
Gripper Id |
Integer |
ID of the Gripper of the best Pick (useful for searches with multiple grippers) |
Pick Category |
String |
Category of the best Pick (“Preferred” / “Standard” / “Experimental”) |
Pick Subcategory |
Integer |
Subcategory of the best Pick (0-10) |
Grasp-Name |
String |
Grasp-Name of the best Pick |
Grasp-Offset |
Pose |
Offset of the Grasp of best Pick relative to its Object |
Grasp-Tcp-Pose |
Pose |
Tcp-Pose of the grasp-point of the best Pick |
Grasp Tool0-Pose |
Pose |
Tool0-Pose of the grasp-point of the best Pick |
Start Tcp-Pose |
Pose |
Tcp-Pose of the start-point of the best Pick |
Start Tool0-Pose |
Pose |
Tool0-Pose of the start-point of the best Pick |
Approach Tcp-Pose |
Pose |
Tcp-Pose of the approach-point of the best Pick |
Approach Tool0-Pose |
Pose |
Tool0-Pose of the approach-point of the best Pick |
Retract Tcp-Pose |
Pose |
Tcp-Pose of the retract-point of the best Pick |
Retract Tool0-Pose |
Pose |
Tool0-Pose of the retract-point of the best Pick |
Final Tcp-Pose |
Pose |
Tcp-Pose of the end-point of the best Pick |
Final Tool0-Pose |
Pose |
Tool0-Pose of the end-point of the best Pick |
Total Collision-Depth |
Double |
Total collision-depth of all steps of the best Pick |
Maximum Collision-Depth |
Double |
Maximum collision-depth of all steps of the best Pick |
Average Collision-Depth |
Double |
Average collision-depth of all steps of the best Pick |
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 |