Skip to Content
AlgorithmsAlgorithms
  • Article
  • Open Access

12 August 2026

30 Pages

Task-Oriented Path Planning for Campus Waste-Sorting Mobile Manipulators Using an Improved BiRRT Method

,
and
1
School of Automation and Information Engineering, Sichuan University of Science & Engineering, Yibin 644000, China
2
School of Computer Science and Engineering, Sichuan University of Science & Engineering, Yibin 644000, China
*
Author to whom correspondence should be addressed.

Abstract

Campus waste-sorting mobile manipulators operate in cluttered environments. This paper presents a task-oriented framework decoupling mobile-base navigation from manipulator motion. Its contribution is the safety-verified integration of goal-biased sampling, adaptive step-size adjustment, artificial potential field (APF)-guided directional correction, collision-recovery direction selection, and collision-checked bidirectional tree connection within Improved-BiRRT. After obtaining a feasible path, visibility-based pruning and piecewise cubic Hermite interpolating polynomial (PCHIP) smoothing are applied, followed by segment-wise collision verification with fallback to the verified pruned path. MATLAB R2024b simulations cover simple campus, complex campus, and narrow-passage environments. RRT, GoalBias-RRT, BiRRT, and Improved-BiRRT are evaluated under identical settings and post-processing. In the narrow-passage environment, Improved-BiRRT achieves a mean raw feasible-path length of 32.155 ± 1.935 m , a mean final collision-verified path length of 27.041 ± 0.327 m , and 39.25 ± 12.64 iterations. Holm-adjusted Wilcoxon rank-sum tests show significantly lower final path lengths and iteration counts than baselines in the complex campus and narrow-passage environments ( p adj < 0.05 ). A five-target validation yields a cumulative collision-verified path length of 136.171 m and a cumulative MATLAB online planning time of 0.1305 s . The results demonstrate feasibility for static two-dimensional campus waste-sorting tasks with predefined target ordering.

1. Introduction

With recent advances in artificial intelligence and robotics, mobile manipulators have been increasingly applied in manufacturing, warehouse logistics, public services, and hazardous environments. By combining mobile platforms with robotic arms, they can perform navigation, target search, object grasping, and task execution over a larger workspace than fixed-base manipulators [1]. They are therefore suitable for semi-structured environments with spatially distributed targets, such as campuses, industrial parks, and warehouses [2]. In campus waste-sorting scenarios, waste items may belong to different categories and be located near obstacles or narrow passages. A complete campus waste-sorting system must identify the waste category, navigate to the target, transport the object, and reach the corresponding disposal location [3,4,5,6]. Reliable mobile-base path planning and executable local manipulation motions are therefore essential for automated waste-sorting operations.
Path planning directly affects navigation efficiency, collision avoidance, path continuity, and subsequent manipulation motions [7,8]. The rapidly exploring random tree (RRT) algorithm is widely used because of its simple structure, probabilistic exploration capability, and suitability for constrained configuration spaces [9,10]. RRT* improves solution quality through parent reselection and rewiring and is asymptotically optimal [11], whereas RRT-Connect and bidirectional RRT (BiRRT) improve connection efficiency through bidirectional expansion [12,13]. Goal-biased sampling and adaptive step-size strategies strengthen target guidance and expansion adaptability [14,15,16]. Artificial potential field (APF) guidance supports obstacle-aware expansion [17], while path pruning and smoothing can reduce redundant segments and improve trajectory continuity [18,19,20].
However, most existing RRT-based studies focus on point-to-point planning between a single start state and a single goal state [7,20]. The sequential coordination of target approach, category-specific disposal, mobile-base navigation, and local manipulation has received less attention [1,2]. Moreover, goal-biased sampling and adaptive step-size adjustment are often introduced as separate mechanisms [11,14,15], while APF guidance is mainly used for local expansion-direction correction [21]. Insufficient coordination among sampling targets, expansion directions, extension distances, and collision-recovery operations may cause ineffective expansion, unnecessary detours, and unstable search performance in constrained environments [22,23]. Some studies also provide limited clarification of the relationship among tree expansion, collision-verified path post-processing, and local manipulator operations [24,25].
To address these limitations, this paper presents an enhanced BiRRT-based task-oriented framework that decouples mobile-base path planning from predefined local manipulator motion for campus waste sorting. The methodological contribution centers on coordinating complementary mechanisms within bidirectional tree expansion, performing collision verification for inter-tree connections and post-processed paths, and embedding the resulting planner in a predefined multi-stage task workflow. Predefined task inputs specify the waste category and two-dimensional target coordinates, while the collection order is fixed rather than optimized in this study. Mobile-base paths are planned globally, whereas local manipulator motions are predefined and coordinated sequentially within the task simulation.
During tree expansion, goal-biased sampling, adaptive step-size adjustment, APF-guided directional correction, collision checking, and collision-recovery direction selection are coordinated to improve target guidance and obstacle-aware search. An inter-tree connection is accepted only when the complete connecting segment passes collision verification. After a feasible path is obtained, visibility-based pruning and piecewise cubic Hermite interpolating polynomial (PCHIP) smoothing are applied as post-processing operations [26]. The smoothed path is verified segment by segment, and the collision-verified pruned path is retained if smoothing produces an infeasible segment. Multi-environment comparisons, ablation experiments, goal-bias sensitivity analysis, and predefined task-level simulations are conducted. For fair comparison, all the planners are evaluated using identical environment settings, termination conditions, visibility-based pruning, PCHIP smoothing, segment-by-segment collision verification, and fallback procedures. The validation is limited to mobile-base planning in static two-dimensional environments and predefined local manipulator motions; dynamic obstacles, localization uncertainty, and trajectory-tracking errors are not considered.
The main contributions of this study are summarized as follows:
(1) A task-oriented framework with decoupled mobile-base path planning and predefined local manipulator motion is developed for campus waste-sorting tasks. Predefined task inputs and a fixed collection order are used to coordinate mobile-base planning, category-specific disposal, and predefined local manipulator motions within a sequential task workflow.
(2) A coordinated bidirectional-tree expansion strategy integrates goal-biased sampling, adaptive step-size adjustment, APF-guided directional correction, collision checking, collision-recovery direction selection, and collision-checked inter-tree connection. These mechanisms jointly regulate target-oriented sampling, extension distance, obstacle-aware expansion direction, and collision-recovery behavior.
(3) A collision-verified post-processing and validation procedure is introduced. All the planners use identical pruning, PCHIP smoothing, and collision verification. Raw and final path lengths are both reported, while final path lengths and iteration counts are evaluated using Holm-adjusted Wilcoxon tests. Ablation, sensitivity, and task-level experiments provide further validation.

2. Enhanced BiRRT-Based Path-Planning Framework

To improve mobile-base planning efficiency in multi-stage campus waste-sorting tasks, an enhanced BiRRT-based framework that decouples mobile-base path planning from predefined local manipulator motions is developed. Predefined task inputs, category-specific disposal locations, the obstacle map, the mobile-base footprint, and motion constraints are used as planning inputs. Mobile-base paths are generated by the planner, whereas local manipulator grasping and placement motions are predefined and coordinated sequentially within the task workflow. The target collection order is fixed rather than optimized in this study.
The framework retains the bidirectional tree-search structure of BiRRT. During tree expansion, goal-biased sampling, adaptive step-size adjustment, APF-guided directional correction, collision checking, and collision-recovery direction selection are coordinated to improve target guidance and obstacle-aware search. Each newly generated edge is subjected to collision checking, and an inter-tree connection is accepted only when the complete connecting segment passes collision verification. After an initial feasible path is obtained, visibility-based pruning removes redundant waypoints only when the corresponding shortcut segment passes collision verification. Piecewise cubic Hermite interpolating polynomial (PCHIP) smoothing is then used to improve path continuity as a post-processing operation. The smoothed path is subsequently verified segment by segment. If any smoothed segment fails collision verification, the collision-verified pruned path is retained. The overall workflow is shown in Figure 1.
Figure 1. Overall workflow of the enhanced BiRRT-based path-planning framework, including bidirectional tree expansion, collision-checked inter-tree connection, and collision-verified post-processing. The arrows indicate the execution flow, while the dashed box delineates the bidirectional tree-expansion stage.
As shown in Figure 1, bidirectional tree expansion is explicitly separated from collision-verified post-processing. During tree expansion, goal-biased sampling, adaptive step-size adjustment, APF-guided directional correction, and collision-recovery direction selection jointly regulate target-oriented sampling, extension distance, obstacle-aware expansion direction, and recovery behavior. Each newly generated edge and the complete inter-tree connecting segment must pass collision verification before being accepted. During post-processing, collision-checked visibility-based pruning and PCHIP smoothing are applied sequentially. The smoothed path is retained only when it passes segment-by-segment collision verification; otherwise, the collision-verified pruned path is used as the mobile-base reference path. In the comparative experiments, all the planners are run under identical environment settings and termination conditions, and each feasible path is processed using the same visibility-based pruning, PCHIP smoothing, segment-by-segment collision verification, and fallback procedures.

