Skip to Content
Applied SciencesApplied Sciences
  • Article
  • Open Access

9 September 2026

31 Pages

SACE-Bi-RRT*: Sobol-Adaptive Connection-Gated Expansion with Tangent-Plane Deflection for Three-Dimensional UAV Path Planning

,
,
and
School of Electrical and Electronic Engineering, Hubei University of Technology, Wuhan 430068, China
*
Author to whom correspondence should be addressed.
This article belongs to the Section Robotics and Automation

Abstract

Planning collision-free paths for unmanned aerial vehicles in cluttered three-dimensional environments requires balancing path length, smoothness, and consistency across repeated queries. However, existing bidirectional RRT* planners generally do not exploit two sources of information generated during the search: the length and visibility of the gap between the two trees, and the local obstacle geometry revealed when an extension is blocked. This paper proposes SACE-Bi-RRT*, a bidirectional RRT* planner that feeds the connection state and the collision geometry back into the search. A dual-tree guided expansion strategy regulates the probability and the target of the guided extension by the incrementally maintained closest node pair and its line-of-sight visibility. A tangent-plane deflection strategy projects the blocked extension onto the tangent plane of the hit obstacle, which converts the collision into a deterministic detour. The step length follows the local clearance; scrambled Sobol sequences with an in-obstacle-triggered bridge test supply the exploratory samples, and the trees merge with the pair of minimum seam cost. In 100 independent runs in each of three simulated environments, SACE-Bi-RRT* shortens the final path by 12.1% to 31.3% relative to five baselines, whose average turning angle is 1.3 to 2.6 times its own. The coefficient of variation of its path length stays below 1.9%, against 3.8% to 12.1% for the baselines, and the converged planning time remains below 0.7 s.

1. Introduction

Path planning is a fundamental capability of autonomous aerial systems, and its task is to connect given start and goal positions by a collision-free path of low cost [1,2]. In applications such as security patrol [3,4], aerial surveying [5], and post-disaster assessment [6], unmanned aerial vehicles (UAVs) operate in cluttered three-dimensional spaces such as urban canyons, forests of vertical structures [7,8], and building interiors. Such environments expose the vehicle to collision threats from all directions, hide obstacles of different heights behind one another, and often degrade or deny satellite positioning [9]. From an engineering perspective, these are complex planning problems in which obstacle geometry, visibility, clearance requirements, collision constraints, and path-quality objectives interact in a nonlinear and tightly coupled manner [10]. A path that is planned onboard is executed without a human check, so the planner is expected not only to find short and safe paths quickly but also to deliver this quality consistently across repeated queries. Designing planners that meet these requirements in cluttered three-dimensional environments has therefore become a key problem in UAV autonomy [11].
Existing path planning methods fall into three broad categories: graph-search methods, metaheuristic optimization methods, and sampling-based methods [12]. Graph-search methods such as A* [13], jump point search [14], and Lazy Theta* [15] discretize the environment into grids or graphs and obtain paths by heuristic search. They are efficient on regular two-dimensional grids, but the number of cells grows rapidly in three dimensions, and the solution quality depends on the map resolution. Metaheuristic optimization methods, such as particle swarm optimization, genetic algorithms, and ant colony optimization, search globally by iteratively updating a population of candidate solutions. In large search spaces, however, they are prone to becoming trapped in local optima and converge slowly toward an optimal path [16]. Sampling-based methods, such as rapidly-exploring random trees (RRT) [17] and the asymptotically optimal RRT* [18], sample the continuous configuration space directly. They avoid high-resolution discretization of the workspace and scale well to cluttered three-dimensional environments [19]. This paper therefore builds on the RRT* family, particularly its bidirectional form: two trees grow from the start and goal and are joined by a connection stage.
Sampling-side improvements mainly concern how samples are generated and how extension targets are selected. The simplest guidance mechanism is goal biasing, which steers a fixed fraction of extensions toward the goal. Zhu et al. proposed GAO-RRT* [20], which weights samples according to goal attraction and obstacle proximity. BIAP-RRT* [21] extends this idea by making the biasing fraction a function of the free-space ratio of the environment. A different approach is to shrink the region from which the samples are drawn. Informed-RRT* [22] draws samples from an ellipsoidal informed set once an initial solution is available. The set contracts as the cost of the current best solution falls. Agile-RRT* [23] and the improved Informed-RRT* [24] refine this construction with subset-informed sampling on a secondary tree and a dynamic shrinkage threshold for node selection, respectively. Other planners shape the sample distribution directly. GD-RRT* [25] concentrates samples in promising areas with a Gaussian mixture whose parameters are updated online. Zhong et al. replaced the pseudo-random generator with low-discrepancy Halton sequences in HB-RRT [26] and extended the sequence to three dimensions in HBC-RRT [27]. However, most of these methods determine the sampling bias from a fixed goal, the cost of the current best solution, or global map statistics. None of these signals describes the evolving length and visibility of the gap between the two trees.
RRT-Connect [28] alternately extends two trees rooted at the start and the goal, and Bi-RRT* [29] transfers this scheme to the asymptotically optimal setting. AORRTC [30] obtains the same guarantee in a different way. It repeatedly runs RRT-Connect in a state space augmented with a cost dimension and lowers the cost bound after each run to the best cost found so far. Later work couples the trees with the environment and with each other more tightly. MS-BI-RRT* [31] keeps several expansion modes and switches among them according to the feedback returned by the preceding extensions. AB-RRT* [32] determines its bias parameters from map-level descriptors at initialization and marks the zones where collisions have occurred so that the trees are guided through narrow passages. IRRT*-Connect [33] and Fast-IBi-RRT* [34] both confine sampling and reject candidates: the former discards samples whose estimated start-to-goal cost exceeds the cost of the current best solution, whereas the latter discards samples in already explored space. The cost information accumulated in the reverse tree serves as the heuristic that steers the forward search in GBRRT [35], which needs no direct edge between the two trees. Instead of aiming at the fixed root of the opposite tree, the target tree of PB-RRT [36] extends toward the node the start tree has just produced. G3T* [37] instead repairs a failed merge by grafting the two ends of the failed connection back onto the trees, allowing the search to continue from the point of failure. However, in these bidirectional variants, the connection stage is primarily used to evaluate a connection or complete the merge. Although it measures the length and visibility of the gap between the two trees, these measurements are generally not fed back to regulate the probability or target of the next extension.
To cope with extensions that approach or hit obstacles, hybrid planners in the P-RRT* family [38] superimpose artificial potential fields that push nodes away from obstacles and toward the goal. HP-APF-RRT* [39] draws several candidate points at each iteration and selects one with a probability derived from their heuristic values. The attractive and repulsive terms then guide the samples around the obstacles. The potential field brings defects of its own. In IAPF [40], a distance-weighted repulsive term secures terminal convergence, an exploration factor provides escape from local minima, and a directional weighting damps the oscillation of the path. Regulating the step length offers another response. ERRT* [41] turns the direction of each expansion with a potential field and sets the step size of that expansion through an adaptive update function. In ODSN-RRT [42], the safe step of each extension is set from the size of the obstacle ahead and the angle at which the node approaches it. Collision feedback is the mechanism that acts most directly on the collision event itself. Yu et al. [43] let the collisions met during expansion steer both the sampling and the extension of the tree, so that global exploration and local guidance stay in balance. However, collision responses in these methods generally either reject a blocked extension or redirect it with a heuristic field. The local contact geometry revealed by the collision is not explicitly used to construct a deterministic tangent-plane detour.
Taken together, the reviewed methods leave two unresolved limitations: connection information is not used to regulate subsequent cross-tree expansion, and collision geometry is not converted into a deterministic detour. To address these limitations, this paper proposes SACE-Bi-RRT*, a bidirectional RRT* planner for three-dimensional static environments that feeds both forms of information back into the search. The planner combines visibility-aware inter-tree guidance, collision-triggered tangent-plane deflection, clearance-adaptive extension, scrambled Sobol exploration, seam-cost connection, and greedy shortcutting.
This paper makes the following contributions:
(1) A dual-tree guided expansion strategy is proposed, in which the probability and the target of the guided extension are regulated by the incrementally maintained closest node pair between the two trees and its line-of-sight visibility, so the guidance is strengthened when extending toward the opposite tree is beneficial and withdrawn when the gap between the trees is blocked.
(2) A tangent-plane deflection strategy is proposed, which projects the blocked extension direction onto the tangent plane of the hit obstacle and thereby converts collisions into deterministic detours along the obstacle surface instead of discarding them.
(3) An environment-adaptive extension and sampling scheme is designed, which regulates the step length by the clearance of the expanding node and its distance to the extension target and supplies evenly distributed exploratory samples from scrambled Sobol sequences.
(4) A seam-cost connection mechanism is developed, which merges the two trees at the candidate pair minimizing the cost of the complete path through the seam rather than the pair distance, and a multi-round greedy shortcut is applied to the merged path.
The rest of this paper is arranged as follows. Section 2 formulates the three-dimensional path planning problem. Section 3 reviews RRT* and the baseline algorithms used for comparison. Section 4 presents the proposed SACE-Bi-RRT* algorithm. Section 5 reports the simulation experiments and their analysis, and Section 6 concludes the paper.

2. Problem Definition

