Collisions

In this functional panel, you can configure the collision detection. During robot path planning, Mech-Viz will highlight areas where collisions might occur in the 3D simulation area and halt the project to prevent actual collisions.

Please refer to Topic: Collision Detection for more know-how on parameter adjustment and troubleshooting.

Check Collision Detection Configuration

This table dynamically displays the configuration of all types of collision detection. Click Legend to view what the different colors in the table represent. Hover the mouse cursor over the specific cell to check how to enable the corresponding collision detection.

Point Cloud Collision Detection

When the number, position, shape, or dimensions of the objects that should be involved in collision detection cannot be determined, and therefore they cannot be added as scene objects in advance, visual recognition should be used. In this situation, point cloud collision detection needs to be enabled.

The more items involved in point cloud collision detection, the lower the collision risk in the robot’s motion path, but the time required for path planning will also increase accordingly.

Point Cloud Form for Collision Detection

Point cloud cube Point cloud column

Fill the surface of the point cloud with cubes for collision detection calculations.

Fill the space below the point cloud with square columns for collision detection calculations.

point cloud cube
point cloud column
When the model of the robot tool is in STL format, Point cloud column is recommended. Please refer to End Tool Model for a detailed explanation.

In depalletizing scenario, using a point cloud column can avoid collisions with other cartons when using vacuum grippers to pick cartons, especially when the vacuum gripper suctions the carton from the side surface.

Tool collides with carton Collision not detected with point cloud cube Collision detected with point cloud column

table collision demo

table not detected

table detected

Point cloud form for collision detection

Suitable scenario

Point cloud column

When part of the target object is not recognized in the Mech-Vision project and only the point cloud of the object’s upper surface is available, point cloud column can be used to generate an entire collision model for the target object. This effectively prevents collisions caused by the tool passing through the point cloud when picking other target objects, as illustrated in the figure below.
point cloud column pro 1

When the bin is deformed, using the point cloud column can generate the collision model of the bin walls accurately, preventing the tool from colliding with the deformed bin walls.
point cloud column pro 2

In depalletizing scenarios where the cartons need to be suctioned from the side surface.

Point cloud cube

When the tool needs to pass through the target object itself in a horizontal or oblique direction to pick the object, as shown in the figure below. The gripper passes through the ring in an oblique direction and opens the claw from the inside. If the point cloud column is selected, vertical point cloud columns will be generated, and the tool will collide with the point cloud columns inevitably. In such cases, the point cloud cube is recommended for collision detection.
point cloud column con

Collision Detection Threshold

If the detected collision volume is greater than this threshold, an alarm will be triggered. If the collision volume is less than this threshold, it is considered no collision.

Detect Collisions between Robot and Point Cloud

In general, the robot body rarely collides with the point cloud, so it is not recommended to enable this option. To shorten the time required for path planning and improve the cycle time in the application, please enable point cloud collision detection only for robot parts that are at real risk of collision.

Robot parts to be detected: Enable point cloud collision detection for specific robot parts.

Detect Collisions on Target Objects

Once this option is enabled, you need to configure the collision model of the target object in the target object editor. It is recommended to enable this option only under the following circumstances:

  • Unacceptable collisions may occur between the tool and the target objects.

  • The target object is large, and it is prone to collide with scene objects.

  • There is considerable uncertainty in the motion path (e.g. when using the Smart Path Planning in Bin Step).

  • In mixed-case palletizing scenarios.

Once this option is enabled, Mech-Viz will detect the collisions between the tool and target objects, as well as between the robot and target objects before picking. After picking, Mech-Viz will detect the collisions between the held target object and robot, as well as between the held target object and scene objects.

Detect Collisions between Held Target Object, Point Cloud, and Unpicked Target Objects

When the point cloud form for collision detection is set to point cloud column, enabling this option may increase the path planning time. If the path planning time is too long, it is recommended to use a common 3D shape or STL model to generate the collision model in the target object editor or disable this option. Please enable this option only when the entanglement or scraping of the target object significantly affects the picking.

After enabling this option, you can set Collision detection threshold.

Solutions to Common Problems

If the problems described in this interface occur during the actual application, please enable the switch next to the corresponding problem and configure the related parameters as instructed.

Problem 1: When using a vacuum gripper to pick target objects (such as depalletizing cartons), the robot picks the wrong object or squeezes adjacent objects during the picking process

When using a vacuum gripper to pick a target object (such as a box), if the vacuum gripper tightly contacts the target object, the software will detect a point cloud collision between the target object and the tool, causing the pick to fail. By removing the point cloud of the target object, the contact between the tool and the target object will not be detected as a collision. Meanwhile, the point clouds of unpicked objects other than the target object will be retained, allowing normal point cloud collision detection to prevent wrong picks or collisions.

To ensure that the point cloud of the target object is completely removed, it is usually necessary to expand the removal range outward along the surface of the object by a certain distance.

Z-direction point cloud removal range expansion determines the distance expanded outward in the vertical direction (Z-axis) of the target object’s pose based on the original object dimensions. For target objects in the shape of a cylinder or hollow cylinder, this parameter expands the cylinder’s height/length.

X/Y-direction point cloud removal range expansion determines the distance expanded outward in the horizontal direction (XOY plane) of the target object’s pose based on the original object dimensions. For target objects in the shape of a cylinder or hollow cylinder, this parameter expands the cylinder’s (outer) radius.

Z-direction point cloud removal range expansion X/Y-direction point cloud removal range expansion

Cuboid

cuboid z

cuboid xy

Cylinder

vertical cylinder z

vertical cylinder xy

Problem 2: Unable to pick randomly scattered target objects because of the collisions between the tool, point clouds, and target objects

During the robot’s process of picking a target object from above, the tool may inevitably come into contact with the target object. This contact can be detected as a collision, causing the path planning to fail. When the tool is at the pick point, the cause of the collision indicated in the plan history might be “End tool collided with point cloud” or “End tool collided with unpicked target objects.”

After setting a Non-detection range, collisions between the tool and the point cloud will not be detected in the adjacent area to the pick point. Enabling this option may increase collision risks and potentially prolong the path planning time. The range exempt from detection should not be excessively large to prevent severe collisions.

Problem 3: Unable to pick target objects because the point clouds of the target objects are embedded in each other or embedded in the scene objects such as a bin model

There may be errors in recognizing the target objects, causing their point clouds to be embedded in each other or in scene models like bins. Noise in the point cloud can also lead the software to incorrectly determine that a collision has occurred between the tool and the point cloud.

In this situation, the robot may successfully reach the pick point but fail when attempting to extract the target object. The cause of the collision indicated in the plan history might be “Held target object collided with point cloud,” “Held target object collided with unpicked target objects,” or “Held target object collided with scene objects.”

After setting a Non-detection range, in the first segment of the path after picking, collisions between the held object and all other objects, as well as between the tool and the point cloud, will be ignored in the adjacent area to the pick point. Enabling this option may increase collision risks. The range exempt from detection should not be excessively large to prevent severe collisions.

Problem 4: For mixed-case palletizing, the boxes are prone to collide because the box dimensions vary

A certain thickness will be added to the bottom of the box’s collision model. The thickened collision model will be used in collision detection, thereby avoiding collisions between the box being held and adjacent boxes during palletizing. The Increased thickness at bottom will only take effect when the Mixed Case Palletizing Step is used for path planning.

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.