Optimization and Results Tab

You can create movement constraints referencing a robot device that the path planner uses to compute an efficient and collision free robot path.

To access the dialog box, select Robot Path Planning and select a robot resource from the work area or tree.

This page discusses:

Optimization of Robot Paths

You can give advanced optimization parameters for path and motion planning in the Optimization tab. Since Optimization is applied after finding collision-free paths, we can see it as a post-process.
Optimization Parameters for Via Points

The process of path planning is broken down into two stages:

  1. Computation of the collision-free path, which results in a sequence of target points.

  2. Optimization Via Point Targets in terms of their Target Locations and associated Config/Turns (DOFs), Gun Values, and Speed.

Target Location
This option enables to generate alternative locations in terms of position and orientation of each Via Point.

This illustrates the logic to generate such an alternative point P[i]’ from P[i] in which P[i]’ moves toward to a point T aligned in segment P[i-1] and P[i+1] if there is no collisions when the planning robot moves from P[i-1] to P[i]’ and P[i]’ to P[i+1]. This interpolation is applied in terms of position and orientation.
Config/Turns
For a given Via Point and alternative Via Points of it, if the Target Locations option has been checked, this option generates all reachable and collision-free joint values of the planning robot by changing Config and Turn Numbers as alternative candidates in order to find minimizing cycle time.

Click Play to watch the video:

Gun Value
This option enables to optimize value of Spot Gun for each Via Point to minimize cycle time. The value of this option can be found especially when the spot gun has a huge opening value, or its opening/closing speed is slow.

Click Play to watch the video:

Speed
A combination of the parameters along with Speed allows for a shorter path by eliminating the need for stops at target points. The resulting cycle time is reduced compared to the nominal, non-optimized case. The amount of reduction is a result of a combination of values determined by the optimization process.

Here there are multiple possible paths to perform rounding, called flyby. Some of the paths are inadmissible because of collision with the obstacles. Other paths are admissible; however they all result in different cycle times. The obvious choice is the green path, which is the shortest path without collision that results in the shortest cycle time.

Optimization Objective


Minimize
Select which option to Minimize.
  • Cycle Time
  • DOF Distance
Energy Consumption
Select to consider Energy Consumption along with Cycle time or DOF Distance. A slider control for Energy Consumption is displayed.

Click Play to watch the video:

Results

You can compute possible solutions based on the specifications given in the Results tab. You can also view the generated path in the Computed Solutions list and create a task from that path generated.
Compute Possible Solutions
Click to generate the list of possible paths once targets, obstacles, and options have been defined. They display in the Computed Solutions table.
Computed Solutions
Lists paths generated based on all other inputs from which robot tasks can be created.

The columns include:

  • Index – Path solution number.
  • # Points – Number of points in a given solution.
  • Travel Distance – Travel distance for the given solution.
  • Travel Time – Total movement time for the given solution
  • Task Name – The name a task receives if created.
  • Create Task – Spawns a service task for the selected robot or robot control device.
  • Simulate Task – Perform motion simulation for the selected path solution.

List of Targets for Selected Paths
Selecting a path in the Computed Solutions table displays a complete list of the targets computed for that solution. The targets can then be viewed by clicking individual points, which move the robot to the target.