The planning workspace is a bounded region X ⊂ R 3 , within which obstacles occupy a subset X o b s ⊂ X ; the free space is X f r e e = X ∖ X o b s . The vehicle is treated as a point moving in X f r e e ; the physical dimensions and the required safety margin of a specific platform can be accounted for by inflating the obstacles accordingly. Given a start point x s t a r t ∈ X f r e e and a goal point x g o a l ∈ X f r e e , the tuple ( X f r e e , x s t a r t , x g o a l ) defines a path planning problem.
A candidate solution is a piecewise-linear path, represented by an ordered sequence of waypoints σ = { x 0 , x 1 , … , x K } whose consecutive waypoints are joined by straight-line segments, where x 0 = x s t a r t , x K = x g o a l , and the number of segments K ∈ N is not fixed but may vary among candidate paths. The cost of a path is its total Euclidean length:
c ( σ ) = ∑ k = 0 K − 1 ∥ x k + 1 − x k ∥ .
Definition 1 
(Feasible Path). A path σ is feasible if it lies entirely within the free space, i.e., x k x k + 1 ¯ ⊂ X f r e e for k = 0 , 1 , … , K − 1 . The set of all feasible paths is denoted by Σ.
Definition 2 
(Optimal Path). Provided that the minimum exists, an optimal path is any feasible path of minimum cost,
σ * ∈ arg min σ ∈ Σ c ( σ ) .

4. The Proposed SACE-Bi-RRT* Algorithm

4.1. Overall Framework

This section presents SACE-Bi-RRT*, a bidirectional RRT* planner for three-dimensional static environments. Its design follows from two observations on existing bidirectional planners. First, in most of them, the connection module continually evaluates how far apart the two trees are and whether they can see each other, yet this information is not used in the extension decisions. Second, a colliding extension is discarded as a whole, although the collision exposes precisely the local geometry required to construct a detour. SACE-Bi-RRT* therefore lets the inter-tree gap and its visibility regulate the guided expansion, and turns the geometry exposed by a collision into a deterministic escape direction rather than discarding it.
On this basis, the planner organizes its components into a connection-aware chain. An incremental query maintains the globally closest node pair between the two trees together with its line-of-sight visibility, and this information regulates the probability and the target of guided expansion toward the opposite tree (Section 4.2). When an extension collides, the direction toward the current guidance target is projected onto the tangent plane of the hit obstacle, which yields a deterministic sliding direction along the obstacle surface (Section 4.3). The extension step is adapted to the clearance of the expanding node and its distance to the extension target (Section 4.4). Global exploration is performed with scrambled Sobol sequences, reinforced by an in-obstacle-triggered bridge test for narrow passages (Section 4.5). Once the two trees are connected, the merged path is shortened by a multi-round greedy shortcut (Section 4.6). Figure 2 illustrates the overall workflow.
Figure 2. Overall workflow of SACE-Bi-RRT*. Colored blocks denote the components introduced in this work, and white blocks denote the operations inherited from Bi-RRT*. Solid arrows carry the forward flow, and dashed arrows return to the next iteration.
Both trees are grown as standard RRT* trees. An accepted node is connected to the minimum-cost parent among its neighbors within the shrinking radius.
r n = min γ log n n 1 / 3 , η max ,
where n is the total number of nodes in the two trees, and γ is the RRT* scaling constant. The bound η max is the upper limit of the extension step of Section 4.4. The neighbors are rewired through the new node whenever this lowers their cost.
After each insertion, the connection stage examines the K c nearest cross-tree neighbors of the newest node and keeps those within the connection tolerance τ c . The trees are merged at the first collision-free pair in ascending order of the seam cost:   
c s e a m ( x i , x j ) = g a ( x i ) + ∥ x i − x j ∥ + g b ( x j ) ,
where g a and g b are the cost-to-come functions of the start-rooted and goal-rooted trees, respectively. Specifically,
g a ( x s t a r t ) = 0 , g b ( x g o a l ) = 0 , g q ( x n e w ) = g q ( x p a r ) + ∥ x n e w − x p a r ∥ , q ∈ { a , b } .
After parent selection and rewiring, g a ( x i ) and g b ( x j ) denote the current accumulated path lengths from the corresponding roots to these nodes. Since Equation (4) measures the cost of the complete path through the candidate pair rather than the pair distance alone, the connection favors pairs attached to low-cost branches in both trees over the geometrically closest pair.
The current best solution is replaced whenever a pair with a lower seam cost is found, and the search stops when a solution exists and no improvement has occurred for N s t o p consecutive iterations. Edge feasibility throughout the planner is verified by an exact segment-primitive intersection test on the parametric obstacles, whose closed-form clearance and normal queries are given in Section 4.3.
Algorithm 7 summarizes the main loop. Compared with Bi-RRT* (Algorithm 6), the modifications correspond to lines 4 and 5 (gating), line 7 (sampler), line 8 (guided expansion), lines 9 to 17 (cascaded extension), and line 22 (seam-cost connection in place of the nearest-pair merge). The following subsections describe each component in detail.
Algorithm 7 SACE-Bi-RRT*
Input: 
x s t a r t , x g o a l , obstacle set O, iteration cap K max , no-improvement bound N s t o p
Output: 
a collision-free path from x s t a r t to x g o a l , or ∅
   1:
T a ← { x s t a r t } ; T b ← { x g o a l } ; initialize two scrambled Sobol streams
   2:
( d g a p , χ ) ← ( ∞ , 0 )
   3:
for  k = 1  to  K max  do
   4:
     ( d g a p , χ ) ← UpdateGate ( T a , T b )
   5:
     P g ← GatedProbability ( d g a p , χ ) ; update the guidance target of each tree
   6:
    for each T ∈ { T a , T b }  do
   7:
         x s a m p l e ← SobolBridgeSample ( X )
   8:
         x n e w ← GuidedExtend ( T , P g )
   9:
        if  x n e w = ∅  then
 10:
            x n e w ← AdaptiveSteer ( T , x s a m p l e )
 11:
           if the extension collided then
 12:
                x n e w ← TangentDeflect ( T , x s a m p l e )
 13:
           end if
 14:
           if  x n e w = ∅  then
 15:
                x n e w ← MinimalStep ( T , x s a m p l e )
 16:
           end if
 17:
        end if
 18:
        if  x n e w ≠ ∅  then
 19:
           commit x n e w to T by ChooseParent and Rewire within radius r n
 20:
        end if
 21:
    end for
 22:
     TryConnect ( T a , T b )
 23:
    if a solution exists and no improvement occurred for N s t o p iterations then
 24:
        break
 25:
    end if
 26:
end for
 27:
return the merged path after greedy shortcutting, or ∅ if no solution was found

4.2. Dual-Tree Guided Expansion Strategy

Goal biasing is a common method for accelerating RRT-type planners. In existing methods, however, the biasing probability is regulated by single-tree information only. It is either a constant probability, a probability decaying with the distance from one tree to the fixed goal, or an event-triggered switch driven by failure counts. In bidirectional search, the state that actually indicates whether a guided extension toward the opposite tree is beneficial, namely the gap between the two trees and the visibility across it, has not been coupled with the guidance decision. The dual-tree guided expansion strategy proposed here makes this coupling explicit: both the probability and the target of the guided extension are regulated by the inter-tree gap and its line-of-sight visibility.
Let T a , T b ⊂ R 3 denote the node sets of the two trees. The gating pair is defined as the globally closest node pair between the two trees:
( x a g , x b g ) = arg min x i ∈ T a , x j ∈ T b ∥ x i − x j ∥ , d g a p = ∥ x a g − x b g ∥ .
Whether the two trees can see each other across this pair is described by the visibility flag
χ = 1 x a g x b g ¯ is collision - free ∈ { 0 , 1 } ,
where 1 [ · ] is the indicator function.
The pair is maintained incrementally. Every cross-tree pair created at iteration k involves a node inserted at that iteration, so comparing the newest node of each tree against all nodes of the opposite tree captures every new candidate. The record is updated only when a closer pair appears
d g a p ( k ) = min d g a p ( k − 1 ) , min y ∈ T b ∥ x n e w a − y ∥ , min x ∈ T a ∥ x − x n e w b ∥ ≤ d g a p ( k − 1 ) ,
where x n e w a and x n e w b represent the nodes inserted at iteration k.
The update cost is of the same order as one nearest-neighbor query per tree. Equation (8) shows that d g a p is non-increasing over the iterations, which makes it a stable regulating signal, and χ is re-evaluated only when the record pair is replaced, so each replacement incurs at most one additional collision check.
The gating pair regulates only the timing of the guided extension, whereas the trees are joined at the pair minimizing the seam cost of Equation (4) among the near neighbors of the newest nodes. That cost depends on the cost-to-come values, is not monotone, and changes under rewiring, which makes it unsuitable as a regulating signal.
A guided extension is most useful when the two trees are far apart and mutually visible. It brings no further benefit once the trees are already within the connection tolerance, where an aggressive bias only causes overshooting. It should be suppressed when the gating pair is occluded, since extending toward an invisible target repeatedly pushes the tree against the blocking obstacle. Accordingly, the guidance probability P g is defined first as
P g = P min + ( P max − P min ) χ S ( z ) ,
where P min and P max bound the probability from below and above, χ is the visibility flag of the gating pair, and S ( z ) is a smoothstep function of the normalized gap z,
S ( z ) = 3 z 2 − 2 z 3 , z = clamp d g a p − τ c d h − τ c , 0 , 1 ,
where τ c denotes the connection tolerance and d h = κ h τ c with κ h > 1 the transition distance, so that z normalizes the gap over the transition band. The ceiling P max is kept moderate so that most iterations remain available for global sampling.
The polynomial S ( z ) is the lowest-order polynomial satisfying S ( 0 ) = 0 , S ( 1 ) = 1 , and S ′ ( 0 ) = S ′ ( 1 ) = 0 . Compared with a linear map, it saturates smoothly at both ends of the transition band, so the sampling behavior does not switch abruptly when the gap crosses τ c or d h .
The guidance target follows the same visibility rule
x t g t ( a ) = x b g , χ = 1 , x g , χ = 0 ,
and it is symmetrical for T b , where x g denotes the endpoint the tree grows toward.
With probability P g , the tree performs a guided extension: it steers from its node closest to the guidance target toward that target, with the step clamped so as not to overshoot,
x n e w = x n t + min η ( x n t ) , ∥ x t g t − x n t ∥ x t g t − x n t ∥ x t g t − x n t ∥ , x n t = arg min x ∈ T ∥ x − x t g t ∥ ,
where η ( · ) stands for the adaptive step.
If the guided extension is blocked, the iteration falls back to the sample-directed extension of the cascade in Algorithm 7, so no iteration is wasted. Four behaviors follow. When the two trees are far apart and mutually visible, P g approaches P max , and the trees grow toward each other across the shrinking gap. When they are close and visible, P g falls to P min , which avoids overshooting and leaves the merge to the connection stage. When the gating pair is occluded, the strategy degrades to a low-probability bias toward the tree’s endpoint, so that the tree does not repeatedly push against the blocking obstacle. The collisions that still occur are handled by the tangent-plane deflection. In all remaining iterations, the planner explores globally with the Sobol-based sampler. The complete procedure is summarized in Algorithm 8. In Algorithm 8, y b and y a are temporary nearest-node candidates used to update the record; the stored gating pair remains ( x a g , x b g ) throughout.
Algorithm 8 Gate update and guided extension
Input: 
T a , T b , newest nodes x n e w a and x n e w b , gate record ( x a g , x b g , d g a p , χ ) , tree to extend T, obstacle set O
Output: 
a guided node x n e w for tree T, or ∅
   1:
y b ← Nearest ( T b , x n e w a ) ; y a ← Nearest ( T a , x n e w b )
   2:
if  Distance ( x n e w a , y b ) < d g a p  then
   3:
     ( x a g , x b g ) ← ( x n e w a , y b ) ; d g a p ← Distance ( x n e w a , y b )
   4:
end if
   5:
if  Distance ( y a , x n e w b ) < d g a p  then
   6:
     ( x a g , x b g ) ← ( y a , x n e w b ) ; d g a p ← Distance ( y a , x n e w b )
   7:
end if
   8:
if the gating pair was replaced then  χ ← ObstacleFree ( x a g , x b g , O )
   9:
z ← clamp ( d g a p − τ c ) / ( d h − τ c ) , 0 , 1
 10:
P g ← P min + ( P max − P min ) · χ · ( 3 z 2 − 2 z 3 )
 11:
if  χ = 1  then  x t g t ← the gating node of the tree opposite to T
 12:
else  x t g t ← the endpoint of T
 13:
if  Rand ( 0 , 1 ) ≥ P g  then return ∅
 14:
x n t ← Nearest ( T , x t g t )
 15:
x n e w ← Steer ( x n t , x t g t , min ( η ( x n t ) , Distance ( x n t , x t g t ) ) )
 16:
if  ObstacleFree ( x n t , x n e w , O )  then
 17:
    return  x n e w
 18:
end if
 19:
return ∅

4.3. Tangent-Plane Deflection Strategy

The standard RRT* discards a sample whenever the extension toward it collides, although the collision itself reveals the local geometry of the blocking obstacle. Existing collision-exploiting strategies either deflect along one-dimensional obstacle boundaries in the plane, or, in three dimensions, draw K candidate directions inside a sampling cone that is unrelated to the goal direction, with K typically set to 8. To make direct use of the exposed geometry, a tangent-plane deflection strategy is proposed, in which the escape direction is derived from two explicit requirements. The direction should (i) leave the obstacle surface and, (ii) among all motions parallel to the surface, make the largest progress toward the current guidance target.
Since the obstacles are parametric primitives, namely spheres [ c , r ] , axis-aligned boxes [ c , h ] with half-extents h , and z-axis cylinders [ c , r , H ] , the clearance of a query point x admits the closed form
clr ( x ) = min k d k ( x ) , d k ( x ) = ∥ x − c k ∥ − r k , sphere , max | x − c k | − h k , 0 , box , max ∥ x x y − c k , x y ∥ − r k , 0 , max | x z − c k , z | − H k 2 , 0 , cylinder ,
where | · | and max are taken componentwise. The outward unit normal follows from the nearest surface point p * ,
n ^ ( x ) = x − p * ∥ x − p * ∥ ,
evaluated analytically from the hit face, wall, or cap for a point lying on a surface.
When the extension from x n e a r collides, the last collision-free point x c o l on the segment is located by bisection, and the outward unit normal n ^ of the hit obstacle at x c o l is evaluated in closed form by Equation (14). Let u ^ g = ( x t g t − x c o l ) / ∥ x t g t − x c o l ∥ denote the direction toward the guidance target of Equation (11). Requirement (ii) then takes the form of the constrained problem
t * = arg max ∥ t ∥ = 1 , t · n ^ = 0 t · u ^ g .
The goal direction is decomposed into its normal and tangential components as follows:
u ^ g = ( u ^ g · n ^ ) n ^ + u t , u t ⊥ n ^ .
For every feasible t , the Cauchy–Schwarz inequality gives
t · u ^ g = t · u t ≤ ∥ t ∥ ∥ u t ∥ = ∥ u t ∥ ,
with equality if and only if t is aligned with u t . The solution of Equation (15) is therefore the normalized tangential projection of the goal direction
t * = u ^ g − ( u ^ g · n ^ ) n ^ ∥ u ^ g − ( u ^ g · n ^ ) n ^ ∥ ,
which is well defined unless u ^ g is parallel to n ^ . In that degenerate case, an arbitrary tangential unit vector is used instead. Requirement (i) is met by mixing a fixed normal component into the sliding direction
d * = λ n n ^ + λ t t * ∥ λ n n ^ + λ t t * ∥ , λ n , λ t > 0 ,
where λ n and λ t weight the surface-leaving and the goal-sliding components. Since t * ⊥ n ^ , the denominator of Equation (19) equals λ n 2 + λ t 2 , and the normal component of the escape direction is
d * · n ^ = λ n λ n 2 + λ t 2 > 0 ,
so every escape direction points away from the surface.
A single direction may still be blocked in concave regions, where several obstacles jointly bound the free space around the collision point. Because { t * , n ^ × t * } is an orthonormal basis of the tangent plane, rotating t * within the plane,
t θ = cos θ t * + sin θ ( n ^ × t * ) , θ ∈ { 0 ∘ , ± 40 ∘ , ± 80 ∘ } ,
yields a deterministic fan of five tangential candidates centered on the optimum of Equation (15). Substituting each candidate t θ into Equation (19) yields the escape direction d θ . Each direction is extended from the collision point with the clearance-controlled saturated step
η c o l = max min η b clr ( x c o l ) d s a f e , η max , η min .
This is the clearance factor of Section 4.4, kept above the same lower bound and without the target-approaching factor, because the purpose of the deflection is to leave the surface rather than to approach the target. Every candidate node x c a n d = x c o l + η c o l d θ is tested by the exact segment collision check from x n e a r . Among the feasible candidates, the one minimizing
C = w d ∥ x n e a r − x c a n d ∥ + w g ∥ x c a n d − x t g t ∥ + w s d s a f e clr ( x c a n d ) + ϵ
is accepted, where the three terms penalize the extension length, the remaining distance to the guidance target, and the inverse clearance of the candidate node, respectively. The corresponding weights are w d , w g , and w s .
The complete deflection procedure is summarized as follows.
Step 1. Locate the last collision-free point x c o l on the blocked segment by bisection, and evaluate the outward unit normal n ^ of the hit obstacle at x c o l by Equation (14).
Step 2. Project the direction u ^ g toward the current guidance target onto the tangent plane and normalize it to obtain t * by Equation (18). If u ^ g is parallel to n ^ , take an arbitrary tangential unit vector instead.
Step 3. Rotate t * within the tangent plane by Equation (21) to generate the five tangential candidates, and mix the fixed normal component into each of them by Equation (19).
Step 4. Extend each candidate direction from x c o l with the saturated step η c o l of Equation (22), and test every candidate node by the exact segment collision check from x n e a r .
Step 5. Among the feasible candidates, accept the one minimizing the cost of Equation (23). If no candidate is feasible, report failure, and the cascade of Algorithm 7 falls back to the minimal-step extension toward the sample.

4.4. Adaptive Step Size