2.1. Problem Modeling for Campus Waste-Sorting Path Planning

The campus waste-sorting task is modeled in a static two-dimensional workspace. Waste categories and target coordinates are supplied as predefined task inputs, while category-specific bin locations and the collection order are fixed rather than optimized. For M waste targets, each target generates an approach segment from the current mobile-base configuration to the target-approach configuration and a transport segment from the target-approach configuration to the corresponding bin-approach configuration, yielding 2 M mobile-base planning segments.
The workspace is denoted by C ⊂ R 2 , where C obs denotes the original obstacle region. In the simulation, C = [ 0 , 30 ] × [ 0 , 20 ] , with coordinates measured in meters. Each rectangular obstacle is inflated by the center-clearance threshold d safe to form C obs + , and the free configuration space is defined as
C free = C ∖ C obs + .
Let q start denote the initial mobile-base configuration. For the i-th target, its position and waste category are denoted by p i and c i , respectively, while b i denotes the position of the category-specific bin associated with c i . The current configuration is q i cur = q start for the first target and q i cur = q i − 1 place for each subsequent target.
For compact notation, let d ^ ( a , b ) = ( a − b ) / ∥ a − b ∥ 2 when ∥ a − b ∥ 2 ≥ 10 − 6 ; otherwise, the implementation sets d ^ = [ 1 , 0 ] T . Consistent with the implementation, the target- and bin-approach configurations are calculated as
q i pick = p i + r pick d ^ q i cur , p i , q i place = b i + r place d ^ q i pick , b i ,
where r pick = 0.8 m and r place = 0.9 m .
For performance reporting, the final collision-verified path of the j-th mobile-base planning segment and its Euclidean length are defined as
P j = q j , 0 , q j , 1 , … , q j , n j ,
L ( P j ) = ∑ k = 0 n j − 1 q j , k + 1 − q j , k 2 ,
where q j , 0 and q j , n j are the initial and terminal configurations of the segment, respectively, and n j + 1 is the number of discrete path nodes.
For geometric-continuity evaluation of paths with n j ≥ 2 , the adjacent direction vectors, turning angle in degrees, and mean turning-angle metric are defined as
v j , k ( 1 ) = q j , k − q j , k − 1 ,             v j , k ( 2 ) = q j , k + 1 − q j , k ,
θ j , k = 180 π arccos v j , k ( 1 ) · v j , k ( 2 ) v j , k ( 1 ) 2 v j , k ( 2 ) 2 ,          
S ( P j ) = 1 n j − 1 ∑ k = 1 n j − 1 θ j , k .                                                      
For numerical robustness, the cosine argument is clipped to [ − 1 , 1 ] in the MATLAB implementation and θ j , k = 0 when either adjacent segment has zero length.
The metric S ( P j ) is used only to report path-direction variation and does not participate in tree expansion, node selection, or inter-tree connection. The planner therefore does not optimize a weighted combination of path length and smoothness. For segment-level reporting and task-level aggregation, the path cost is defined as
J ( P j ) = L ( P j ) .
No length–smoothness weighting coefficients are required.
PCHIP smoothing is performed only after collision-checked visibility-based pruning and does not participate in the tree-search objective. The final path P j is the verified PCHIP-smoothed path when it passes segment-by-segment collision verification or the verified pruned path when smoothing is unsafe.
For each path segment, let Δ s = 0.08 m denote the maximum collision sampling interval. The number of interpolation intervals and the corresponding sampled points are defined as
N j , k = max 3 , q j , k + 1 − q j , k 2 Δ s ,
s j , k , ℓ = 1 − ℓ N j , k q j , k + ℓ N j , k q j , k + 1 ,
s j , k , ℓ ∈ C free , ℓ = 0 , 1 , … , N j , k , k = 0 , 1 , … , n j − 1 .
In the MATLAB implementation, d safe = 0.47 m , comprising the 0.35 m mobile-base radius and an additional 0.12 m clearance. The sampled-point collision test defined in Equations (7)–(9) is applied to every raw-path edge, pruning shortcut, PCHIP-smoothed segment, and inter-tree connecting segment. A segment is accepted only when all sampled points remain within the map boundary and outside the inflated obstacle region.
For a task containing M waste targets, the cumulative mobile-base path length over all 2 M planning segments is
J task = ∑ j = 1 2 M L ( P j ) .
This formulation describes a fixed-order multi-stage mobile-base planning task. Local manipulator trajectories are generated separately using a fixed grasping-and-placement waypoint template with local obstacle avoidance, PCHIP interpolation, and inverse kinematics and are not jointly optimized with the base paths.

2.2. Principle of the BiRRT Algorithm

The bidirectional rapidly exploring random tree (BiRRT) algorithm is a bidirectional probabilistic search method derived from RRT [9,13]. Conventional RRT expands a single tree through random sampling and node extension. Its weak directionality may generate ineffective nodes in constrained environments [11,22], resulting in reduced search efficiency, path redundancy, and unstable path quality [7,20]. BiRRT instead maintains start-rooted and goal-rooted trees and expands them alternately in the collision-free configuration space. Once the trees are connected, their parent-node chains are backtracked and concatenated to construct the complete path [13].
In this study, the bidirectional topology of BiRRT is retained as the basic mobile-base search structure. The proposed framework coordinates goal-biased sampling, adaptive step-size adjustment, APF-guided directional correction, collision-recovery direction selection, and collision-checked inter-tree connection. These mechanisms improve target guidance and constrained-space exploration [10,14]. Goal-biased sampling and adaptive extension improve directional search efficiency [13,14], while APF guidance provides local obstacle-aware correction [27].The contribution therefore lies in coordinating these mechanisms within a collision-verified BiRRT process rather than changing the fundamental bidirectional-tree topology.
For the conventional BiRRT process, a random configuration is sampled from the collision-free space, the nearest node in the active tree T a is selected, and a new node is generated using the fixed step size Δ :
q rand ∼ U C free ,
q near = arg min q i ∈ T a q i − q rand 2 ,
q new = q near + Δ q rand − q near q rand − q near 2 .
The edge from q near to q new is added only after collision verification. The opposite tree T b then selects q connect , its nearest node to q new , by applying Equation (12) with T a replaced by T b and q rand replaced by q new . The complete connecting segment is subsequently subjected to collision verification. After an unsuccessful connection check, the roles of T a and T b are exchanged.
Let Safe ( q 1 , q 2 ) = 1 indicate that the complete segment joining q 1 and q 2 passes the sampled-point collision test defined in Equations (7)–(9). The two trees are considered connected only when
q new − q connect 2 ≤ ε , Safe q new , q connect = 1 .
Here, ε is the inter-tree connection threshold, set to 0.85 m in the simple and complex campus environments and 0.65 m in the narrow-passage environment. Equation (14) therefore verifies both endpoint proximity and the complete inter-tree connecting segment.
Let q meet start and q meet goal denote the connected endpoints in the start-rooted and goal-rooted trees, respectively. The path is reconstructed as
P = Backtrack T start , q meet start ⊕ Reverse Backtrack T goal , q meet goal ,
where Backtrack ( T , q ) returns the parent-node sequence from the root of T to q , and ⊕ concatenates the two parent-node sequences by inserting the verified segment between q meet start and q meet goal .
The bidirectional expansion process is illustrated in Figure 2.
Figure 2. Alternating expansion and collision-checked inter-tree connection in the BiRRT-based framework.
A successful search terminates when Equation (14) is satisfied; otherwise, the tree roles are exchanged and alternating expansion continues until a valid connection is found or the prescribed maximum iteration count is reached.
Conventional BiRRT still relies on random sampling and fixed-step extension, which may produce ineffective samples, weak target guidance, redundant nodes, and sharp turns in constrained environments. The following subsections therefore introduce coordinated goal-biased sampling, adaptive step-size adjustment, APF-guided directional correction, and collision-recovery direction selection.
Visibility-based pruning and PCHIP smoothing are excluded from Equations (11)–(15) and are applied identically to all planners after a feasible path is obtained. Therefore, the reported iteration counts characterize tree-search behavior rather than post-processing differences.

