|
Algorithm 3 Combined RRT and elliptical path |
| Input: Initial and desired configuration of the robot, the maximum number of samples, Nmax
|
| Output: Tree, T
|
| Add initial configuration to the tree, T
|
|
-
a.
Randomly choose a,b, direction of ellipse (clockwise/anti-clockwise), direction of ellipse
-
b.
Sample a configuration, Cs from the tree, T
-
c.
Apply Equation (2) to determine center coordinate of the ellipse (h,k) based on:
|
|
|
| (xn,yn) is the coordinate of the head of Cs and θs is the tangent of the orientation of Cs
|
|
|