The free-space scale around an expanding node varies across the workspace by orders of magnitude, from narrow passages to open regions, yet the extension step of standard RRT* is one global constant. A constant step is thus mismatched with most of the workspace: it is too aggressive near obstacle surfaces and too conservative in open space. Adaptive step-size schemes have therefore been adopted in several RRT* variants. In the proposed planner, the step is required to scale with the clearance of the expanding node, so that the tree advances with small steps near obstacle surfaces and with large steps in free space. The step is further required to shrink as the node approaches the extension target, so that the extension does not overshoot. Both requirements are expressed as saturated factors of the clearance and of the target distance
f c l r = min η b clr ( x n e a r ) d s a f e , η max , f t g t = min 1 , ∥ x n e a r − x t g t ∥ η max ,
where η b denotes the nominal step, d s a f e the reference clearance, and x t g t the target of the current extension. For a guided extension, this target is the guidance target; otherwise, it is the sample point.
The step is their product, kept above a lower bound:
η = max f c l r · f t g t , η min .
Equation (25) confines η to [ η min , η max ] and makes it non-decreasing both in the clearance and in the distance to the target. The two saturations give the step an explicit limiting behavior:
η = η min , clr ( x n e a r ) ≤ η min η b d s a f e , η max , clr ( x n e a r ) ≥ η max η b d s a f e ∧ ∥ x n e a r − x t g t ∥ ≥ η max .
That is, the step stays at the lower-bound value in the immediate vicinity of obstacle surfaces, reaches the full value in open space far from the target, and it varies linearly with the clearance between the two regimes. The step is applied in the steer operation toward the sample,
x n e w = x n e a r + min η , ∥ x s a m p l e − x n e a r ∥ x s a m p l e − x n e a r ∥ x s a m p l e − x n e a r ∥ ,
where the inner minimum prevents the extension from overshooting the sample itself.
The guided extension applies the same rule toward the guidance target in Equation (12), and the tangent-plane deflection uses only the clearance factor in its saturated form in Equation (22). All four step parameters are tied to a single environment scale, the length L of the workspace diagonal, through the base step η b = L / 40 . The remaining three are fixed multiples of this base step
d s a f e = 3 η b , η max = 8 3 η b , η min = 0.2 η b ,
so the mapping transfers across environments of different sizes without retuning.
Very close to a surface, the lower bound η min may exceed the local clearance, so Equations (24)–(26) alone do not guarantee a collision-free extension. The feasibility of every candidate node and edge is enforced by the exact collision check, and the lower bound only prevents the step from vanishing.

4.5. Sobol-Sequence-Based Sampling Strategy

Pseudo-random sampling suffers from clusters and voids: some regions receive redundant samples while others remain uncovered for many iterations. These deficiencies directly lead to repeated exploration of covered regions and delayed discovery of uncovered ones, and low-discrepancy sequences have therefore been adopted in several planners to improve the coverage uniformity. Uniform coverage alone, however, rarely places samples inside narrow passages. The sampler of SACE-Bi-RRT* therefore combines two parts: a scrambled Sobol basis for global exploration, and a bridge test triggered by in-obstacle samples, which converts them into narrow-passage samples.
The Sobol sequence is a digital sequence in base 2. For coordinate j, a set of direction numbers v 1 ( j ) , v 2 ( j ) , … ∈ [ 0 , 1 ) is generated from a primitive polynomial over G F ( 2 ) assigned to that coordinate. The n-th sample is then assembled by XOR-combining the direction numbers selected by the binary digits of the index
n = ∑ k ≥ 1 b k ( n ) 2 k − 1 , u n ( j ) = b 1 ( n ) v 1 ( j ) ⊕ b 2 ( n ) v 2 ( j ) ⊕ ⋯ ,
where b k ( n ) ∈ { 0 , 1 } are the binary digits of n, and ⊕ denotes bitwise exclusive-or on the binary expansions.
To decorrelate the two trees without losing the low-discrepancy structure, each tree randomizes its own copy of the sequence by Owen–Matoušek scrambling. The scrambling applies a random nonsingular lower-triangular matrix C ( j ) and a random digital shift e ( j ) to the digit vector of every coordinate,
u ˜ ( j ) = C ( j ) u ( j ) ⊕ e ( j ) over G F ( 2 ) .
A different scrambling seed is used per tree, so the two trees explore with two separately randomized low-discrepancy streams instead of tracing the same deterministic point set. The scrambled point u ˜ n ∈ [ 0 , 1 ] 3 is finally mapped affinely into the workspace
x 1 = x l o + u ˜ n ⊙ ( x h i − x l o ) ,
where x l o and x h i are the corners of the workspace, and ⊙ denotes the componentwise product.
The coverage uniformity of a point set P = { u 1 , … , u N } is assessed by two standard measures. The star discrepancy, which is highly sensitive to the point distribution near the corners and boundaries of the domain, is defined as
D N * ( P ) = sup t ∈ [ 0 , 1 ] d 1 N ∑ i = 1 N 1 [ 0 , t ) ( u i ) − t 1 t 2 ⋯ t d .
The L2-star discrepancy replaces the supremum with an average over all anchored boxes
D L 2 ( P ) = ∫ [ 0 , 1 ] d | 1 N ∑ i = 1 N 1 [ 0 , t ) ( u i ) − t 1 t 2 ⋯ t d | 2 d t 1 / 2 ,
where [ 0 , t ) stands for the axis-aligned box anchored at the origin with upper corner t , whose volume equals t 1 t 2 ⋯ t d .
Sobol sequences attain the low-discrepancy rate in dimension d = 3 ,
D N * ( Sobol ) = O ( log N ) 3 N , D N * ( random ) = O N − 1 / 2 in probability ,
so the deviation of the sampled set from the uniform measure shrinks at a nearly N − 1 rate, compared with the N − 1 / 2 rate of independent uniform points. Scrambling preserves this rate while randomizing the stream.
Figure 3 compares both measures of the employed scrambled Sobol points against Halton and pseudo-random points over the sample counts used by the planner, and the scrambled Sobol set attains the lowest discrepancy under both measures throughout. Figure 4 shows the corresponding point-distribution cross-sections, where the Sobol and Halton sets exhibit neither the clusters nor the voids that mark the pseudo-random set.
Figure 3. Discrepancy of the sampling sequences in dimension d = 3 against the number of samples N. (a) Star discrepancy D N * . (b) L2-star discrepancy D L 2 . Both axes are logarithmic.
Figure 4. Point-distribution cross-sections of the three sequences over a central slab of an N = 2048 set. (a) Pseudo-random points, with a representative cluster and void marked. (b) Halton points. (c) Scrambled Sobol points.
The bridge test is triggered only when the Sobol sample x 1 falls inside an obstacle, i.e., clr ( x 1 ) ≤ 0 . A second point is then drawn along a random unit direction v ^ at the obstacle-gap scale,
x 2 = x 1 + ℓ b v ^ , ℓ b = σ b ( 0.5 + 1.5 u ) , u ∼ U ( 0 , 1 ) ,
where σ b is the bridge length scale, and ℓ b is the sampled bridge-segment length. The midpoint x m = ( x 1 + x 2 ) / 2 is accepted if both endpoints lie inside obstacles while the midpoint keeps a clearance margin
clr ( x 1 ) ≤ 0 ∧ clr ( x 2 ) ≤ 0 ∧ clr ( x m ) ≥ R s a f e ,
where R s a f e denotes the required safety-clearance threshold at the bridge midpoint, specified in meters because it is a platform-level safety margin rather than a workspace-scale planning parameter, and x 2 and x m are additionally required to lie within the workspace.
Condition (36) constrains the accepted sample to a narrow passage bounded on both sides. The clearance margin guarantees a collision-free ball of radius R s a f e around x m , while the free chord through x m along the bridge direction is contained between the two in-obstacle endpoints. Let w ( x m ) denote the extent of free space through x m along v ^ . The local passage width is then bounded on both sides,
2 R s a f e ≤ w ( x m ) ≤ ℓ b ≤ 2 σ b ,
which is exactly the narrow-passage regime that uniform sampling rarely reaches: open regions violate the upper bound, and gaps too tight for the planner violate the lower bound. The complete sampler returns
x s a m p l e = x 1 , clr ( x 1 ) > 0 , x m , condition ( 36 ) holds , x 1 ′ , otherwise ,
where x 1 ′ is a fresh Sobol point drawn by Equations (29)–(31).
As in standard uniform sampling, the fallback sample may still lie inside an obstacle. Feasibility is enforced by the subsequent steering and collision checks of Algorithm 7.
The in-obstacle trigger requires one clearance query per sample, and the bridge is rarely triggered in open regions, so the overhead remains small. The triggered bridge consumes only samples that would otherwise be discarded.

4.6. Path Post-Processing

The merged path inherits the zigzag redundancy typical of sampling-based planners, especially near the junction where the two trees join. The final path is therefore shortened by a multi-round greedy shortcut. Let Π = ( π 1 , … , π N ) denote the waypoint list. In each round, the procedure walks along the path once: from the current waypoint π i , it connects directly to the farthest waypoint reachable by a collision-free straight segment,
j * = max j > i + 1 : π i π j ¯ is collision - free ,
removes the intermediate waypoints π i + 1 , … , π j * − 1 , and continues from π j * . If no such j * exists, it advances to π i + 1 . At most three rounds are executed, and the procedure terminates early once a round removes no waypoint. Every replacement obeys the triangle inequality,
∥ π i − π j * ∥ ≤ ∑ k = i j * − 1 ∥ π k − π k + 1 ∥ ,
so the path length is monotonically non-increasing, and since every inserted segment passes the exact collision check, feasibility is preserved.
The cost of the shortcut, O ( N 2 ) collision checks per round on the sparse waypoint list, is negligible compared with that of the main loop.

