Abstract
1. Introduction
Motion Planning is a domain which involves finding a feasible trajectory that connects the starting point to the goal point while avoiding collision with the obstacles. The geometry of Robot and the obstacles is defined in a 2D or 3D configuration workspace and the motion is represented by a path in the configuration space. Motion planning has a lot of applications in various fields including autonomy, automation, architectural designs, AI for video games, digital character animations, molecular biology and robotic surgery. The field of Motion Planning and Navigation has gained immense popularity and importance in the recent years due to the fact that current trends in robotics research for both industrial and domestic needs are focused towards intelligent automation.
In the last four decades, many path planning algorithms, including geometric, grid-based, potential field, neural networks, genetic and sampling based algorithms, have been proposed for various static and dynamic environments. Each of these algorithms has its own advantages and shortcomings in finding the most efficient path planning solution in terms of space and time complexity and path optimization [1-6]. Sampling based algorithms are among the latest and most popular path planning algorithms. As compared to other probabilistically complete algorithms, they are computationally less complex, and have the ability to find solutions without using explicit information about the obstacles in the configuration space. They rely on a collision checking module and build a roadmap of feasible trajectories made by connecting together a set of points sampled from the obstacle-free space. An extensive comparative study and analysis of a number of sampling based techniques has been presented by various researchers over the years [7], [8], and [10]. Rapidly Exploring Random Tree (RRT) [9], is one of the quickest algorithms in finding the first path but it does not ensure asymptotic optimality [10]. To improve the efficiency of the RRT algorithm, various methods have been presented including potential function planner [11], density avoided sampling [12] including variations of such planners as well [13-17]. However, the major breakthrough came with the development of RRT* in 2010 [10]. Rapidly Exploring Random Tree Star (RRT*) is one of the recent sampling based algorithms which was also presented as an extension to RRT. Its major advantage over other algorithms is that it finds an initial path very quickly and then later keeps on optimizing it as the number of samples increases. Thus, apart from probabilistic completeness it ensures asymptotic optimality [10], unlike the predecessor sampling based algorithms like RRT [10], [13], Probabalistic Road Map (PRM) [14] and RRTConnect [13]. A few recent sampling based algorithms are also asymptotically optimal like PRM* [14] and RRG [10], yet RRT* has the advantage over these planners in terms of both time complexity and space complexity as explained by Keraman and Frazolli in [10].
Although RRT* claims to reach an optimal solution, it never reaches that optimality in finite time [10]. Also, the rate of convergence is slow. This manuscript addresses these issues by introducing RRT*-Smart, which instead of employing purely random space exploration, performs an informed exploration of search space. It makes use of the first path found by RRT* as an intelligent guess to help in exploring the configuration space. Moreover, it uses intelligent sampling to give an optimum or near optimum path at a very fast rate of convergence and reduced execution time. The solution obtained by RRT*-Smart also facilitates the robot to track the trajectory as it is straighter and with less way points. Thus, it gives a more efficient path planning solution as compared to RRT*. The algorithm proposed, in this manuscript, demonstrantes these distinguishing features through experimental results and performance analysis.
The remainder of the paper is organized as follows. In Section 2, RRT* is discussed. RRT*-Smart is presented in Section 3. Sections 4 cover results and performance analysis. Section 5 explains the optimization parameters. Section 6 concludes the paper and highlights future research avenues.
2. RRT* Algorithm
This section briefly introduce motion planning using the RRT* algorithm to build the background for understanding RRT*-Smart. RRT* is an incremental sampling based algorithm which finds an initial path very quickly. The path is later optimized as the execution takes place [10], [20].
Let X define the configuration space in which
Pseudocode describing RRT* is shown in Algorithm 1.
At first, a sample Z
RRT* is a landmark sampling based algorithm to approach an optimal solution ensuring asymptotic optimality, apart from probabilistic completeness, as opposed to its predecessor RRT (and its various other improved versions). Although it tends to approach an optimal solution but it has been proven mathematically that it reaches the said solution in infinite time [10]. To overcome these limitations, a rapid convergence version of RRT* known as RRT*-Smart is proposed in this paper, which moves towards an optimal solution at a significantly faster rate.
3. RRT*-Smart Algorithm
This section describes the RRT*-Smart algorithm and the two proposed key concepts –Intelligent Sampling and Path Optimization. Initially, RRT*-Smart randomly searches the state space as RRT* does. Similarly, the first path is found just like the RRT* would try to find a path by random sampling in the configuration space. Once this first path is found, it then optimizes it by interconnecting the directly visible nodes. This optimized path yields biasing points for intelligent sampling. At these biasing points, sampling takes place at regular intervals, which are governed by a constant
The steps 1 to 3 and 7 to 14 execute in the same way as the corresponding ones in RRT*. Once the initial path is found, (i.e., in step 15) the function
3.1 Path Optimization
Once RRT* gives an initial path, the nodes in the path