2.3. Fixed Goal-Biased Sampling Strategy

Conventional BiRRT samples configurations uniformly from the collision-free space. Although uniform sampling preserves global exploration, it provides limited directional guidance and may generate ineffective expansion nodes in complex or constrained environments, thereby increasing search redundancy and reducing planning efficiency [14,22]. A fixed goal-biased sampling strategy is therefore incorporated into the BiRRT framework to strengthen expansion toward the opposite-tree root while retaining random exploration.
For the active tree T a , let q bias denote the root configuration of the opposite tree. Accordingly, q bias = q goal when T a = T start , whereas q bias = q start when T a = T goal . Let r ∼ U ( 0 , 1 ) and q uni ∼ U ( C free ) . The fixed goal-biased sampling rule is defined as
q rand = q bias , r < P g , q uni , r ≥ P g .
Here, 0 < P g < 1 denotes the probability of selecting the opposite-tree root and regulates the balance between directed expansion and global random exploration.
A small P g provides weak directional guidance, whereas an excessively large value reduces random exploration and may increase local stagnation in obstacle-dense environments. The sensitivity analysis indicates that values in the range 0.22 – 0.30 effectively balance random exploration and expansion toward the opposite-tree root. Consistent with the final MATLAB implementation, the scenario-specific settings are
P g = 0.22 , simple and complex campus benchmark environments , 0.25 , narrow-passage benchmark environment , 0.24 , task-level campus waste-sorting simulation .
Each value is fixed throughout all repeated runs in its corresponding experiment.
The comparison between conventional random sampling and fixed goal-biased sampling is illustrated in Figure 3.
Figure 3. Comparison betweenconventional random sampling and fixed goal-biased sampling for the start-rooted expansion case; the goal-rooted case is symmetric.
Fixed goal-biased sampling increases the probability of expansion toward the opposite-tree root while retaining uniform exploration with probability 1 − P g . This reduces ineffective sampling and provides directional input for the subsequent adaptive step-size and APF-guided expansion mechanisms.

2.4. Obstacle-Clearance- and Failure-Adaptive Step-Size Expansion Strategy

In the BiRRT algorithm, the extension step size directly affects search efficiency, collision avoidance, and convergence performance. Conventional BiRRT generally employs a fixed step size, which is simple to implement but cannot adapt to variations in local obstacle clearance or recent expansion feasibility. An excessively large step may skip narrow feasible regions or generate colliding edges, whereas an excessively small step may introduce redundant intermediate nodes and increase the iteration count [28]. Therefore, an adaptive step-size strategy based on obstacle clearance and recent expansion failures is incorporated into the proposed framework.
Let q near denote the nearest node selected from the active tree, and let C obs , i + denote the i-th obstacle after inflation by the prescribed safety clearance. The minimum obstacle-clearance distance of the current expansion node is defined as
d obs = min 1 ≤ i ≤ N obs dist q near , C obs , i + ,
where N obs is the number of inflated obstacles and dist ( q , C ) denotes the Euclidean distance from configuration q to region C .
The obstacle-clearance factor η d , failure-feedback factor η f , and adaptive extension step size Δ are calculated as
η d = min max d obs d 0 , 0.25 , 1 , η f = max 0.45 , 1 − 0.08 n f , Δ = clip [ Δ min , Δ max ] Δ min + Δ max − Δ min η d η f ,
where d 0 = 3.0 m is the clearance-normalization distance, n f is the current failure count, and Δ min and Δ max are the environment-specific minimum and maximum extension steps. The operator clip [ a , b ] ( x ) = min { max ( x , a ) , b } constrains the resulting step size to the prescribed interval.
According to Equation (19), η d increases monotonically with obstacle clearance, whereas η f decreases as unsuccessful expansion attempts accumulate. Consequently, a relatively large step is used in open regions with few recent failures, while the step is reduced near inflated obstacles or after repeated unsuccessful expansions. The lower bounds of 0.25 and 0.45 prevent excessive step-size attenuation and preserve continued exploration. The environment-specific values of Δ min and Δ max are provided in the simulation settings.
Let v denote the current candidate expansion vector obtained from the sampled direction and, where applicable, APF-guided directional correction. For ∥ v ∥ 2 > 0 , the new node is generated as
q new = q near + min Δ , v 2 v v 2 ,
so that the extension length does not exceed either the adaptive step size or the length of the candidate displacement.
The edge from q near to q new is accepted only after segment-by-segment collision verification. If the primary candidate edge is infeasible, six collision-recovery directions with angular offsets of ± 25 ∘ , ± 50 ∘ , and ± 90 ∘ relative to the nominal candidate direction are examined sequentially using the same adaptive step size. The first collision-free candidate is added to the active tree. If all the recovery candidates are infeasible, the expansion is marked as failed and n f is increased by one. After a successful expansion, n f is reduced by one without falling below zero. This feedback allows recent expansion outcomes to influence subsequent step-size selection.
As illustrated in Figure 4, fixed-step expansion applies the same extension scale throughout the search space. In contrast, the proposed strategy uses longer extensions in open regions and shorter extensions near obstacles or after repeated failures. It therefore improves free-space exploration efficiency while providing more conservative expansion in constrained regions and a stable extension scale for the subsequent APF-guided directional correction.
Figure 4. Comparison between fixed-step expansion and obstacle-clearance- and failure-adaptive step-size expansion.

2.5. APF-Guided Expansion Strategy