5. Simulation Experiments and Analysis

This section evaluates SACE-Bi-RRT* by simulation. The contribution of the proposed components is isolated first; the full planner is then benchmarked against five baseline planners in two structured environments and in a large-scale mixed environment, and the mechanisms behind the observed results are examined at the end of the section. The baselines are RRT*, goal-biased RRT* (GB-RRT*), Informed-RRT*, Bi-RRT* and the artificial-potential-field guided bidirectional planner Bi-APF-RRT*. All planners are implemented in the same MATLAB framework and share the collision checking, the nearest-neighbor routine, the pre-allocated tree structure and the same anytime stopping rule, so each baseline also keeps optimizing after its first solution and terminates only after N s t o p iterations without improvement. Every run is executed in MATLAB R2025a on a computer equipped with an Intel Core i7-13700H processor and 16 GB of RAM.
Three simulation environments were designed and are shown together in Figure 5. Environment 1 is a pillar forest of 200 m × 200 m × 80 m in which 11 full-height cylinders are placed in a staggered layout. A large-radius cylinder blocks the direct corridor near the diagonal, and another cylinder guards the goal region. The start and the goal are located at (0, 0, 0) and (200, 200, 60). The corridors of this scene are wide and few, so the result depends on how early a planner commits to one of them and on how it clears the obstacle at the end of the route. Environment 2 is a low-altitude urban block of 200 m × 200 m × 50 m in which 31 cuboid buildings are arranged on a jittered grid, and the gap between two neighboring buildings ranges from about 1 m to 13 m. Half of the buildings reach the ceiling of the workspace to prevent trivial flight over the scene, and the route runs from (10, 10, 10) to (190, 190, 10). The free space here is a street network whose direction changes are imposed by the intersections, which tests the ability of a planner to select streets without spending search time on the wrong ones. Environment 3 contains 80 obstacles, namely 52 cuboids and 28 cylinders, distributed over a 1500 m × 1500 m × 450 m workspace, and the start (0, 0, 0) and the goal (1490, 1490, 400) lie about 2.1 km apart along a straight line. Its search space is an order of magnitude larger than that of the two structured scenes. With a fixed sampling budget, the workspace receives fewer samples per unit volume, so the planner must maintain its behavior even though each detour spans a longer distance.
Figure 5. Three simulation environments. (a) Pillar forest. (b) Urban block. (c) Large-scale mixed environment.
All length-related parameters of SACE-Bi-RRT* are normalized by the diagonal length L of the workspace, so a single parameter set serves the three environments without per-scene tuning. The search stops after N s t o p = 300 iterations without improvement, and every run is capped at 5000 iterations. For the single-tree baselines, the goal-biasing probability is set to 0.1, and the extension step is fixed at η b , and Informed-RRT* switches to ellipsoidal informed sampling once a first solution is available. Bi-RRT* grows two trees from the endpoints with the fixed step and merges them at the nearest node pair, and Bi-APF-RRT* additionally steers each extension by an artificial-potential-field resultant of goal attraction and obstacle repulsion. Neither bidirectional baseline applies post-processing. The complete values of the parameters of SACE-Bi-RRT*, together with the meaning of every symbol, are listed in Table A1 of Appendix A.
Each algorithm is run 100 times independently in every environment with the random seeds fixed to the run index. Two groups of indicators are recorded. The first group characterizes the first solution and consists of the first-solution time and the success rate within the iteration cap. The second group characterizes the converged result and consists of the final path length, the average turning angle, the number of iterations and the converged planning time. The average turning angle is the mean angle between consecutive segments of the returned path and quantifies its geometric smoothness, which the path length does not capture. All indicators are reported as the mean and the standard deviation over the 100 runs, except the number of iterations, which is reported as the mean. The success rate is 100% for every algorithm in every environment, so only the remaining indicators are tabulated.

5.1. Component Validation

The proposed components act at successive stages of one extension, and each of them is examined separately before the full comparisons. Six variants are derived from the full planner, namely removing the bridge test from the sampler, replacing the gated guidance probability with the constant 0.1, replacing the visibility gate with a push-mode gate that keeps pursuing the opposite tree when the gap is blocked, removing the tangent-plane deflection, replacing the closed-form deflection direction with the K-direction scan, and removing the adaptive step. Each variant is run 30 times in every environment with the same fixed seeds. Table 1 reports the change in each affected metric relative to the full planner, and Figure 6 visualizes the changes in the number of iterations and in the average turning angle. Each variant modifies a single component, so the reported changes are marginal effects and are not additive, and each mean is taken over the successful runs of the variant.
Table 1. Ablation of the proposed components (a positive value denotes degradation). Each cell lists the change in Environment 1, in Environment 2 and in Environment 3.
Figure 6. Ablation results in the three environments. (a) Relative change in the number of iterations. (b) Relative change in the average turning angle.
The bridge test does not improve path quality in the three tested environments. None of the environments contains a passage that satisfies both bounds of Equation (37), so the test rarely yields an accepted sample, and removing it changes the path length by at most 0.3%, which remains within the run-to-run variation. Its timing effect is environment-dependent: removing it changes the planning time by + 8.5 % , − 4.8 % , and − 16.2 % in the three environments, respectively, with the reduction in the large-scale mixed environment being statistically significant. The bridge test is therefore retained as a safeguard for narrow passages that satisfy the bounds of Equation (37), rather than as a component responsible for the path-quality improvement.
The gated guidance mainly affects search effort rather than final path quality. Replacing it with a constant probability increases the number of iterations by 13.4–18.6% and the planning time by 4.8–11.4%, while changing the path length by less than 0.9%. The gate therefore improves the efficiency of the search without materially changing the final path quality.
The tangent-plane deflection is the component most critical to search robustness. Removing it increases the number of iterations by 17.5%, 61.7%, and 136.6% in the three environments, and reduces the success rate from 100% to 96.7% in the large-scale mixed environment. By contrast, replacing the closed-form direction with the K-direction scan produces no measurable path-quality gain: the two variants differ in path length by at most 0.3%, whereas the scan evaluates eight candidate directions instead of five and changes the planning time by − 3.2 % , + 4.6 % , and + 12.9 % . The closed-form direction is therefore retained as the default.
The adaptive step primarily contributes to path quality. Replacing it with a fixed step reduces the number of iterations by 14.4–23.8% and shortens the planning time in the two structured environments by approximately 35–39%, but increases the final path length by 2.6–13.3% and the average turning angle by 61.6–85.9%. This result shows that the adaptive step trades additional search effort for shorter and smoother paths.

5.2. Structured Environments

Figure 7 shows the planning results in the pillar forest. RRT*, GB-RRT* and Informed-RRT* change corridors several times before reaching the goal, and their paths change direction repeatedly between the pillars. Bi-RRT* keeps to one corridor and reaches the goal with fewer direction changes, but the merge at the nearest node pair leaves a visible kink. Bi-APF-RRT* straightens the long segments under the potential-field resultant, at the cost of rounding the large cylinder at a distance. SACE-Bi-RRT* stays in one corridor and turns where the corridor turns.
Figure 7. Planning results of the six planners in the pillar forest. The single-tree planners (a–c) change corridors several times between the pillars, Bi-RRT* (d) keeps to one corridor but shows a kink at the merge point of the two trees, Bi-APF-RRT* (e) straightens the long segments but bypasses the large cylinder at a wide margin, and SACE-Bi-RRT* (f) stays in one corridor and turns only where the corridor turns.
The data in Table 2 further show that the margin in this scene is concentrated in the turning angle. The average turning angle of SACE-Bi-RRT* is 20.4°, and those of the baselines are 1.9 to 2.6 times as large, the largest ratio among the three environments. Its final path length is 72.9%, 77.5%, 77.5%, 82.0% and 87.9% of that of RRT*, GB-RRT*, Informed-RRT*, Bi-RRT* and Bi-APF-RRT*, and its number of iterations is 64.9% to 93.6% of theirs. Its path-length standard deviation is 5.7 m, and that of the baselines is 2.3 to 6.4 times as large. Among the baselines, the average length of Bi-RRT* is 94.6% of that of GB-RRT*, while the averages of GB-RRT* and Informed-RRT* differ by 0.01 m. This indicates that, in a scene with only a few wide corridors, the second tree contributes more than the goal bias or the informed sampling. Its average converged planning time is 0.404 s, while the baselines require 0.017 s to 0.073 s.
Table 2. Simulation data of six algorithms in the three environments (proposed planner in bold). The three environments are the pillar forest, the urban block and the large mixed environment introduced above.
Figure 8 shows the planning results in the urban block. The three single-tree baselines enter and leave several streets before reaching the goal. Bi-APF-RRT* follows the street directions closely and deviates at the intersections, where the repulsion of the surrounding facades acts from both sides. SACE-Bi-RRT* crosses the network with its direction changes concentrated at the intersections.
Figure 8. Planning results of the six planners in the urban block. The single-tree planners (a–c) enter and leave several streets before reaching the goal; Bi-RRT* (d) passes between the buildings with several changes in direction; Bi-APF-RRT* (e) follows the street directions closely but deviates at the intersections, where the repulsion of the facades acts from both sides; and SACE-Bi-RRT* (f) traverses the street network with its direction changes concentrated at the intersections.
The number of iterations in Table 2 responds to this change in scene asymmetrically. Every baseline needs more iterations here than in the pillar forest, 1014 to 1420 compared with 592 to 854, and Bi-APF-RRT* needs 1420, the largest count of any algorithm in the three environments. SACE-Bi-RRT* converges in 527 iterations, which is 37.1% to 52.0% of the counts of the baselines and fewer than the 554 it needs in the pillar forest. Its final path length is 68.7% of that of RRT*, 71.1% and 71.5% of those of the two goal-directed single-tree baselines, 78.9% of that of Bi-RRT* and 83.6% of that of Bi-APF-RRT*. The margin is therefore wider against every baseline than in the pillar forest, while the ordering of the five baselines is unchanged. The dispersion gap is the wider of the two structured scenes, as the standard deviation of SACE-Bi-RRT* is 3.4 m and that of the baselines is 3.6 to 13.5 times as large. The average turning angle of SACE-Bi-RRT* is 33.4° here, more than the 20.4° of the pillar forest. This increase is not specific to the proposed planner. All six algorithms turn more sharply here than in the pillar forest, from 39.0° to 44.2° for Bi-APF-RRT* and from 52.2° to 54.0° for RRT*, since a path through a street network cannot avoid the turns that the network itself imposes. SACE-Bi-RRT* converges in 0.408 s on average, while the baselines need 0.049 s to 0.180 s.

