Generate Zigzag Path

You are currently viewing the documentation for the latest version (2.2.0). To access a different version, click the "Switch version" button located in the upper-right corner of the page.

■ If you are not sure which version of the product you are currently using, please feel free to contact Mech-Mind Technical Support.

Function

This Step generates Z-shaped path targets based on the input point cloud.

Usage Scenario

This Step is typically used for automatic spraying on flat objects.

Input and Output

Input

Input port Data type Description

Mask Image

Image/Color/Mask

Object mask.

Depth Map

Image/Depth

Scene depth map.

Object Point Cloud

PointCloud/XYZNormal

Object point cloud.

Output

Output port Data type Description

Trajectory Poses

Pose[]

Targets of the generated trajectory.

Parameter Description

Outermost Two Sides

Parameter Description

Outermost Two Sides Line Move Dis

Parameter description: This parameter is used to set the movement offset distance of the two outer edge lines.
Default value: 60.0000

Outermost Two Sides Points Move Ratio

Parameter description: This parameter is used to set the movement ratio of the outermost edge points.
Default value: 0.3000

Lines Interval Settings

Parameter Description

Interval Between Lines

Parameter description: This parameter is used to set the distance between adjacent lines. Smaller values generate denser parallel lines, while larger values generate sparser parallel lines.
Default value: 50

Ratio Thre of Remainder Dis to Interval

Parameter description: This parameter is used to control the ratio threshold for handling remainder distances that cannot be evenly divided.
Default value: 0.4000

First & Last Segment Operations

Parameter Description

First and Last Segment Contour Points Num

Parameter description: This parameter is used to set the number of contour points used in the first and last path segments for smoothing the start and end processes.
Default value: 5

Start and End Point Offset

Parameter description: This parameter is used to set the point offset for the first and last path segments.
Default value: 20

Line Midpoint Settings

Parameter Description

Line Middle Points Num

Parameter description: This parameter is used to set the number of path points to insert in the middle of each line for smoothing line motion.
Default value: 1

Two Special Points

Parameter Description

Generate Special Point from Prior Point Dis

Parameter description: This parameter is used to set the distance for generating special points relative to the previous point.
Default value: 10.0000

Major Direction Setting

Parameter Description

Is Long Side as Main

Parameter description: When checked, the long edge of the object is used as the major direction of the Z-shaped path; otherwise the short edge is used.
Default value: Selected

Depth Searching Settings

Parameter Description

Nearest Dist Threshold

Parameter description: This parameter is used to set the threshold for the nearest distance to filter valid depth points.
Default value: 0.1000

Search Kernel Size

Parameter description: This parameter is used to set the kernel size when searching in the depth image. The unit is pixels.
Default value: 30

Visualization Settings

Parameter Description

Font Scale

Parameter description: This parameter is used to adjust the scaling ratio for text display in visualization.
Default value: 0.5000

Is this page helpful?

You can give a feedback in any of the following ways:

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.