Although goal-biased sampling and the obstacle-clearance- and failure-adaptive step-size strategy improve the search efficiency of BiRRT, the expansion direction may still be affected by randomness in obstacle-dense environments and narrow passages. Newly generated nodes may therefore collide with obstacles or deviate from feasible corridors, resulting in invalid extensions [22,23]. To improve obstacle avoidance and expansion reliability, an artificial potential field (APF)-guided directional-correction mechanism is introduced into the BiRRT expansion process. Unlike conventional APF methods that directly construct attractive and repulsive potential fields for path planning [21], the proposed method uses APF guidance to correct the sampling-based expansion direction by combining the sampling, guidance, and locally activated obstacle-repulsion directions.
Let q near denote the current expansion node, q rand the sampled configuration, and q g the guidance configuration supplied to the directional-correction routine. To avoid a zero sampling-direction vector, q g replaces q rand when the sampled configuration is sufficiently close to q near . The effective sampling configuration, sampling direction, and guidance direction are defined as
q s = q rand , q rand − q near 2 ≥ ε m , q g , q rand − q near 2 < ε m , v s = q s − q near max q s − q near 2 , ε m , v g = q g − q near max q g − q near 2 , ε m .
Here, ε m = 10 − 6 m is the numerical distance tolerance used to avoid a zero direction vector. During ordinary bidirectional tree expansion, q g = q bias , where q bias is the root configuration of the opposite tree, as defined in Section 2.3. Thus, q g = q goal when T a = T start , whereas q g = q start when T a = T goal . During an inter-tree connection attempt, q g is replaced by the target node supplied by the opposite tree.
Let c i , w i , and h i denote the center, width, and height of the i-th inflated rectangular obstacle, respectively. The obstacle-center distance, obstacle-dependent influence range, repulsive weight, and accumulated obstacle-repulsion direction are defined as
d i = max q near − c i 2 , 0.05 m , ρ i = 1.2 max ( w i , h i ) + 1.8 m , ω i = ρ i − d i ρ i 2 , d i < ρ i , 0 , d i ≥ ρ i , v r = ∑ i = 1 N obs ω i q near − c i d i .
All geometric quantities are measured in meters. The lower bound 0.05 m prevents numerical singularity, whereas only obstacles satisfying d i < ρ i contribute a quadratically attenuated repulsive effect.
The sampling-driven, guidance, and obstacle-repulsion directions are combined and normalized as
v = α v s + β v g + γ v r , v ¯ = v v 2 , v 2 ≥ 10 − 6 , v s , v 2 < 10 − 6 .
Consistent with the final MATLAB implementation, α = 0.66 , β = 0.28 , and γ = 0.58 . These coefficients preserve sampling-dominated stochastic exploration while providing moderate guidance toward q g and locally activated obstacle repulsion. Because the fused vector is normalized after combination, the coefficients are not required to sum to one. Their values scale the three directional components before normalization, while the actual obstacle-repulsion contribution also depends on the active obstacle distances and influence ranges. The coefficient values remain unchanged in all the experiments.
Within the directional-correction routine, a temporary guidance-distance step limit is combined with the obstacle-clearance- and failure-adaptive step calculated using Equation (19). The temporary step limit and final expansion node are defined as
Δ g = Δ min + Δ max − Δ min min q g − q near 2 8.0 m , 1 , q new = q near + min Δ , Δ g v ¯ .
Here, Δ is the obstacle-clearance- and failure-adaptive step calculated using Equation (19). Thus, the final extension length is jointly constrained by the adaptive step-size mechanism and the distance to the current guidance configuration.
The candidate edge is processed using the segment-by-segment collision verification and collision-recovery procedure described in the preceding subsection. After an accepted node is inserted into the active tree, the collision-checked inter-tree connection procedure is performed. Consequently, APF guidance modifies only the online expansion direction and does not replace the collision-verification or bidirectional connection conditions.
The APF-guided directional correction with a two-stage extension constraint is illustrated in Figure 5.
Figure 5. APF-guided directional correction with a two-stage extension constraint. The start-rooted ordinary tree-expansion case with q g = q goal is shown; the goal-rooted case is symmetric with q g = q start . During inter-tree connection, q g is replaced by the target node supplied by the opposite tree.

2.6. Path Pruning and Path Smoothing

2.6.1. Path Pruning

Although the initial path is collision-free, random tree expansion may leave redundant waypoints and unnecessary detours, increasing path length and post-processing cost [28,29]. A collision-checked visibility-pruning procedure is therefore applied after tree-search termination and before smoothing.
The initial path generated by the planner is represented as
P = q 1 , q 2 , … , q n ,
where q 1 and q n are the start and goal waypoints, respectively, and n is the number of waypoints.
For two non-adjacent waypoints q i and q j , the shortcut segment is checked using the same sampled-point collision-verification procedure defined in Equations (7)–(9). The corresponding visibility predicate is defined as
Safe ( q i , q j ) = 1 , s i j , ℓ ∈ C free , ℓ = 0 , 1 , … , N i j , 0 , otherwise ,
where N i j and s i j , ℓ are obtained by applying the interpolation rules in Equations (7)–(9) to the segment connecting q i and q j . The collision-sampling interval does not exceed 0.08 m , and every sampled point must remain inside the map boundary and outside the inflated obstacle region.
Starting with i 0 = 1 , the pruning procedure recursively selects the farthest collision-free successor:
i r + 1 = max j ∈ i r + 1 , … , n : Safe q i r , q j = 1 , P ′ = q i 0 , q i 1 , … , q i m , i m = n .
Because every adjacent segment of the initial path has already passed collision verification, the candidate set in Equation (27) is nonempty. The recursive rule removes redundant intermediate waypoints while preserving a collision-verified connection between every pair of consecutive retained waypoints.
Figure 6 shows that the pruning procedure preserves the principal path geometry while removing redundant waypoints and unnecessary detours.
Figure 6. Collision-checked visibility-based pruning of the initial path.
Visibility-based pruning is applied only after tree-search termination and does not affect sampling, node selection, tree expansion, or the reported tree-expansion iteration count. The same collision-checked pruning procedure is applied identically to all evaluated planners before the subsequent smoothing stage.

2.6.2. Path Smoothing

After pruning, the path length and number of retained waypoints are reduced, but the resulting path remains piecewise linear and may contain sharp turns at adjacent segment junctions. Piecewise cubic Hermite interpolating polynomial (PCHIP) interpolation is therefore applied as an independent post-processing operation after path generation. It produces a continuously differentiable trajectory passing through the retained waypoints without modifying the tree-search process.
The collision-verified pruned path is represented as
P ′ = p 1 , p 2 , … , p n p , p k = ( x k , y k ) , k = 1 , 2 , … , n p ,
where n p is the number of retained path points. To avoid uneven interpolation caused by nonuniform waypoint spacing, the cumulative arc-length parameter is defined as
s 1 = 0 , s k = ∑ i = 1 k − 1 p i + 1 − p i 2 , k = 2 , 3 , … , n p .
Using s k as the interpolation parameter, PCHIP is applied separately to the horizontal and vertical coordinate sequences:
x ( s ) = PCHIP ( s k , x k ) k = 1 n p ; s , y ( s ) = PCHIP ( s k , y k ) k = 1 n p ; s .
This coordinate-wise interpolation passes through the retained waypoints and provides locally shape-preserving continuously differentiable transitions.
Consistent with the final MATLAB implementation, the interpolated trajectory is evaluated at N s = 48 uniformly spaced cumulative arc-length parameters:
s j ∗ = j − 1 N s − 1 s n p , j = 1 , 2 , … , N s , P s = x ( s j ∗ ) , y ( s j ∗ ) ∣ j = 1 , 2 , … , N s , N s = 48 .
Here, P s denotes the PCHIP-smoothed trajectory. The retained waypoints are interpolation knots, whereas the additional points in P s are trajectory samples rather than newly generated search-tree nodes.
PCHIP smoothing is applied only after path generation and does not participate in sampling, node selection, tree expansion, or inter-tree connection. Each segment of P s is verified using the sampled-point collision test defined in Equations (7)–(9). If any smoothed segment is infeasible, P s is discarded and the collision-verified pruned path P ′ is retained. The interpolated points therefore do not affect the reported tree-expansion iteration count. For fair comparison, the same visibility-based pruning, PCHIP interpolation, segment-by-segment collision verification, and fallback procedure are applied identically to all evaluated planners.
The initial path, pruned path, and PCHIP-smoothed path are compared in terms of path length, number of path points, average turning angle, and maximum turning angle, as reported in Table 1.
Table 1. Comparison of path characteristics before and after post-processing.
As shown in Table 1, pruning reduces the path length from 26.106 m to 24.253 m and the number of retained path points from 26 to 4. The larger turning angles after pruning result from removing intermediate waypoints and retaining a sparse piecewise-linear path. PCHIP interpolation produces 48 trajectory samples and reduces the average and maximum turning angles to 3 . 606 ∘ and 16 . 016 ∘ , respectively. The slight increase in path length to 24.857 m results from the interpolated transitions between retained waypoints.
Figure 7 shows that pruning removes redundant waypoints, whereas PCHIP interpolation produces smoother transitions between the collision-verified retained waypoints.
Figure 7. Comparison of the initial, pruned, and PCHIP-smoothed trajectories. The black dots denote the retained waypoints after pruning, and the black line segments connect these waypoints to form the collision-verified pruned path before PCHIP smoothing.

2.7. Algorithm Complexity Analysis