Path Optimization based on Triangular Inequality.
The number of nodes present in this path are thus reduced, as compared to the original path found by RRT*. These nodes are termed as
Every time a new RRT* path with a shorter cost is found, it is optimized by the path optimization technique to give a relatively better path. The cost of this optimized path is compared with the cost of the previous optimized path. If the cost is better, then the nodes that are present in this path are selected as beacons Z
At each visibility check between two nodes, the collision free check is required. For this purpose, an interpolation technique is utilized in the proposed method, which works by constructing every point on the line (by connecting all the nodes together), while making sure that the newly added points lie in the free configuration space. This method of visibility check does not need explicit information about obstacles as required in other collision checking methods, [21]. Hence, the proposed method of interpolation for collision free checking is independent of the shape of the obstacles and is computationally less expensive.
3.2 Intelligent Sampling
The idea behind intelligent sampling is to approach optimality by generating the nodes as close as possible to the obstacle vertices following the underlining idea of visibility graph technique. However, the visibility graph techniques require complex environmental modeling and explicit information about obstacles, [2]. Furthermore the basic visibility graph method may not reach a solution in environments containing obstacles with complex geometries (concave, polygonal, circular etc). Some solutions in this regard have been presented like Reduced Visibility Graphs [22], which improve the efficiency of visibility graphs. Whereas, Generalised Visibility Graphs [22], are an extension of the basic technique that form paths around intricate complex geometries. However, in doing so, the computational complexity for Generalised Visibility Graphs is increased to a great extent as it find solution for all the complex gemotroies present in the configuration space. On the other hand, in sampling based RRT*-Smart, the path is optimized only along the periphery of those obtscales which lie along the optimum path or the intermediate paths.
Once the initial path has been found, intelligent sampling starts with a certain number of samples being directly spawned (steps 4 and 5 of Algorithm 2) in a ball of radius
As the algorithm iterates an optimized path is calculated, when ever a new RRT* path is found. The cost of this new optimized path is compared with the previous optimized path. If the cost is smaller, new beacons,
Although the obstacles are not being explicitly defined by keeping the beneficial property of sampling based algorithms intact; the proposed algorithm finds a way to spawn the tree nearer to the vertices by using intelligent guessing and biasing beacons, which eventually leads towards an optimal/near-optimal path
Fig. 2 demonstrates the effectiveness and working of the RRT*-Smart algorithm. An initial path is found in Fig. 2(a) at

(a) First Path given by RRT* at n=650. (b) An optimized path (in blue) is shown after the Path Optimization technique is applied on the path shown in (a). (c) shows clustered samples as a result of biasing towards the beacons (in green) at n=2500; (d) shows the optimum path at n=4200
The space and time complexity for RRT* are given by
4. Results and Performance Comparison
This section demonstrates the results for RRT*-Smart in four seperate environments, each with different obstacle scenario. The statistical and analytical comparison between RRT* and RRT*-Smart is also presented in this section, along with a
In the figures, the hollow red box represents the goal region; the solid red blocks represent the obstacles while the trajectory is depicted by a black line. The algorithm provides an optimal/near-optimal solution in the circular, local minima and cluttered environment. It can be observed that the path optimization and the intelligent sampling techniques, that this algorithm employs, is independent of the obstacle shape, as highlighted in the previous section. It not only optimizes the path for obstacles with straight edges but also for those with rounded peripheries, as illustrated in Fig. 3(a).

RRT*-Smart in different obstacle Environments with constant biasing ratio
The number of beacons that are being used to optimize the path in each obstacle environment may be different. In case of rounded obstacles as in Fig. 3(a), the number of beacons may be significantly greater than in cases where the obstacles are with straight edges. This is due to the reason that now more number of nodes are required to cover the circular periphery of the obstacle to provide the most optimum path possible.
4.1 Statistical Analysis
An experimental comparison between RRT*-Smart and RRT* by analyzing their performance from various perspectives is presented in this section. At first, the results of the two algorithms in Fig. 4 are used to illustrate their comparative differences.