5.3. Large-Scale Mixed Environment

Figure 9 shows the planning results in the large mixed environment. The five baselines deviate at the clustered obstacle groups and recover their heading only after passing them, whereas the path of SACE-Bi-RRT* stays close to the start-to-goal direction between the groups.
Figure 9. Planning results of the six planners in the large-scale mixed environment. The paths of the five baselines (a–e) deviate at the clustered obstacle groups and recover their heading only after passing them, whereas SACE-Bi-RRT* (f) stays close to the start-to-goal direction between the groups.
The comparison in Table 2 turns on how the algorithms respond to the change in scale. Although the workspace is an order of magnitude larger, SACE-Bi-RRT* converges in 540 iterations, which lies within the range of 527 to 554 that it needs in the two structured scenes. The baselines need 772 to 1247 iterations, so its number of iterations is 43.3% to 70.0% of theirs. The average final path length of SACE-Bi-RRT* is 2215.2 m, which is 70.3% of that of RRT*, about 74.5% of those of the two goal-directed single-tree baselines, 80.2% of that of Bi-RRT* and 86.2% of that of Bi-APF-RRT*. Its average turning angle is 24.6°, and that of the baselines is 1.7 to 2.2 times as large. Convergence takes 0.622 s on average, against 0.037 s to 0.210 s for the baselines. These values indicate that the search effort of the proposed planner does not grow with the workspace at this scale, whereas that of every baseline does.
The baselines are dispersed here as well. Their path-length standard deviation grows to between 99.8 m and 260.9 m, which is 4.9 to 12.8 times the 20.3 m of SACE-Bi-RRT*.

5.4. Run-to-Run Stability

The preceding two subsections report each indicator as a mean and a standard deviation, and this subsection examines how the 100 runs are distributed around those means. Two views of the same data are used. Table 3 lists the coefficient of variation of the path length, defined as the ratio of the standard deviation to the mean, and Figure 10 gives the box plots of the path length, the planning time and the average turning angle for the six algorithms in the three environments.
Table 3. Coefficient of variation (%) of the path length over the 100 runs.
Figure 10. Box plots of the path length, the planning time and the average turning angle over the 100 runs. (a–c) Environment 1. (d–f) Environment 2. (g–i) Environment 3.
The coefficient of variation separates the six algorithms into three groups, and the same grouping holds in all three environments. It is 7.75% to 12.05% for the three single-tree baselines, 3.76% to 5.92% for the two bidirectional baselines and 0.92% to 1.88% for SACE-Bi-RRT*. Within the single-tree group, the three baselines exchange positions from one environment to another, whereas the order between the three groups is preserved. The distance to the most consistent baseline widens as the environment grows, since the coefficient of variation of Bi-APF-RRT* is 2.0 times that of SACE-Bi-RRT* in the pillar forest, 3.0 times in the urban block and 4.2 times in the large mixed environment.
To test whether the observed differences are statistically reliable, the runs are paired by seed, since run k of every planner uses the same random seed, and the final path length and the average turning angle of SACE-Bi-RRT* are compared with those of each baseline by the paired Wilcoxon signed-rank test. The Holm correction is applied to the five comparisons within each metric and environment. All 30 comparisons are significant at a Holm-adjusted p < 0.001 . Percentile bootstrap 95% confidence intervals of the means, based on 10,000 resamples, are reported in Table 4; the interval for SACE-Bi-RRT* does not overlap that of any baseline for either metric in any environment.
Table 4. Final path length and average turning angle over 100 runs (mean [95% CI]).
Figure 10 shows the same contrast run by run. The boxes of SACE-Bi-RRT* for the path length and the turning angle are the lowest and the most compact in every environment, and their whiskers stay short in the large mixed environment, where the boxes of all five baselines widen. The margins reported for the three environments are therefore carried by the whole distribution rather than by a subset of favorable runs. The planning-time boxes of SACE-Bi-RRT* lie above those of the baselines and stay narrow, so the additional computation listed in Table 2 varies little from one run to the next. For a planner that serves as the front end of a trajectory tracker, a path whose length and smoothness vary little across runs is as relevant as the average value of either quantity.
Figure 11 provides an empirical finite-iteration profile of the search. Each curve is the median cost of the current best solution over 30 seed-matched runs under a common 5000-iteration cap; for each planner, the curve begins at the first iteration at which all 30 runs have found a feasible solution. The shaded band shows the interquartile range for SACE-Bi-RRT*, and the plotted quantity is the best search-stage connection cost before the final shortcut post-processing. The proposed planner reaches a low cost early and then changes little, whereas the strongest baseline continues to improve gradually. This profile characterizes the observed anytime behavior within the tested iteration budget and is not a claim of asymptotic optimality.
Figure 11. Empirical evolution of the current best search cost under a common iteration cap of 5000. Each curve shows the median over 30 seed-matched runs, and plotting begins at the first iteration at which all runs of the corresponding planner have found a feasible solution. The shaded band shows the interquartile range of SACE-Bi-RRT*. The plotted cost is the current best connection cost before the final shortcut post-processing. (a) Pillar forest. (b) Urban block. (c) Large-scale mixed environment.

5.5. Discussion

The proposed components divide into two pairs. The gated guidance selects how often an extension aims at the opposite tree, and the tangent-plane deflection determines where that extension goes once it is blocked, so this pair fixes the direction. The bridge test selects which samples are worth an extension, and the adaptive step sets how far an accepted edge reaches, so this pair fixes its extent. A single extension of the full planner therefore carries the direction of the opposite tree, the local surface geometry of whatever blocks it, and the local clearance around it. A fixed-step random extension carries none of the three, which is consistent with the fewer iterations the planner needs to reach its stopping criterion in all three environments.
The tangent-plane deflection admits a direct comparison with the two nearest alternatives. The potential-field steering of Bi-APF-RRT* forms a resultant of goal attraction and obstacle repulsion at every extension, so its direction depends on the repulsion coefficient and on the distance to every obstacle in the neighborhood. In the street network of Environment 2, the facades on both sides of a street contribute opposing repulsions that can nearly cancel at an intersection. The tangent-plane deflection instead acts only when an extension is blocked, and it projects the intended direction onto the tangent plane of the contacted surface. The corrected direction is therefore determined by the geometry of the single surface that blocks the extension, rather than by a balance of forces over every obstacle in the neighborhood. The K-direction scan reaches the same result by sampling a fan of candidate directions around the blocked one and testing each, which returns the same path quality within 0.3% while evaluating eight candidates where the closed form evaluates five.
The final length advantage is next decomposed into the contribution of the search stage and that of the post-processing stage, over 30 runs per environment, and Table 5 reports both conditions as the mean and the standard deviation together with the reduction of SACE-Bi-RRT* relative to Bi-RRT*. In the raw condition, both planners return the merged path at the first connection, and the path of SACE-Bi-RRT* is 8.1%, 16.5% and 16.1% shorter in Environments 1 to 3, which isolates the effect of the guided expansion, the deflection, the adaptive step and the seam-cost connection. In the unified condition, the identical multi-round greedy shortcut is applied to both outputs. Except in the pillar forest, where the advantage narrows to 2.8%, the search-stage improvements survive the shortcut, and the advantage remains 13.8% and 10.2% in the urban block and in the large mixed environment. The pillar forest contains wide free corridors, so a large part of the redundancy of a raw path is recoverable by the shortcut alone, while in the street network and in the large mixed environment, the shortcut cannot move a path across an obstacle.
Table 5. Decomposition of the length advantage into the search stage and the post-processing stage (lengths in m).
The guided extension is applied with probability at most P max = 0.3 , leaving at least 70% of the iterations for global scrambled-Sobol sampling; the adaptive step is bounded below by η min > 0 , and the rewiring radius follows Equation (3). These safeguards preserve a global-exploration branch that retains full support over the free space, together with a positive lower bound on the step, but they do not establish a formal probabilistic-completeness or asymptotic-optimality result for the complete planner. Accordingly, Figure 11 provides an empirical characterization of the search behavior within the tested finite iteration budget.
The higher planning time of SACE-Bi-RRT* is attributable to the additional operations introduced in its search and connection stages. During tree expansion, local clearance is queried to adapt the step size, and, when an extension is blocked, the surface normal is queried to compute a tangent-plane deflection. The planner also maintains the closest visible pair between the two trees. At the connection stage, it evaluates K c cross-tree candidate pairs using the seam cost and then applies a greedy shortcut to the merged path. Table 2 reports the resulting times: the mean first-solution times of SACE-Bi-RRT* are 0.082 , 0.085 and 0.142 s in Environments 1–3, respectively, and the mean converged times are 0.404 , 0.408 and 0.622 s. The five baselines require 0.003 – 0.027 s for the first solution and 0.017 – 0.210 s at convergence. Thus, the proposed planner incurs a higher planning-time cost in exchange for shorter and smoother paths. This trade-off makes it suitable for pre-flight global planning and low-rate global replanning, whereas high-frequency reactive avoidance is typically handled by a local planner. As an anytime planner, it can return the best path available when a prescribed iteration limit is reached.