The computational costs are analyzed for online tree search and collision-verified post-processing. Let E denote the total number of attempted edge extensions, including primary tree expansion, inter-tree connection, and collision-recovery attempts. Let N denote the maximum total number of nodes stored in the two trees, M o the number of inflated obstacles examined during obstacle-clearance and APF evaluation, M c the maximum number of obstacle tests performed for each sampled collision-checking point after spatial filtering, and H the maximum number of discrete checking points on one candidate edge. For post-processing, n 0 , n p , and n s denote the numbers of path points in the initial feasible path, the pruned path, and the PCHIP-smoothed trajectory, respectively.
In conventional BiRRT, each attempted extension includes random sampling, a nearest-node query, node generation, and collision verification. Random sampling and node generation require constant time. With the linear nearest-neighbor search used in the implementation, the nearest-node query requires O ( N ) operations. Each candidate edge is discretized into at most H checking points, and each point is tested against at most M c candidate obstacles. Therefore, the online complexity of conventional BiRRT is bounded by
O E N + H M c .
For the proposed method, fixed goal-biased sampling, failure-count updates, step-size clipping, and tree-role exchange require only constant-time scalar operations. The obstacle-clearance calculation and APF-guided directional correction examine the inflated obstacle set and require O ( M o ) operations for each attempted extension. When the primary direction is infeasible, at most six predefined collision-recovery directions are examined. Because their number is fixed, these recovery attempts introduce only a constant factor and are included in E. The online complexity of the proposed BiRRT framework is therefore
O E N + H M c + M o .
Because H, M c , and M o are bounded under fixed environment and collision-verification settings, the proposed method retains the same dominant order in E and N as conventional BiRRT.
After a feasible path has been obtained, visibility-based pruning is performed independently of online tree expansion. In the worst case, the farthest-visible-successor procedure evaluates O ( n 0 2 ) candidate shortcut segments. Each shortcut is verified using at most H sampled points, with at most M c obstacle tests performed for each point. The pruning complexity is therefore
O n 0 2 H M c .
Constructing the coordinate-wise PCHIP interpolants from n p retained path points requires O ( n p ) operations. Evaluating and collision-checking the n s trajectory samples requires O ( n s H M c ) operations. Hence, the complete smoothing-stage complexity is
O n p + n s H M c .
The interpolated points are trajectory samples rather than newly generated search-tree nodes and therefore do not affect the reported tree-expansion iteration count.
Combining online search and collision-verified post-processing gives the following upper bound for the complete planning pipeline:
O E N + H M c + M o + n 0 2 H M c + n p + n s H M c .
The first term in Equation (36) represents online bidirectional tree expansion, including goal-biased sampling, adaptive step-size selection, APF-guided directional correction, collision-recovery attempts, and collision verification. Because the same post-processing pipeline is applied to all evaluated planners, the reported iteration counts reflect differences in online tree-search behavior rather than post-processing differences.

3. Simulation Experiments and Analysis

To evaluate the proposed Improved-BiRRT algorithm, experiments are conducted from four perspectives: multi-environment performance comparison, ablation analysis, representative path-planning visualization, and continuous campus waste-sorting task validation. For fair comparison, identical collision-checking settings are used during tree search, while identical visibility-based pruning, PCHIP smoothing, segment-by-segment collision verification, and post-processing fallback rules are applied to all the sampling-based planners after feasible paths are obtained.

3.1. Simulation Environment and Parameter Settings

The simulation platform is developed in MATLAB R2024b, with a Simulink trajectory-playback model used to visualize the planned mobile-base trajectories and predefined local manipulation operations. Predefined target categories and coordinates serve as surrogates for upstream perception outputs. All the experiments use static two-dimensional maps; dynamic obstacles, localization uncertainty, and trajectory-tracking errors are outside the present simulation scope.
The campus environment is modeled as a 30 m × 20 m workspace, and the initial mobile-base position is ( 2.0 , 2.0 ) . Seven rectangular obstacles represent the teaching buildings, library, canteen, flower bed, parking area, laboratory building, and corridor. The mobile-base radius is 0.35 m , and an additional 0.12 m safety clearance is used, yielding an inflated collision-checking radius of 0.47 m .
Five waste targets are placed in the campus environment: a plastic bottle, fruit peel, waste battery, tissue paper, and leftover food box. They belong to the recyclable, kitchen, hazardous, and other waste categories, with two targets assigned to the kitchen waste category. The recyclable, kitchen, hazardous, and other waste bins are located at ( 27.0 , 17.0 ) , ( 26.0 , 3.2 ) , ( 3.0 , 17.5 ) , and ( 16.0 , 18.2 ) , respectively. The campus waste-sorting environment is shown in Figure 8.
Figure 8. Simulation environment of the campus waste-sorting path-planning task.
The mobile base starts from the initial position and sequentially approaches the five targets according to a predefined input order. After reaching each target region, the corresponding disposal position is selected using a fixed category-to-bin mapping. The target order and category mapping remain unchanged for all the planners and repeated runs; task-sequence optimization is not considered in this work.
Local manipulator motions are represented by predefined operations executed after the mobile base reaches each target region. Accordingly, the proposed framework evaluates mobile-base path planning within a decoupled navigation and manipulation architecture rather than a fully coupled mobile-manipulator controller.
In addition to the task-level campus environment, three benchmark scenarios are constructed: a simple campus environment, a complex campus environment, and a narrow-passage environment. All the scenarios use the same 30 m × 20 m map boundary but differ in obstacle number, obstacle density, and passage width. They evaluate basic search capability, obstacle-dense planning performance, and narrow-passage search stability, respectively. The three comparative environments are shown in Figure 9.
Figure 9. Comparative experimental environments with different complexity levels.
Four planners are evaluated: RRT, GoalBias-RRT, BiRRT, and Improved-BiRRT. RRT provides the basic single-tree sampling framework, GoalBias-RRT introduces goal-biased sampling, and BiRRT performs bidirectional expansion from the start- and goal-rooted trees. Improved-BiRRT retains the bidirectional tree structure and incorporates fixed goal-biased sampling, obstacle-clearance- and failure-adaptive step-size selection, APF-guided directional correction, and collision-recovery direction selection.
Each planner is independently executed 20 times in each environment. Deterministic seeds generated from the scenario, algorithm, and trial indices are used to ensure reproducibility. Identical map boundaries, obstacle representations, collision-checking resolution, safety clearance, and termination conditions are used in the corresponding comparisons.
The reported metrics include success rate, raw feasible-path length, final collision-verified path length, online planning time, tree-expansion iteration count, and number of generated tree nodes. The raw feasible-path length is measured after successful search termination and before the common post-processing pipeline, whereas the final collision-verified path length is obtained after identical visibility-based pruning, PCHIP smoothing, segment-by-segment collision verification, and fallback procedures. Planning time records only the online tree-search stage and excludes the common visibility-based pruning and PCHIP smoothing stages. Trajectory quality is evaluated separately using the turning-angle and path-smoothness measures defined previously. Success rate is reported as a percentage, whereas the remaining repeated-run metrics are reported as mean values and standard deviations.
Table 2 summarizes the principal settings, which remain fixed throughout all repeated runs in each environment. The iteration limits are termination constraints; the reported iteration count is the actual number of tree-expansion operations required to obtain a feasible path.
Table 2. Main environment and planner parameter settings for the campus waste-sorting task and benchmark experiments.

3.2. Algorithm Performance Comparison