A comparison of RRT* and RRT*-Smart using simulation results at 800, 1200 and 4200 iterations.
It is clear from the Fig. 4(d) that RRT*-Smart uses the RRT* path with a cost of
A statistical comparison between the two algorithms using graphical results for the experiment is shown in Fig. 5. The figure clearly demonstrates the convergence pattern of the costs of RRT* and RRT*-Smart. It can be seen that RRT*-Smart not only has a much faster rate of convergence but also approaches the optimum cost after finite iterations whereas RRT* is still in the process of reaching an optimal solution with relatively slower ratof convergence.

Costs are plotted against iterations showing the rate of convergence of both RRT* and RRT*-Smart.
In Fig. 6, iterations are plotted against different fixed costs. It can be observed that for approaching the same cost, as the algorithms iterate, towards finding an optimal solution the number of iterations for RRT* is far greater than RRT*-Smart. The cost of 540 is achieved by the latter algorithm at 4200 iterations whereas RRT* fails to achieve this cost even at very large number of iterations, as shown by the same graph. Fig. 7 shows the path cost versus time comparison for the implementation of the two algorithms. It is observed that RRT* takes significantly greater time as compared to RRT*-Smart in reaching the same cost. These results have been obtained using a 2.1 GHz Intel corei3 processor with a 4GB RAM.

Iterations are plotted against different fixed costs.

Time comparison against fixed costs. Constant
Fig. 8 highlights the running time ratio of RRT* to RRT*-Smart. The graph shows that the ratio is always greater than 1 for the implementation of both algorithms, proving the time efficiency of RRT*-Smart over RRT*.

Running Time Ratio of RRT* over RRT*-Smart is plotted against iterations. Constant
Fig. 9 demonstrates the behavior of RRT* and RRT*-Smart in fifty different obstacle environments. For each environment, the cost is plotted for a fixed number of iterations

Costs of path in fifty different environments for 2500 iterations with dynamic biasing ratio scheme.

A comparison of RRT* and RRT*-Smart in environments with maze and narrow path.