6. Conclusions

In most existing bidirectional RRT* planners, the connection stage continuously measures the gap between the two trees and the visibility across it, yet this information is excluded from the extension decisions. At the same time, the local geometry exposed by a colliding extension is discarded outright. To overcome these deficiencies, this paper proposes the SACE-Bi-RRT* algorithm for path planning in three-dimensional static environments. In the guidance stage, a dual-tree guided expansion strategy is designed, in which the probability and the target of the guided extension are regulated jointly by the incrementally maintained closest node pair between the two trees and its line-of-sight visibility. During collision handling, a tangent-plane deflection strategy is introduced, which projects the blocked extension direction onto the tangent plane of the hit obstacle, thereby converting the collision into a deterministic detour along the obstacle surface. For the extension, an adaptive step-size strategy is employed to regulate the step length according to the clearance of the expanding node and its distance to the extension target. In the sampling stage, scrambled Sobol sequences are adopted to supply low-discrepancy exploratory samples, and an in-obstacle-triggered bridge test is incorporated to detect narrow passages. Finally, the two trees are merged at the candidate pair with the minimum seam cost, and a multi-round greedy shortcut is applied to shorten the merged path.
The planner is evaluated in three simulated three-dimensional environments, namely a pillar forest, an urban block scene, and a large-scale mixed map, with 100 independent runs per algorithm. In all three environments, SACE-Bi-RRT* returns shorter final paths than RRT*, goal-biased RRT*, Informed-RRT*, Bi-RRT* and the potential-field guided Bi-APF-RRT*, and the dispersion of its path lengths across repeated runs is markedly lower than that of every baseline. The planned paths also exhibit smaller average turning angles, so the improvement in length does not come at the expense of smoothness. The ablation study identifies the tangent-plane deflection strategy as the component most critical to the search efficiency, whereas the adaptive step-size strategy contributes mainly to the final path quality.
Nevertheless, several limitations remain in the present study, and the corresponding future research directions are outlined as follows:
(1) Computational overhead: The online geometric queries and the incremental maintenance of the connection information raise the per-iteration cost of SACE-Bi-RRT* above that of the lightweight baselines, which is reflected in the reported wall-clock times. Future research will reduce this overhead through spatial indexing and vectorized geometric queries and will profile the computational performance of the planner on embedded platforms.
(2) Problem scope: The planner treats the vehicle as a point mass in static environments composed of parametric primitives, and path smoothness is evaluated only a posteriori through the turning angle. Future research will incorporate kinematic constraints and curvature-continuous smoothing, introduce online replanning against dynamic obstacles, and extend the geometric queries to general obstacle representations such as triangle meshes and signed distance fields. Because the deflection uses only the clearance and normal queries, this extension requires replacing those two queries; future work will also investigate online adaptation of the deflection-score weights from local obstacle density.
(3) Simulation-based evaluation: All experiments were performed in MATLAB simulation, where the sensing errors, actuation delays, and external disturbances of a physical vehicle were not modeled. Future research will embed the planner in an onboard perception and control pipeline and validate it on a physical platform. The evaluation will also be extended to planner-compatible three-dimensional maps derived from public datasets such as the Newer College Dataset.

Author Contributions

Conceptualization, Z.Q. and W.H.; methodology, Z.Q. and Y.Z.; software, Z.Q.; validation, Z.Q., Y.Z. and X.H.; formal analysis, Z.Q. and Y.Z.; investigation, Z.Q. and Y.Z.; resources, W.H.; data curation, Y.Z. and X.H.; writing—original draft preparation, Z.Q.; writing—review and editing, W.H., Y.Z. and X.H.; visualization, Z.Q.; supervision, W.H.; project administration, W.H.; funding acquisition, W.H. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Natural Science Foundation of China, grant number 62473133, and the Natural Science Foundation of Wuhan, grant number 2025040601020155.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The original contributions presented in the study are included in the article. The MATLAB implementation of SACE-Bi-RRT*, the baseline planners and the three simulation environments are available from the corresponding author upon reasonable request.

Acknowledgments

The authors would like to thank the School of Electrical and Electronic Engineering, Hubei University of Technology, for its support and resources.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
UAVUnmanned aerial vehicle
APFArtificial potential field
RRTRapidly-exploring random tree
RRT*Asymptotically optimal rapidly-exploring random tree
GB-RRT*Goal-biased RRT*
Informed-RRT*Informed RRT*
Bi-RRT*Bidirectional RRT*
Bi-APF-RRT*Artificial-potential-field guided bidirectional RRT*
SACE-Bi-RRT*Sobol-adaptive connection-gated expansion bidirectional RRT*

Appendix A. Key Parameters of the SACE-Bi-RRT* Algorithm

Table A1. Key parameters of SACE-Bi-RRT*. All length-related values are expressed through the diagonal length L of the workspace, so the same set applies to the three environments.