To evaluate the path-planning performance of Improved-BiRRT across different campus environments, four benchmark planners are compared: RRT, GoalBias-RRT, BiRRT, and Improved-BiRRT. Each planner is independently executed 20 times in each environment. All four planners successfully complete the planning tasks in the three environments, yielding a success rate of 100 % .
Table 3 reports the raw feasible-path length generated by the search stage, the final collision-verified path length obtained after the common post-processing pipeline, and the online tree-expansion iteration count. Figure 10 further compares online planning time, final path length, number of generated tree nodes, and planning success rate.
Table 3. Path-planning performance of different algorithms in different environments.
Figure 10. Comparison of path-planning performance metrics among different algorithms.
As shown in Table 3 and Figure 10, Improved-BiRRT achieves the shortest average raw feasible-path length, final collision-verified path length, and online tree-expansion iteration count in all three environments. In the simple campus environment, its raw and final path lengths are 32.204 m and 29.746 m , compared with 33.524 m and 29.895 m for BiRRT, while the iteration count decreases to 8.10 .
The advantage becomes more evident in constrained environments. In the complex campus environment, Improved-BiRRT obtains raw and final path lengths of 33.081 m and 30.733 m , with an iteration count of 10.45 . In the narrow-passage environment, the corresponding values are 32.155 m , 27.041 m , and 39.25 , with smaller path-length variations than the comparison planners. These results indicate improved search-stage path quality, efficiency, and stability.
The raw feasible-path length is measured after search termination and before pruning and PCHIP smoothing, whereas the final path length is obtained after the common post-processing, collision verification, and fallback procedures. Improved-BiRRT remains the best-performing planner at both stages, showing that its advantage originates from the search process rather than solely from post-processing. Because identical collision-checking and post-processing procedures are applied to all planners, the final-path comparison remains fair.
To assess the statistical significance of the observed performance differences, Wilcoxon rank-sum tests are performed on the final path length and online tree-expansion iteration count obtained from the 20 independent runs in the complex campus and narrow-passage environments. To account for multiple pairwise comparisons, the resulting p-values are adjusted using the Holm procedure. The significance level is set to 0.05 , and the Holm-adjusted results are reported in Table 4.
Table 4. Statistical significance analysis using Holm-adjusted Wilcoxon rank-sum tests.
All the Holm-adjusted p-values in Table 4 are below 0.05 , indicating statistically significant differences between Improved-BiRRT and the comparison algorithms for both final path length and online tree-expansion iteration count.
The results support the effectiveness of coordinating goal-biased sampling, obstacle-clearance- and failure-adaptive step-size selection, and APF-guided directional correction within the bidirectional collision-verified expansion process. This coordination improves planning efficiency and stability, particularly in obstacle-dense and narrow-passage environments.

3.3. Ablation Study

To examine the contribution of each module to path-planning performance, cumulative ablation experiments are conducted in the complex campus environment and the narrow-passage environment. The original BiRRT algorithm is used as the baseline. The cumulative variants progressively introduce goal-biased sampling, adaptive step-size adjustment, APF-guided expansion with collision-recovery candidate directions, and finally the combined pruning and collision-verified PCHIP post-processing stage. The corresponding ablation configurations are listed in Table 5.
Table 5. Ablation settings of the Improved-BiRRT algorithm.
Each ablation variant is evaluated over 20 independent trials per environment, and all the variants completed all the trials successfully. For each environment and trial index, all the variants use the same random seed and the same environment-specific maximum iteration limit and goal-connection threshold. This paired-seed protocol reduces the influence of seed selection on the within-group comparison. The ablation experiments are independent of the benchmark comparison reported in Table 3 and use a different random-seed protocol; therefore, their absolute mean values are not expected to be identical.
Table 6 reports the final path length and online tree-expansion iteration count, while Figure 11 additionally presents the number of generated tree nodes. After PCHIP interpolation, the trajectory is checked using segment-by-segment collision verification. If the interpolated trajectory is infeasible, the collision-free pruned path is retained.
Table 6. Ablation results of the Improved-BiRRT algorithm.
Figure 11. Ablation study results of the Improved-BiRRT algorithm.
As shown in Table 6 and Figure 11, goal-biased sampling and adaptive step-size adjustment alone do not consistently reduce online search effort. In the complex campus environment, APF-BiRRT reduces the average online tree-expansion iteration count from 131.55 ± 26.76 for Adaptive-BiRRT to 11.10 ± 1.59 , representing an approximate 91.6 % reduction. Improved-BiRRT further reduces the average final path length from 33.488 ± 0.867 m to 30.775 ± 0.201 m , representing an approximate 8.1 % reduction, while retaining the same online iteration count and generated-node count as APF-BiRRT.
A similar trend is observed in the narrow-passage environment. APF-BiRRT reduces the average online tree-expansion iteration count from 827.80 ± 595.83 for Adaptive-BiRRT to 40.60 ± 15.34 , representing an approximate 95.1 % reduction. Improved-BiRRT further decreases the average final path length from 32.322 ± 2.178 m to 27.116 ± 0.273 m , representing an approximate 16.1 % reduction, while retaining the same online iteration count and generated-node count as APF-BiRRT.
These results show that APF-guided expansion with collision-recovery candidate directions provides the principal improvement in online search efficiency. The combined pruning and collision-verified PCHIP post-processing stage improves final-path quality without changing the online iteration or generated-node counts. Under the paired-seed protocol, APF-BiRRT and Improved-BiRRT therefore produce identical online search results. PCHIP smoothing is retained only when the interpolated trajectory passes segment-by-segment collision verification; otherwise, the collision-free pruned path is used.

3.4. Goal-Bias Probability Sensitivity Analysis

The goal-bias probability P g balances global exploration and goal-directed expansion. A small P g may slow convergence, whereas an excessively large P g may repeatedly direct the tree toward locally blocked regions and increase the search effort.
Sensitivity experiments are conducted in the complex campus and narrow-passage environments. Each P g value is evaluated over 20 trials per environment. For each environment and trial index, all the tested P g values use the same random seed, while identical termination, collision-verification, and post-processing settings are maintained. Table 7 reports the final collision-verified path length and online tree-expansion iteration count, while Figure 12 additionally presents the average number of generated tree nodes.
Table 7. Goal-bias probability sensitivity results.
Figure 12. Goal-bias probability sensitivity analysis results.
As shown in Table 7, Improved-BiRRT achieves a 100 % planning success rate for all the tested P g values. In the complex campus environment, the average final path length varies only from 30.736 to 30.758 m , while the online tree-expansion iteration count changes only slightly with P g . In the narrow-passage environment, P g = 0.10 yields the lowest search effort, whereas P g = 0.30 produces the shortest average final path. These results indicate that final path length is relatively insensitive to P g , while online search effort is more environment-dependent.
Figure 12 further shows that the average generated-node count changes only moderately across the tested P g values in the complex campus environment, whereas larger variations are observed in the narrow-passage environment. This result is consistent with the greater sensitivity of constrained search to the balance between directed expansion and random exploration.
Because all the tested values achieve a 100 % success rate and the path-length differences remain small, the sensitivity analysis does not support a unique best value across both environments. Considering the trade-off between final path length and online search effort, P g ∈ [ 0.22 , 0.30 ] is regarded as a practical operating interval rather than a statistically optimal range. Environment-specific values within this interval are used in the final implementation: P g = 0.22 for the simple and complex campus benchmarks, P g = 0.25 for the narrow-passage benchmark, and P g = 0.24 for the campus waste-sorting task.

3.5. Path-Planning Result Analysis

Representative collision-free trajectories from successful runs are selected in the simple campus, complex campus, and narrow-passage environments for qualitative comparison of path compactness, direction changes, and lateral deviations, as shown in Figure 13. These trajectories are used only for visualization; the quantitative conclusions are based on the repeated-trial results reported in Table 3.
Figure 13. Representative path-planning results of different algorithms in different environments.
As shown in Figure 13, all four algorithms generate feasible paths in the three representative environments. In the simple campus environment, RRT exhibits more visible local direction changes. In the complex campus environment, RRT and GoalBias-RRT produce local detours, while BiRRT retains several redundant turns. Improved-BiRRT produces a more compact path with fewer visible direction changes.
The narrow-passage trajectories are enlarged in Figure 14 for clearer comparison.
Figure 14. Representative path-planning results of different algorithms in the narrow-passage environment.
As shown in Figure 14, Improved-BiRRT produces fewer visible direction changes and smaller lateral deviations under narrow-passage constraints. The repeated-trial results in Table 3 show that Improved-BiRRT achieves an average raw feasible-path length of 32.155 ± 1.935 m , an average final collision-verified path length of 27.041 ± 0.327 m , and an average online tree-expansion iteration count of 39.25 ± 12.64 . All three values are lower than those of RRT, GoalBias-RRT, and BiRRT, indicating improved intrinsic search-stage path quality, final-path compactness, online search efficiency, and planning stability in the constrained environment. The shorter raw feasible path further demonstrates that the path-quality advantage is already present in the search-stage output rather than being introduced solely by the common post-processing pipeline.