A comparison of RRT* and RRT*-Smart using simulation results in environments with 5, 50, 100 and 200 obstacles.
Analyzing the performance comparison results, it can be concluded that RRT*-Smart is more efficient than RRT* not only with respect to path optimization but also in terms of computational time.
Comparative Statistical Analysis using t-Student test:
The two algorithms are compared in three different environments; including a maze, a narrow passage and a cluttered environment (with increasing number of obstacles), each solved for atleast 5 times. Fig.10 shows the results for one particular instance out of the five experiments performed in a Maze and a narrow passage environment, for both RRT*-Smart and RRT*. In Fig.10 (a and c), the red hollow box represents the goal region while in Fig.10(b and d),
The results are summmarized in Table 1. followed by a statistical analysis of
Statistical comparison of RRT* and RRT*-Smart using the t-student test
4.2 Complexity Analysis
The space and time complexity of RRT* as demonstrated in [10] is given by
Space Complexity
Space complexity of an algorithm is defined as the amount of memory that is required by an algorithm to execute. It is clear by the above discussion that RRT*-Smart requires
Time Complexity
Time complexity of an algorithm is defined as the amount of time that is required by the algorithm to execute a problem of size
Complexity of the Path Optimization step
Path optimization technique is applied when ever a new smaller path as compared to the previous one is found. Let us assume that the new path is found for
Where,
The cost of a collision check is always some constant value. As the path will move towards optimization, the direct cost will reduce with time. It is interesting to note here that the upper bound of
This is supported by statistical results for three different obstacle scenarios, as shown in Table II. In each of these scenarios, the algorithm is executed until the optimized path is found.
A comparison of values of delta and
Complexity of Intelligent Sampling step
Let
Reduced complexity of Sample, Nearest and Steer Step
Each of these steps will now execute (
Thus, it can be concluded that the
Execution of RRT* sample step, nearest step and steer step has been reduced by a factor
5. Algorithm Characteristics
5.1 Biasing Radius
Biasing radius is the radius of sphere within which biasing takes place around
This might be seen as a tradeoff between the planning time and the navigation time. If, for example, a motion planning and navigation problem is put up which could be solved by using this algorithm, and also which is more concerned about reducing planning time rather than navigation time, then the better solution for it will be a larger radius and vice versa. However, there is a limit to increasing the radius. If, it is increased to a very large value then the algorithm's behaviour becomes very identical to that of RRT*. For the environment shown in Fig. 2, the experimental results for various biaising radius vs the number of iterations to reach the same cost is presented in a tabulated form in Table III As the size of radius is increased beyond a certain level, the number of iterations required to reach the optimum cost increases significantly hence approaching the trend of RRT*, as for biasing radius of 25 in the Table III.
No. Of iterations for different biaisng radius to achieve the same cost of 450 at a biaisng ratio of 2.
A biasing radius in the range of 10 to 15 is used for all the experiments performed in a configuration space of the same size. A good approximation is to use a biasing radius in accordance with the size of the configuration space.
5.2 Biaising Ratio
Biasing ratio determines the number of times a sample has been spawned directly at a beacon instead of being sampled normally. For a constant biasing ratio throughout the entire planning phase, the choice depends upon the planner. It must be noted that changing this ratio does affect the trend of reaching optimality.
The effect of choosing different constant biasing ratio for the same obstacle environment is evident from the results shown in Table IV. These results have been obtained by using the environment of Fig. 3(c).
No. Of iterations for different biaisng ratio to achieve the same cost of 408
The results shown in Table IV demonstrate that for the same environment, there exists an optimized value of biasing ratio that balances the rate of biasing and exploration to give the optimum/near optimum cost. Any value of biasing ratio that is above or below this optimized value will get the optimum/near-optimum solution using a larger number of iterations.
A constant biasing ratio has been choosen for all the results presented in this manuscript. However, a generic scheme of dynamic biasing ratio is also presented, while the execution of the proposed algorithm caters for the limitations of constant biasing ratio scheme.
Generic Dynamic Biasing Ratio Scheme
By introducing intelligent sampling, a tradeoff has been set between the rate of convergence and the rate of exploration as explained earlier in this section. To reach an optimal solution, it is not only necessary to converge at a faster rate through strong biasing, but also the exploration of the configuration space is of equal important. The complexity of an environment is directly related to this challenge of choosing a suitable biasing ratio to optimize the output. A scheme of dynamic biasing ratio is presented to overcome this challenge. Instead of being static, it would keep on changing as the number of iterations take place. It is approximated to give best results in almost all scenarios.
An hueristic scheme based upon the assumption that the dynamic biasing ratio is a function of the obstacle-free space
The factor
Some representative environments are shown in Fig. 12. RRT*-Smart achieves optimization for each of the four scenarios while using a dynamic biasing ratio which is calculated with the help of equation (1). As the number of iterations increases, the biasing ratio increases, i.e., the rate at which the nodes are being placed at beacons is now much faster and keeps on accelerating. This implies that as the space is being explored, the biasing increases thus reaching an approximation to provide optimization for the tradeoff between the space exploration rate and intelligent sampling rate.

RRT*-Smart in different obstacle Environments with dynamic biasing ratio
This scheme is intended to achieve an optimization for the tradeoff between the biasing rate and the exploration rate in most environments. It also makes the algorithm independent by choosing a biasing ratio according to the environment itself.
5.3 Algorithm characteristics with respect to other sampling algorithms
In recent years, random and iterative sampling stratergies have been implementd in sampling based algorithms similar to the proposed algorithm. A few exeptions include the popular PRM which first generates random samples in the entire configuration space and then works to connect them to form a roadmap with various paths [14]. The algorithm RRT*-Smart can be compared with popular sampling algorithms in terms of sampling strategy, completeness, convergence, optimality and complexity. It has the ability to converge at a very fast rate to an optimal solution due to its informed or intelligent sampling characteristic, as explained in the sections above. The comparison is shown in Table V below.
A summary of algorithms characteristics with the earlier presented sampling based algorithms [10]. Time and Space complexity is shown as a function of the number of samples n.
6. Conclusions
Incremental sampling based algorithms have been widely used because of their advantages over other motion planners. RRT* unlike RRT is asymptotically optimaized apart from being probabilistically complete, but the rate of convergence to this close-to optimal solution is slow.
This paper presents a rapid convergence implementation of RRT* known as RRT*-Smart which helps approaching an optimal/near-optimal solution by introducing intelligent sampling and path optimization techniques. Simulation results have demonstrated that RRT*-Smart converges to relatively optimal solutions at very few iterations and at an accelerated rate. Performance comparison proved the efficiency of RRT*-Smart with respect to both time and cost. A natural extention to the proposed work is the generalization to higher dimentional space.