References

  1. Gugan, G.; Haque, A. Path Planning for Autonomous Drones: Challenges and Future Directions. Drones 2023, 7, 169. [Google Scholar] [CrossRef] [Scilit]
  2. Aggarwal, S.; Kumar, N. Path planning techniques for unmanned aerial vehicles: A review, solutions, and challenges. Comput. Commun. 2020, 149, 270–299. [Google Scholar] [CrossRef] [Scilit]
  3. Wang, D.; Zhang, M.; Huang, Z. A Path-Planning Method Recommended for Multi-UAV Police Patrols Based on the Wolf Pack Optimization Algorithm Using CDRS and DRSS. Symmetry 2025, 17, 208. [Google Scholar] [CrossRef] [Scilit]
  4. Liu, Y.; Liu, H.; Tian, Y.; Sun, C. Reinforcement learning based two-level control framework of UAV swarm for cooperative persistent surveillance in an unknown urban area. Aerosp. Sci. Technol. 2020, 98, 105671. [Google Scholar] [CrossRef] [Scilit]
  5. Colomina, I.; Molina, P. Unmanned aerial systems for photogrammetry and remote sensing: A review. ISPRS J. Photogramm. Remote Sens. 2014, 92, 79–97. [Google Scholar] [CrossRef] [Scilit]
  6. Fernandez Galarreta, J.; Kerle, N.; Gerke, M. UAV-based urban structural damage assessment using object-based image analysis and semantic reasoning. Nat. Hazards Earth Syst. Sci. 2015, 15, 1087–1101. [Google Scholar] [CrossRef] [Scilit]
  7. Liu, X.; Nardari, G.V.; Cladera, F.; Tao, Y.; Zhou, A.; Donnelly, T.; Qu, C.; Chen, S.W.; Romero, R.A.F.; Taylor, C.J.; et al. Large-Scale Autonomous Flight With Real-Time Semantic SLAM Under Dense Forest Canopy. IEEE Robot. Autom. Lett. 2022, 7, 5512–5519. [Google Scholar] [CrossRef] [Scilit]
  8. Chiella, A.C.B.; Machado, H.N.; Teixeira, B.O.S.; Pereira, G.A.S. GNSS/LiDAR-Based Navigation of an Aerial Robot in Sparse Forests. Sensors 2019, 19, 4061. [Google Scholar] [CrossRef] [Scilit]
  9. Mohta, K.; Watterson, M.; Mulgaonkar, Y.; Liu, S.; Qu, C.; Makineni, A.; Saulnier, K.; Sun, K.; Zhu, A.; Delmerico, J.; et al. Fast, autonomous flight in GPS-denied and cluttered environments. J. Field Robot. 2018, 35, 101–120. [Google Scholar] [CrossRef] [Scilit]
  10. Rashid, A.T.; Ali, A.A.; Frasca, M.; Fortuna, L. Path planning with obstacle avoidance based on visibility binary tree algorithm. Robot. Auton. Syst. 2013, 61, 1440–1449. [Google Scholar] [CrossRef] [Scilit]
  11. Kumar, P.; Pal, K.; Govil, M.C. Comprehensive Review of Path Planning Techniques for Unmanned Aerial Vehicles (UAVs). ACM Comput. Surv. 2026, 58, 1–44. [Google Scholar] [CrossRef] [Scilit]
  12. Goerzen, C.; Kong, Z.; Mettler, B. A Survey of Motion Planning Algorithms from the Perspective of Autonomous UAV Guidance. J. Intell. Robot. Syst. 2010, 57, 65–100. [Google Scholar] [CrossRef] [Scilit]
  13. Hart, P.E.; Nilsson, N.J.; Raphael, B. A Formal Basis for the Heuristic Determination of Minimum Cost Paths. IEEE Trans. Syst. Sci. Cybern. 1968, 4, 100–107. [Google Scholar] [CrossRef] [Scilit]
  14. Harabor, D.; Grastien, A. Online Graph Pruning for Pathfinding on Grid Maps. In Proceedings of the Twenty-Fifth AAAI Conference on Artificial Intelligence, San Francisco, CA, USA, 7–11 August 2011; AAAI Press: Menlo Park, CA, USA, 2011; pp. 1114–1119. [Google Scholar] [CrossRef] [Scilit]
  15. Nash, A.; Koenig, S.; Tovey, C. Lazy Theta*: Any-Angle Path Planning and Path Length Analysis in 3D. In Proceedings of the Twenty-Fourth AAAI Conference on Artificial Intelligence, Atlanta, GA, USA, 11–15 July 2010; AAAI Press: Menlo Park, CA, USA, 2010; pp. 147–154. [Google Scholar] [CrossRef] [Scilit]
  16. Jiang, Y.; Xu, X.-X.; Zheng, M.-Y.; Zhan, Z.-H. Evolutionary computation for unmanned aerial vehicle path planning: A survey. Artif. Intell. Rev. 2024, 57, 267. [Google Scholar] [CrossRef] [Scilit]
  17. LaValle, S.M. Rapidly-Exploring Random Trees: A New Tool for Path Planning; Technical Report TR 98-11; Department of Computer Science, Iowa State University: Ames, IA, USA, 1998. [Google Scholar]
  18. Karaman, S.; Frazzoli, E. Sampling-based algorithms for optimal motion planning. Int. J. Robot. Res. 2011, 30, 846–894. [Google Scholar] [CrossRef] [Scilit]
  19. Orthey, A.; Chamzas, C.; Kavraki, L.E. Sampling-Based Motion Planning: A Comparative Review. Annu. Rev. Control Robot. Auton. Syst. 2024, 7, 285–310. [Google Scholar] [CrossRef] [Scilit]
  20. Zhu, L.; Duan, P.; Meng, L.; Yang, X. GAO-RRT*: A path planning algorithm for mobile robot with low path cost and fast convergence. AIMS Math. 2024, 9, 12011–12042. [Google Scholar] [CrossRef] [Scilit]
  21. Guan, T.; Han, Y.; Kong, M.; Wang, S.; Feng, D.; Yang, W. An improved artificial potential field with RRT star algorithm for autonomous vehicle path planning. Sci. Rep. 2025, 15, 16982. [Google Scholar] [CrossRef] [Scilit]
  22. Gammell, J.D.; Srinivasa, S.S.; Barfoot, T.D. Informed RRT*: Optimal sampling-based path planning focused via direct sampling of an admissible ellipsoidal heuristic. In Proceedings of the 2014 IEEE/RSJ International Conference on Intelligent Robots and Systems, Chicago, IL, USA, 14–18 September 2014; IEEE: New York, NY, USA, 2014; pp. 2997–3004. [Google Scholar] [CrossRef] [Scilit]
  23. Huang, C.; Tang, B.; Guo, Z.; Su, Q.; Gai, J. Agile-RRT*: A Faster and More Robust Path Planner With Enhanced Initial Solution and Convergence Rate in Complex Environments. IEEE Access 2024, 12, 58703–58714. [Google Scholar] [CrossRef] [Scilit]
  24. Zhao, S.; Han, P.; Diao, Z.; He, Z.; Li, X.; Lou, T.; Jiang, L. Improved Informed RRT*: Based on Dynamic Shrinkage Threshold Node Selection Mechanism and Adaptive Goal-Biased Strategy. Electronics 2025, 14, 648. [Google Scholar] [CrossRef] [Scilit]
  25. Zhao, X.; Wang, K.; Zhang, P.; Kan, J. An improved RRT* path planning algorithm combining Gaussian distributed sampling and depth strategy for robotic arm of fruit-picking robot. Comput. Electron. Agric. 2026, 240, 111244. [Google Scholar] [CrossRef] [Scilit]
  26. Zhong, H.; Cong, M.; Wang, M.; Du, Y.; Liu, D. HB-RRT: A path planning algorithm for mobile robots using Halton sequence-based rapidly-exploring random tree. Eng. Appl. Artif. Intell. 2024, 133, 108362. [Google Scholar] [CrossRef] [Scilit]
  27. Zhong, H.; Du, Y.; Liu, D.; Wang, M.; Cong, M.; Tian, X. A fruit fly-inspired path planning algorithm for unmanned aerial vehicle in underground environments based on low-discrepancy sequences. Eng. Appl. Artif. Intell. 2025, 156, 111250. [Google Scholar] [CrossRef] [Scilit]
  28. Kuffner, J.J.; LaValle, S.M. RRT-Connect: An Efficient Approach to Single-Query Path Planning. In Proceedings of the 2000 IEEE International Conference on Robotics and Automation, San Francisco, CA, USA, 24–28 April 2000; IEEE: New York, NY, USA, 2000; pp. 995–1001. [Google Scholar] [CrossRef] [Scilit]
  29. Jordan, M.; Perez, A. Optimal Bidirectional Rapidly-Exploring Random Trees; Technical Report MIT-CSAIL-TR-2013-021; MIT Computer Science and Artificial Intelligence Laboratory: Cambridge, MA, USA, 2013. [Google Scholar]
  30. Wilson, T.S.; Thomason, W.; Kingston, Z.; Gammell, J.D. AORRTC: Almost-Surely Asymptotically Optimal Planning with RRT-Connect. IEEE Robot. Autom. Lett. 2025, 10, 13375–13382. [Google Scholar] [CrossRef] [Scilit]
  31. Huang, Y.; Jiang, W.; Xu, S. A multi strategy bidirectional RRT* algorithm for efficient mobile robot path planning. Sci. Rep. 2025, 15, 29501. [Google Scholar] [CrossRef] [Scilit]
  32. Chen, D.; Luo, K.; Wang, Z.; Fan, L.; Wang, C. An adaptive bidirectional optimal rapidly exploring random tree algorithm with dynamic adjustment and extended guidance strategy. Robot. Auton. Syst. 2026, 198, 105314. [Google Scholar] [CrossRef] [Scilit]
  33. He, X.; Zhou, Y.; Liu, H.; Shang, W. Improved RRT*-Connect Manipulator Path Planning in a Multi-Obstacle Narrow Environment. Sensors 2025, 25, 2364. [Google Scholar] [CrossRef] [Scilit]
  34. Zhang, M.; Liu, S.; Zhou, Q.; Han, X. A novel path planning scheme based on Fast-IBi-RRT* algorithm for industrial robots. Appl. Intell. 2025, 55, 785. [Google Scholar] [CrossRef] [Scilit]
  35. Nayak, S.; Otte, M.W. Bidirectional Sampling-Based Motion Planning Without Two-Point Boundary Value Solution. IEEE Trans. Robot. 2022, 38, 3636–3654. [Google Scholar] [CrossRef] [Scilit]
  36. Hu, Y.; Chen, X.; Tang, P.; Zhang, H.; Jin, J.; Mao, S. A Path Planning Framework for Robots Based on Improved Parallel Sampling RRT and Offset Guidance DWA. IEEE Sens. J. 2025, 25, 35597–35608. [Google Scholar] [CrossRef] [Scilit]
  37. Zhang, L.; Ling, Y.; Bing, Z.; Wu, F.; Haddadin, S.; Knoll, A. Tree-Based Grafting Approach for Bidirectional Motion Planning With Local Subsets Optimization. IEEE Robot. Autom. Lett. 2025, 10, 5815–5822. [Google Scholar] [CrossRef] [Scilit]
  38. Qureshi, A.H.; Ayaz, Y. Potential functions based sampling heuristic for optimal path planning. Auton. Robots 2016, 40, 1079–1093. [Google Scholar] [CrossRef] [Scilit]
  39. Zhang, X.; Wang, P.; Guo, Y.; Han, Q.; Zhang, K. Path Planning Algorithm for Manipulators in Complex Scenes Based on Improved RRT*. Sensors 2025, 25, 328. [Google Scholar] [CrossRef] [Scilit]
  40. Han, Q.; Ma, X.; Liu, H.; Xu, Y.; Xie, Y.; Yang, Q.; Meng, F. Improved Artificial Potential Field Method for UAV Path Planning. IEEE Access 2025, 13, 177537–177547. [Google Scholar] [CrossRef] [Scilit]
  41. Liu, C.; Xiao, F.; Ma, Y.; Chen, H.; Wu, Y.; Li, Z.; Guo, L. An enhanced RRT* algorithm with biased sampling and dynamic stepsize strategy for ship route planning in the high-risk areas. Ocean Eng. 2025, 332, 121466. [Google Scholar] [CrossRef] [Scilit]
  42. Wang, J.; Xiong, G.; Dang, B.; Chen, J.; Zhang, J.; Xie, H. Improved RRT-Based Obstacle-Avoidance Path Planning for Dual-Arm Robots in Complex Environments. Machines 2025, 13, 621. [Google Scholar] [CrossRef] [Scilit]
  43. Yu, Q.; Zhou, J.; Xue, Z. Path planning of manipulator considering obstacle avoidance based on improved RRT algorithm. J. Braz. Soc. Mech. Sci. Eng. 2025, 47, 505. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.