3.6. Task-Level Validation of the Decoupled Navigation and Manipulation Framework

To evaluate the feasibility of the decoupled navigation and manipulation framework in a multi-stage campus waste-sorting task, a task-level simulation combines mobile-base global path planning with predefined local manipulator grasping and placement motions. The perception outputs, including waste category, confidence, and two-dimensional campus coordinates, are treated as predefined semantic and spatial inputs rather than being generated online.
Five targets are considered: a plastic bottle, fruit peel, waste battery, tissue paper, and leftover food container. The corresponding waste categories and disposal-bin assignments are predefined. The target collection order is also predefined, and task-sequence optimization is not considered in this study. Each target requires two mobile-base planning segments: an approach segment from the previous location to the target and a transport segment from the target to its category-specific bin. The five targets therefore form ten mobile-base planning segments. The aggregated results are reported in Table 8.
Table 8. Path-planning results for the predefined multi-stage waste-sorting task.
As shown in Table 8, all ten mobile-base segments are successfully planned. The resulting cumulative collision-verified path length is 136.171 m , with a cumulative MATLAB online planning time of 0.1305 s and a total iteration count of 2159. The segment-level planning results are shown in Figure 15.
Figure 15. Path-planning performance of the ten mobile-base task segments in the campus waste-sorting task, where S1–S10 denote the segments in their predefined execution order.
As shown in Figure 15, the planning metrics vary among the segments because of differences in travel distance, target and bin locations, and local obstacle constraints; nevertheless, all ten segments are successfully planned and provide collision-verified mobile-base trajectories for the subsequent local operations.
For local manipulation, a simplified three-degree-of-freedom manipulator model is used to generate predefined grasping and placement motions after the mobile base reaches the corresponding target or bin region. Kinematic calculations and smooth interpolation are employed to generate the associated joint-angle sequences. These local manipulator motions are generated separately from the mobile-base global paths and are not jointly optimized with the base-planning process. Representative local trajectories are shown in Figure 16.
Figure 16. Representative local grasping and placement trajectories of the manipulator. The blue curves denote the end-effector trajectories, the purple and yellow line-and-marker configurations denote representative manipulator postures sampled along the local motions, and the red translucent regions denote local obstacle regions.
As shown in Figure 16, the simplified manipulator generates continuous local reference trajectories for the predefined grasping and placement operations under the adopted kinematic and interpolation assumptions.
To demonstrate sequential coordination between the mobile base and the manipulator, the planned mobile-base pose sequence and the manipulator joint-angle sequence are imported into Simulink and replayed according to predefined timing. Representative key frames are shown in Figure 17.
Figure 17. Key frames of sequential mobile-base and manipulator trajectory playback. Colored circular markers denote waste targets, colored square markers denote the corresponding category-specific bins, and the light-blue lines denote the planned mobile-base trajectories.
As shown in Figure 17, the mobile base follows the predefined collection order and reaches each waste target and its category-specific bin before the corresponding local manipulator motion is executed. The Simulink playback durations are 137.213 s for the mobile-base trajectory and 92.700 s for the local manipulator trajectory. These durations represent visualization timelines rather than the MATLAB planner runtimes reported in Table 8.
The results verify sequential task execution within the proposed decoupled navigation and manipulation framework rather than a fully coupled online mobile-manipulator controller. The validation is limited to static two-dimensional mobile-base environments and predefined local manipulator motions; dynamic obstacles, localization uncertainty, and trajectory-tracking errors are not considered.

4. Discussion

The proposed task-oriented Improved-BiRRT method improves search-stage path quality, online search efficiency, and final-path quality in campus waste-sorting scenarios. Compared with RRT, GoalBias-RRT, and BiRRT, it obtains shorter raw feasible paths and final collision-verified paths, fewer online tree-expansion iterations, and lower run-to-run variability, particularly in complex campus and narrow-passage environments. These improvements result from the coordinated use of goal-biased sampling, obstacle-clearance- and failure-adaptive step-size selection, APF-guided directional correction, and collision-recovery directions.
Because identical visibility-based pruning, PCHIP smoothing, segment-by-segment collision verification, and fallback procedures are applied to all the planners, the raw feasible-path results provide a direct comparison of the intrinsic path quality produced by the different tree-search mechanisms. Improved-BiRRT achieves the shortest average raw feasible-path length in all three benchmark environments, demonstrating that its path-quality advantage is already present before the common post-processing pipeline is applied. The common post-processing procedure further improves the feasible paths while preserving the leading position of Improved-BiRRT in the final collision-verified path comparison. The principal contribution is therefore the integration of the proposed search mechanisms into a collision-verified and task-oriented BiRRT planning framework rather than an advantage introduced solely by post-processing.
The task-level simulation verifies sequential execution within the decoupled navigation and manipulation framework. Waste category, confidence, and two-dimensional coordinates are treated as predefined inputs, while the collection order and category-to-bin mapping remain fixed. Mobile-base paths and local manipulator motions are generated separately and replayed sequentially. The validation therefore demonstrates a predefined “recognition–planning–movement–grasping–disposal” workflow rather than a fully coupled online controller or a task-sequence optimization method.
The experiments are limited to static two-dimensional mobile-base environments, predefined local manipulator motions, and RRT-family benchmark planners. Dynamic obstacles, online perception, localization uncertainty, trajectory-tracking errors, and task-sequence optimization are not considered. Future work will extend the benchmark and investigate online replanning and obstacle avoidance in dynamic campus environments [30,31]. Real visual detection models and physical mobile-manipulator platforms will also be integrated for closed-loop validation.

5. Conclusions

This study proposes a task-oriented Improved-BiRRT method for multi-stage grasping and category-specific disposal tasks performed by a campus waste-sorting mobile manipulator. Goal-biased sampling, obstacle-clearance- and failure-adaptive step-size selection, APF-guided directional correction, and collision-recovery directions are integrated to improve online search efficiency and obstacle avoidance. After feasible-path generation, visibility-based pruning and collision-verified PCHIP smoothing improve final-path compactness and trajectory continuity.
The MATLAB and Simulink experiments show that the proposed method generates feasible collision-free paths in the simple campus, complex campus, and narrow-passage environments. Compared with RRT, GoalBias-RRT, and BiRRT, it achieves shorter raw feasible paths and final collision-verified paths, fewer online tree-expansion iterations, and lower run-to-run variability in the more constrained environments. The raw-path results confirm that the path-quality advantage is already present in the search-stage output rather than being produced solely by the common post-processing pipeline. The ablation experiments clarify the incremental effects of the proposed modules, while the goal-bias sensitivity analysis demonstrates stable path quality across the tested settings.
In the task-level simulation, predefined waste-recognition outputs are used as semantic and spatial inputs [3,4]. Under a fixed collection order and category-to-bin mapping, mobile-base paths and local manipulator motions are generated separately and executed sequentially. The five-target task yields a cumulative collision-verified mobile-base path length of 136.171 m , a cumulative MATLAB online planning time of 0.1305 s , and a total iteration count of 2159. The results verify the feasibility of the proposed decoupled framework for predefined multi-target campus waste-sorting tasks [32].

Author Contributions

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

Funding

