Picking

The ultimate goal of deploying a 3D vision–guided application is to achieve successful picking. In this phase, you need to build a robot-picking workflow so that the robot can pick objects accurately based on vision results.

Depending on the different robot communication modes selected, the way to build the workflow also varies, as shown in the figure below.

picking
If the project requires a high picking accuracy, ensure a good picking accuracy of the application during deployment according to the guidance in Topic: Improving Picking Accuracy.

Build the Picking Workflow in the Standard Interface Communication Mode

If you have chosen to use the Standard Interface communication mode, you need to write a robot picking program for the robot side so that the robot can perform picking tasks under the vision guidance. Mech-Mind offers Standard Interface example programs for supported robots, and you can refer to those programs to write your robot picking program.

When Standard Interface communication is used, the cooperation between Standard Interface and the vision system can be divided into three categories according to the created project and the output result of the vision system:

The following sections introduce the three types of cooperation in detail.

picking standard interface

Get Vision Result with Mech-Vision

This mode is used when the robot or PLC triggers the Mech-Vision project and obtains the vision result from Mech-Vision through the Standard Interface commands.

Project to create

Mech-Vision project

Result output by the vision system

Vision result, which can contain one or more vision points, each including pose, label, etc.

picking vision result

The vision result is output by the “Procedure Out” Step of the Mech-Vision project. Note that the Port Type parameter of the “Procedure Out” Step should be set to Predefined (vision result) or Custom.

The general workflow of using this mode is as follows:

  1. The robot or PLC triggers the Mech-Vision project to run through a Standard Interface command.

  2. The vision system runs the Mech-Vision project and outputs the vision result.

  3. The robot or PLC obtains the vision result through a Standard Interface command.

  4. The robot picks under the guidance of the vision result.

You need to write a robot or PLC program to implement the above process. Mech-Mind provides abundant example programs for supported robots or PLCs. Among these example programs, the first one follows the above process. In addition, you can refer to other example programs for more extended functions. For more information about writing robot or PLC programs, refer to Standard Interface Communication.

Get Planned Path from Mech-Viz

This mode is used when the robot or PLC triggers the Mech-Viz project and obtains the planned path from Mech-Viz through the Standard Interface commands.

Project to create

Mech-Viz and Mech-Vision projects

Result output by the vision system

Planned path, consisting of a series of waypoints, each containing data such as robot pose, label, motion type, velocity, etc.

picking planned path

  • The Mech-Vision project is called by the Mech-Viz project as its vision service. The Port Type parameter of the Procedure Out Step must be set to Predefined (vision result) or Custom in the Mech-Vision project.

  • Planned path is a collision-free robot motion path output by Mech-Viz based on the vision result output by Mech-Vision.

  • The planned path usually includes only the waypoints where the picking is completed, but not the waypoints for placing. Waypoints related to placing can be added to the robot program.

The general workflow of using this mode is as follows:

  1. The robot or PLC triggers the Mech-Viz project to run through a Standard Interface command.

  2. The vision system runs the Mech-Viz project and outputs the planned path. When running the Mech-Viz project, Mech-Viz will call the Mech-Vision project to obtain the vision result and then plan the robot motion path based on the vision result.

  3. The robot or PLC obtains the planned path through a Standard Interface command.

  4. The robot picks under the guidance of the planned path.

You need to write a robot or PLC program to implement the above process. Mech-Mind provides abundant example programs for supported robots or PLCs. The second example program follows the above process. In addition, you can refer to other example programs for more extended functions. For more information about writing robot or PLC programs, refer to Standard Interface Communication.

Get Planned Path from Mech-Vision

This mode is used when the robot or PLC triggers the Mech-Vision project and obtains the planned path from Mech-Vision through the Standard Interface commands.

Project to create

Mech-Vision project

Result output by the vision system

Planned path, consisting of a series of waypoints, each containing data such as robot pose, label, motion type, velocity, etc.

picking planned path

  • The Port Type parameter of the “Procedure Out” Step must be set to Predefined (robot path) in the Mech-Vision project.

  • Planned path is the collision-free robot motion path planned by the “ Path Planning” Step in the Mech-Vision project.

  • The planned path usually includes only the waypoints where the picking is completed, but not the waypoints for placing. Waypoints related to placing can be added to the robot program.

The general workflow of using this mode is as follows:

  1. The robot or PLC triggers the Mech-Vision project to run through a Standard Interface command.

  2. The vision system runs the Mech-Vision project and outputs the planned path.

  3. The robot or PLC obtains the planned path through a Standard Interface command.

  4. The robot picks under the guidance of the planned path.

You need to write a robot or PLC program to implement the above process. Mech-Mind provides abundant example programs for supported robots or PLCs. The third example program follows the above process. In addition, you can refer to other example programs for more extended functions. For more information about writing robot or PLC programs, refer to Standard Interface Communication.

Build the Picking Workflow in the Master-Control Communication Mode

If you have chosen to use the Master-Control communication mode, you can build the robot picking workflow (that is the Mech-Viz project) in a graphical manner in Mech-Viz.

1 Build a Project

Getting Started

Understand the general process of building a Mech-Viz project.

2 Model Preparation

Use Model Editor to Create Models

Please use the Model Editor to create the tool, object, and scene models for the Mech-Viz project, which will be used in 3D simulation and collision detection.

3 Configuration of the Project Resources

Object Configuration

Import your object model and configure the object. You can configure attributes such as Workobject symmetry and Picking relaxation to improve the success rate of object picking.

Tool Configuration

Import the tool model and configure the tool. You need to adjust the position and size of the tool model as well as the control logic of the tool.

Configure the Scene Object

Configure the objects in real scenarios to make the scene in the software closer to the real scenario, which facilitates collision detection and path planning.

4 Simulation and Improvement

Collision Detection Configuration

Configure the collision detection to prevent the robot from colliding during its movement so that a planned path without collision will be output for the robot.

Use Plan History to Facilitate Improvement

Plan history records the whole process of path planning from Mech-Viz and displays the collision results in a visualized way. You can refer to the fixes for planning failures to troubleshoot.

We Value Your Privacy

We use cookies to provide you with the best possible experience on our website. By continuing to use the site, you acknowledge that you agree to the use of cookies. If you decline, a single cookie will be used to ensure you're not tracked or remembered when you visit this website.