Path Planning Parameters Description

Motion Planner

What is a Motion Planner?

A planner is a tool or algorithm used for path planning, which is used to find a feasible path from the starting point to the end point in a given space.

Planner Type

Select a planner in the drop-down list on the right. The motion planner has the following options:

Joint space planner

The joint space planner performs path planning directly in the joint space of the robot. Main features include:

  • Precise control: Suitable for precise control of robot joints.

  • Complexity: In high-dimensional joint space, the search may be complex.

  • Applicability: Suitable for applications that require precise joint motion, such as robot arms.

Linear planner

Linear planners plan paths along straight lines and are usually used for simple linear motion. Main features include:

  • Simple and fast: Suitable for simple environments and fast calculation speed.

  • Path straight: The generated path is a straight line, suitable for environments without obstacles.

  • Limitations: Not suitable for path planning in complex environments.

Bezier curve planner

Bezier Curve Planner uses Bezier curves to generate smooth paths. Main features include:

  • Smooth path: The generated path is smooth, suitable for applications that require path smoothness.

  • Complex calculation: The calculation complexity is high, suitable for precise control and environments that require smooth paths.

  • Flexibility: Able to generate curved paths of various shapes.

Fast random tree planner

Fast Random Tree is a path planner that gradually expands a tree structure through random sampling. It is particularly suitable for path search problems in high-dimensional space. The main features include:

  • Efficient exploration: It can quickly cover a large range of search space.

  • Simple implementation: The algorithm implementation is relatively simple.

  • Randomness: The path is unstable and the results may be different each time it is run.

Fast random tree planner parameters

Maximum number of attempts

The maximum number of iterations allowed by the planner when searching for a path. In order to prevent the planner from falling into an infinite loop, a maximum number of attempts needs to be set.

  • Higher value: Suitable for complex environments, it can increase the probability of finding a feasible path, but the calculation time will also increase.

  • Lower value: Suitable for simple environments, it can quickly end the search and save computing resources.

Sampling boundary compensation

The sampling boundary compensation refers to the distance that the boundary of the space cube between the starting point and the target point expands outward. The size of this expansion distance affects the range of the search space.

  • Larger value: When the compensation value is large, the boundary of the space cube expands outward more, and the search space becomes larger.

  • Smaller value: When the compensation value is smaller, the boundary of the space cube expands less outward and the search space becomes smaller.

Planning resolution

The size of each step when planning the path determines the precision of the search.

  • High resolution (small step): The generated path is more refined and smoother, but the amount of calculation increases.

  • Low resolution (large step): The calculation speed is faster, but the path may be rough and not smooth enough.

Maximum planning time

The maximum running time of the planner. If it exceeds this time, the planner will terminate the planning even if no path is found.

  • Longer time: Suitable for complex environments, increasing the probability of finding a feasible path.

  • Shorter time: Suitable for real-time applications, ensuring that the planner returns results within an acceptable time.

Whether to solve accurately

Whether the planner needs to find a path that fully satisfies all constraints.

  • Exact solution: Ensure that the path fully meets the constraints, but it may take longer.

  • Approximate solution: Allow the path to deviate from the constraints within a certain range, reduce calculation time, and improve efficiency.

Bezier curve planner parameters

Start point curvature

Start point curvature refers to the curvature value of the Bezier curve at the starting point in path planning. The start point curvature determines the degree of bending of the robot when it moves from the initial position. The larger the parameter value, the greater the bending degree.

Target point curvature

Target point curvature refers to the curvature value of the Bezier curve at the end point in path planning. The target point curvature determines the degree of bending of the robot when it approaches the target position. The larger the parameter value, the greater the bending degree.

Return pose type

The path point pose type output by the planner, and pose or joint angle can be chosen.

Retraction path planning

Type

Description

Do not plan the retraction path

Only plan the path from start planning point to grasp point.

Collision detection of grabbing path

Plan the path from starting planning point to grasping point, add the grasped object to the tool, then return along the grasping path and detect the collision of the grasped object on the path.

Planning retraction path

Plan the path from starting planning point to grasping point, add the grasped object to the tool, and continue planning the path from grasping point to starting planning point.

Number of path points

Path points are the basic components of the trajectory, and each path point contains information such as position and direction. The number of path points affects the precision and accuracy of the trajectory. The more path points there are, the finer the trajectory is, but the planning time will also increase accordingly. For situations where the distance between the starting planning point and the grasping point is long, it is recommended to increase the number of path points; on the contrary, if the distance is short, the number of path points can be reduced.

  • When planning a retraction path, the final number of path points will be twice the number of original path points.

  • This parameter value includes the starting planning point and the grasping point.

Joint angle difference threshold

Joint angle difference refers to the sum of the absolute values ​​of the difference between the robot’s joint angles at the previous path point and the next path point.

This parameter is used to limit the joint angle difference and avoid large changes in the robot’s posture during path planning, thereby making the path smoother.

Pre-grab point offset distance

As shown in the figure below: ① grab point, ② pre-grab point, and ③ offset distance.

pick path plan prepick distance

Grab point offset vector

X/Y/Z component setting instructions:

Parameter

Description

0

Do not offset in this direction.

1

Offset in the positive direction.

-1

Offset in the negative direction.

The pre-grab point (②) shown in the figure above has X and Y set to 0 and Z set to -1.

Number of pre-grab point detections

Number of path points between the grab point and the pre-grab point.

Starting planning point

Select the starting planning point in the drop-down list.