This research was funded by the Open Fund of Sichuan Provincial University Key Laboratory of Enterprise Informatization and Internet of Things Measurement and Control Technology, grant number 2024WYJ03, and the Sichuan Smart Tourism Research Base, grant number ZHYJ24-01.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The data presented in this study were generated from simulation experiments. The relevant simulation settings and numerical results are included in this article. Further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Matsushima, T.; Noguchi, Y.; Arima, J.; Aoki, T.; Okita, Y.; Ikeda, Y.; Ishimoto, K.; Taniguchi, S.; Yamashita, Y.; Seto, S.; et al. World robot challenge 2020—Partner robot: A data-driven approach for room tidying with mobile manipulator. Adv. Robot. 2022, 36, 850–869. [Google Scholar] [CrossRef] [Scilit]
  2. Balatti, P.; Ozdamar, I.; Sirintuna, D.; Fortini, L.; Leonori, M.; Gandarias, J.M.; Ajoudani, A. Robot-Assisted Navigation for Visually Impaired through Adaptive Impedance and Path Planning. In Proceedings of the 2024 IEEE International Conference on Robotics and Automation (ICRA), Yokohama, Japan, 13–17 May 2024; pp. 2310–2316. [Google Scholar]
  3. Narayan, Y. DeepWaste: Applying Deep Learning to Waste Classification for a Sustainable Planet. arXiv 2021, arXiv:2101.05960. [Google Scholar]
  4. Kunwar, S. MWaste: An app that uses deep learning to manage household waste. Clean. Technol. Recycl. 2023, 3, 119–133. [Google Scholar] [CrossRef] [Scilit]
  5. Bai, J.; Lian, S.; Liu, Z.; Wang, K.; Liu, D. Deep Learning Based Robot for Automatically Picking Up Garbage on the Grass. IEEE Trans. Consum. Electron. 2018, 64, 382–389. [Google Scholar] [CrossRef] [Scilit]
  6. Yamamoto, T.; Terada, K.; Ochiai, A.; Saito, F.; Asahara, Y.; Murase, K. Development of Human Support Robot as the research platform of a domestic mobile manipulator. Robomech J. 2019, 6, 4. [Google Scholar] [CrossRef] [Scilit]
  7. Sotirchos, G.; Ajanovic, Z. Search-based versus Sampling-based Robot Motion Planning: A Comparative Study. arXiv 2024, arXiv:2406.09623. [Google Scholar]
  8. Lai, T.; Morere, P.; Ramos, F.; Francis, G. Bayesian Local Sampling-Based Planning. IEEE Robot. Autom. Lett. 2020, 5, 1954–1961. [Google Scholar] [CrossRef] [Scilit]
  9. LaValle, S.M. Rapidly-Exploring Random Trees: A New Tool for Path Planning; Technical Report TR 98-11; Computer Science Department, Iowa State University: Ames, IA, USA, 1998. [Google Scholar]
  10. Sucan, I.A.; Moll, M.; Kavraki, L.E. The Open Motion Planning Library. IEEE Robot. Autom. Mag. 2012, 19, 72–82. [Google Scholar] [CrossRef] [Scilit]
  11. Karaman, S.; Frazzoli, E. Sampling-based algorithms for optimal motion planning. Int. J. Robot. Res. 2011, 30, 846–894. [Google Scholar] [CrossRef] [Scilit]
  12. Kang, J.-G.; Lim, D.-W.; Choi, Y.-S.; Jang, W.-J.; Jung, J.-W. Improved RRT-Connect Algorithm Based on Triangular Inequality for Robot Path Planning. Sensors 2021, 21, 333. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  13. 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 (ICRA), San Francisco, CA, USA, 24–28 April 2000; Volume 2, pp. 995–1001. [Google Scholar]
  14. Kang, J.-G.; Jung, J.-W. Post Triangular Rewiring Method for Shorter RRT Robot Path Planning. Int. J. Fuzzy Log. Intell. Syst. 2021, 21, 213–221. [Google Scholar] [CrossRef] [Scilit]
  15. Zhang, Y.; Wang, H.; Yin, M.; Wang, J.; Hua, C. Bi-AM-RRT*: A Fast and Efficient Sampling-Based Motion Planning Algorithm in Dynamic Environments. IEEE Trans. Intell. Veh. 2024, 9, 1282–1293. [Google Scholar] [CrossRef] [Scilit]
  16. Chitre, R.; Sinha, A. An Enhanced RRT based Algorithm for Dynamic Path Planning and Energy Management of a Mobile Robot. arXiv 2023, arXiv:2310.20590. [Google Scholar]
  17. Diab, M.; Mohammadkarimi, M.; Rajan, R.T. Artificial Potential Field-Based Path Planning for Cluttered Environments. In Proceedings of the 2023 IEEE Aerospace Conference, Big Sky, MT, USA, 4–11 March 2023. [Google Scholar]
  18. Fritsch, F.N.; Carlson, R.E. Monotone Piecewise Cubic Interpolation. SIAM J. Numer. Anal. 1980, 17, 238–246. [Google Scholar] [CrossRef] [Scilit]
  19. Fritsch, F.N.; Butland, J. A Method for Constructing Local Monotone Piecewise Cubic Interpolants. SIAM J. Sci. Stat. Comput. 1984, 5, 300–304. [Google Scholar] [CrossRef] [Scilit]
  20. Choudhary, A. Sampling-based Path Planning Algorithms: A Survey. arXiv 2023, arXiv:2304.14839. [Google Scholar]
  21. Khatib, O. Real-time obstacle avoidance for manipulators and mobile robots. Int. J. Robot. Res. 1986, 5, 90–98. [Google Scholar] [CrossRef] [Scilit]
  22. Noel, M.M.; Chawla, A. An Improved Rapidly Exploring Random Tree Algorithm for Path Planning in Configuration Spaces with Narrow Channels. arXiv 2024, arXiv:2411.00357. [Google Scholar]
  23. Qureshi, A.H.; Ayaz, Y. Potential functions based sampling heuristic for optimal path planning. Auton. Robot. 2016, 40, 1079–1093. [Google Scholar] [CrossRef] [Scilit]
  24. Serdel, Q.; Marzat, J.; Moras, J. Smooth Path Planning Using a Gaussian Process Regression Map for Mobile Robot Navigation. arXiv 2024, arXiv:2407.05779. [Google Scholar]
  25. Xanthidis, M.; Esposito, J.M.; Rekleitis, I.; O’Kane, J.M. Motion Planning by Sampling in Subspaces of Progressively Increasing Dimension. J. Intell. Robot. Syst. 2020, 100, 777–789. [Google Scholar] [CrossRef] [Scilit]
  26. de Boor, C. A Practical Guide to Splines; Springer: New York, NY, USA, 1978. [Google Scholar]
  27. Adiyatov, O.; Varol, H.A. A novel RRT*-based algorithm for motion planning in dynamic environments. In Proceedings of the 2017 IEEE International Conference on Mechatronics and Automation (ICMA), Takamatsu, Japan, 6–9 August 2017; pp. 1416–1421. [Google Scholar]
  28. Sugirtha, T.; Pranav, S.; Dasiah, N.B.; Sridevi, M. Modified RRT* for Path Planning in Autonomous Driving. arXiv 2024, arXiv:2402.12129. [Google Scholar]
  29. Petit, L.; Desbiens, A.L. RRT-Rope: A deterministic shortening approach for fast near-optimal path planning in large-scale uncluttered 3D environments. In Proceedings of the 2021 IEEE International Conference on Systems, Man, and Cybernetics (SMC), Melbourne, Australia, 17–20 October 2021; pp. 1111–1118. [Google Scholar]
  30. Sim, J.; Kim, J.; Nam, C. Safe Interval RRT* for Scalable Multi-Robot Path Planning in Continuous Space. arXiv 2025, arXiv:2404.01752. [Google Scholar]
  31. Wolek, A.; Weintraub, I.E.; Von Moll, A.; Casbeer, D.; Manyam, S.G. Sampling-Based Risk-Aware Path Planning Around Dynamic Engagement Zones. IFAC-PapersOnLine 2024, 58, 594–599. [Google Scholar] [CrossRef] [Scilit]
  32. Ly, K.T.; Semenov, V.; Risiglione, M.; Merkt, W.; Havoutis, I. R-LGP: A Reachability-Guided Logic-Geometric Programming Framework for Optimal Task and Motion Planning on Mobile Manipulators. arXiv 2024, arXiv:2310.02791. [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.