End Effector Configuration

In order to facilitate picking, you can configure the end effector in the Tools and Workobjects panel.

This section covers the following topics:

End Effector Configuration Panel

The end effector configuration panel is shown below.

../../../_images/tool_configuration_interface.png

The functions of the tabs and buttons are described as follows.

  • End Effectors: displays the added end effector models.

  • 3D Models: displays the added 3D models.

  • Collision Models: displays the added collision models.

  • Add: adds an end effector model, 3D model, or collision model.

  • Delete: deletes a selected end effector model, 3D model, or collision model.

  • Delete Unused Models: deletes unused 3D models or collision models.

  • Model Editor used to simplify models. Please refer to Model Editor for detailed information.

Hint

  • When multiple end effector models are added, the first one in the list will be used by default.

  • You can also right click on the added model and select Delete to delete the model.

Add an Model

Adding a 3D model and collision model may facilitate collision detection and path planning in Mech-Viz.

3D models can only be used for visualization, while collision models can be used for collision detection as well. Therefore, adding a collision model is more recommended.

If the collision model is in OBJ format, please read Notes for OBJ Collision Models first to avoid collisions.

  1. Click on the Tools and Workobjects tab, and then go to the End Effector Configuration panel. Select Collision Models‣ Add, select the model file you need in the file selection window, and then click on Open.

    ../../../_images/import_model_11.png

    Model Type

    Instruction

    OBJ models that are entirely composed of convex polyhedra

    Load normally

    OBJ models not entirely composed of convex polyhedra

    Follow the instruction in the pop-up window to convert the model

    The pop-up window that suggests to convert the model is shown below.
    ../../../_images/tools_popup.png
    Click OK to convert and load the model. The shape of the converted model may change. In this case, please use Blender or Model Editor in Mech-Viz to edit the models before importing to make sure that the model can meet the requirement.
  2. Double click on the added model in the Collision Models list.

    ../../../_images/import_models_3.png
  3. Configure the parameters in the pop-up Edit Model Transform window.

    ../../../_images/import_models_4.png

    The functions of the buttons and options in the window are described as follows.

    • Model Scale: scale the model by setting the model scale. The figures below show an example of setting different model scales.

      ../../../_images/contrast_effect_1.png
      ../../../_images/contrast_effect_2.png

    If you need to scale the model in the X, Y, or Z-direction independently, please uncheck Same for x, y, z and enter the scale ratio in the X, Y, or Z-direction respectively.

    ../../../_images/scale_ratio.png
    • Translation: adjust the position of the collision model to the robot flange by adjusting the value of X, Y, and Z.

    Click on the added collision model in the Collision Models list and check whether the position of the model is correct. The figure below shows an example of incorrect position of the collision model. The vacuum gripper is embedded into the robot model.

    ../../../_images/example_1.png

    You can adjust the position of the collision model by entering a value or scrolling the bar to adjust the X, Y, and Z coordinate.

    ../../../_images/translation_and_rotation.gif

    The correct position of the collision model is shown below.

    ../../../_images/example_2.png
    • Quaternion and Euler Angles: quaternion and Euler angles are introduced to describe the rotation of the model. You can enter a value or scroll the bar to configure the rotation.

    ../../../_images/contrast_effect_4.png

Configure the End Effector Model

After adding a collision model, you will need to add and configure the end effector model and define a TCP.

Click on End Effectors in the End Effector Configuration panel, then click on Add. Configure the parameters in the pop-up Edit End Effector window, and click on OK to save settings.

../../../_images/import_models_5.png
../../../_images/import_models_6.png

The functions of the buttons and options in the window are described as follows.

  • Name: name the end effector.

  • Model: select the added 3D model in the drop down menu.

  • Collision Model: select the added collision model in the drop down menu.

  • Pick Point Symmetry: used for selecting an optimal picking pose. This parameter is related to the way that the end effector picks the object, please set a proper value according to actual situation.

  • Update TCP from Robot: sends the TCP status of the real robot to Mech-Viz.

  • TCP: adjust the position of the end effector to the robot flange by adjusting the value of X, Y, and Z.

    ../../../_images/adjust_tcp1.png
  • Quaternion and Euler Angles: quaternion and Euler angles are introduced to describe the rotation of the model.

  • Edit Pose: enter quaternion or Euler angle directly to adjust the position of the end effector.

    ../../../_images/edit_pose.png
  • Transform Pose: transform current pose of the TCP to a new one.

    ../../../_images/transform_pose.png

    You can adjust the position of the TCP by entering a value or scrolling the bar to adjust the X, Y, and Z coordinate.

    ../../../_images/transform_pose1.gif
  • Calibrate Pose: set the coordinate of P1, P2, and P3 according to the instruction, and then calibrate the end effector pose with three-point method.

    ../../../_images/calibrate_pose.png

Define the TCP

In order to complete tasks such as picking, we usually say that the robot should move to a specific point in space, which actually means its TCP should move to that point.

After configuring the end effector, you will need to define the TCP.

The TCP is represented by the center of the rotation manipulator at the end of the robot model. The position of the TCP by default is shown below.

../../../_images/define_tcp_0.png

Double click the TCP name in the End Effectors list to open the Edit End Effector winodw. Configure the parameters in the TCP panel to adjust the position of the TCP to the end of the end effector. After configuration, click on OK to save settings.

../../../_images/define_tcp_1.png
../../../_images/define_tcp_2.png

The correct position of the TCP after configuration is shown below.

../../../_images/define_tcp_3.png