1. Introduction
In the context of a regular grid environment, path planning and trajectory tracking are the basic technologies that enable mobile robots to achieve autonomous navigation. As an outstanding example of a heuristic search method, the A* algorithm [
1] has optimality and completeness, making it a popular choice in various application scenarios. When faced with large-scale maps, the A* algorithm often expands too many nodes during the search process, resulting in unsatisfactory computing efficiency and facing challenges in meeting the actual needs of efficient path generation [
2].
To enhance search efficiency, the JPS algorithm [
3], an optimized variant of the A* algorithm, has been extensively utilized in global path planning for static grid maps. This algorithm effectively minimizes redundant nodes and markedly improves search performance through the application of jump expansion and symmetric pruning techniques. Despite this, the initial trajectory generated by the JPS algorithm has a large number of discrete jump points, which leads to insufficient continuity and poor smoothness of the path. This limitation limits its application in practical robot control systems [
4]. This problem is particularly significant in environments with a high density of obstacles, where problems such as the frequent expansion of jump points, unstable jump directions, and sudden changes in paths become more evident. These factors have a negative impact on both path quality and execution stability.
In recent years, researchers have put forth a range of enhancement strategies designed to address the shortcomings of the JPS algorithm in environments characterized by a high density of obstacles. Traish et al. [
5] introduced a swift boundary jump point identification mechanism to reduce the redundancy associated with extensions. Luo et al. [
6] introduced an angle propagation strategy to solve the problem of sudden change in path direction. Yang et al. [
7] proposed a bidirectional extension and endpoint correction mechanism to improve search efficiency. This method has insufficient environment perception in local complex environments, resulting in poor path stability. Wang et al. [
8] further advanced the field by implementing redundant jump point elimination and local arc reconstruction strategies to improve path feasibility, although the path continuity of these methods is still insufficient. In addition to these efforts, recent studies have explored hybrid strategies that integrate JPS with global–local fusion frameworks. For instance, Liu et al. [
9] incorporated Theta* into JPS to reduce detours caused by excessive turning, while Wang et al. [
8] coupled JPS with the Dynamic Window Approach (DWA) to achieve real-time obstacle avoidance albeit with limited curvature smoothness. Meanwhile, Zhao et al. [
10] adapted JPS to honeycomb raster environments, improving direction resolution but facing challenges in downstream smoothing. Guo et al. [
11] and An et al. [
4] have successively improved bidirectional JPS structures to accelerate pathfinding in dense environments, yet they struggled to maintain feasible curvature in narrow passages. In addition, Bai et al. [
12] introduced artificial potential fields into weighted JPS to encourage obstacle-aware navigation, although the method may cause excessive detouring in sparse areas. Zhang et al. [
13] combined JPS with polynomial fitting, but path overshooting near sharp corners remained problematic. Although existing enhancement methods have made progress in search efficiency and jumping point behavior management, they still have shortcomings in establishing a mechanism that can effectively combine jumping point generation strategies with obstacle distribution characteristics. This limitation hinders the potential for improvement in the continuity and controllability of the path from a given starting point.
To overcome these challenges, post-processing methods based on spline curves have been increasingly adopted to improve the geometric quality of paths generated by discrete search algorithms. Due to their advantageous characteristics such as geometric continuity, local adjustability, and micro-machinability, spline curves—particularly B-splines—have become a common solution in path refinement tasks [
14,
15]. Xu et al. [
16] introduced a gradient-driven B-spline trajectory optimization technology specifically designed for drone dynamic obstacle avoidance scenarios. This method generates a distance gradient field based on visual input, which helps achieve real-time path smoothing and demonstrates effective continuity and obstacle avoidance capabilities in a dynamic environment. Zhang et al. [
17] developed a multi-objective B-spline smoothing method that combines curvature, comfort, and safety distance constraints for intelligent vehicle polygonal path fitting, which improves path smoothness and tracking stability in actual vehicle testing. Choi et al. [
18] combined B-splines with incremental path flattening (IPF) to achieve efficient and safe continuous path generation in autonomous driving trajectory optimization, adopting a structure-aware collision correction mechanism and a curvature penalty strategy. Although these methods have made significant progress in path continuity and control effectiveness, they rely mainly on the equidistant or heuristic selection of control points, which limits their ability to systematically incorporate skip path structure semantics. Moreover, the optimization process of some of these methods may conflict with real-time requirements in barrier-dense environments.
On the contrary, geometric discontinuities of the trajectory will significantly affect the execution stability of the controller. Pure tracking (PP) algorithms [
19,
20] have attracted widespread attention in many fields including agricultural machinery, intelligent driving, and mobile robots because of their simple structure and easy implementation. The algorithm formulates control arcs based on specified look-ahead points to achieve path tracking. When dealing with road sections with high curvature or folded paths, it often encounters problems such as direction fluctuations and tracking jitter. In order to enhance the robustness of the PP algorithm, the researchers proposed an integrated fuzzy control mechanism [
21] and speed regulation strategy [
22], and they achieved certain improvements. In addition, Miao et al. [
23] proposed a decoupling controller for agricultural vehicles that considers steering delay, while Wang et al. [
24] integrated nonlinear model predictive control (NMPC) into PP tracking to enhance motion adaptability in water-based robotic platforms. These methods improve local stability but still struggle under sudden curvature transitions. However, the overall control performance still relies heavily on the continuity and smoothness of the path itself. In order to further improve response capabilities in complex path segments, Macenski et al. [
25] introduced an RPP controller, which adjusts the look-ahead distance and line speed based on the perception of path curvature, thereby improving system stability to a certain extent. The RPP controller is still susceptible to angular velocity fluctuations in sections with discrete path structures or sudden changes in curvature, which limits its control effectiveness. Improving the geometric continuity and control compatibility of the path during the path generation stage is a key prerequisite for developing a highly robust trajectory tracking system.
To improve the feasibility and continuity of robot navigation in cluttered indoor environments, this paper proposes an integrated path planning and control framework based on an enhanced JPS algorithm. The goal is to enhance planning efficiency while ensuring smooth and executable trajectories for real-time control. This paper offers the following contributions:
An integral image is used to estimate the local obstacle density via a density-aware heuristic approach. In densely crowded environments, this method reduces needless node expansions and improves path feasibility by enabling adaptive adjustment of the search direction and heuristic cost.
A structure-guided B-spline smoothing method is applied to reduce the discontinuities of discrete jump point pathways. Using this technique, important geometric points are extracted from the JPS path and used as control nodes for third-order B-spline interpolation, producing curvature-continuous and trackable trajectories.
An RPP controller driven by curvature is used to improve tracking stability. This controller smooths out the path-following experience and increases system responsiveness by adjusting the look-ahead distance and velocity according to local curvature.
Section 2 introduces the basic principles of the traditional JPS algorithm, covering its heuristic structure and core extension mechanism.
Section 3 introduces our improved path-planning method, which is characterized by having a density-aware adaptive heuristic function, that can improve search efficiency in complex environments.
Section 4 details the B-spline-based path smoothing strategy and the curvature-driven RPP controller for stable trajectory tracking.
Section 5 gives comprehensive simulation results. It compares and analyzes different map sizes and obstacle densities with the A* algorithm and the traditional JPS algorithm.
Section 6 discusses key observations, focusing on trade-offs between path efficiency, smoothness, and tracking stability.
Section 7 summarizes the paper and lists future research directions.
3. Improved Path-Planning Methods
In conventional JPS path planning, the process of node expansion is dependent on a static geometric distance estimation, which inadequately captures the structural characteristics of the environment. This limitation is particularly pronounced in areas with a high density of obstacles, where the search path is susceptible to local oscillations and redundant extensions, thereby compromising both search efficiency and path quality [
28]. To address this issue, the present study introduces a density-aware adaptive heuristic function optimization strategy. This approach develops an effective local obstacle density estimation method utilizing an integral map and dynamically modifies the heuristic weights to facilitate adaptive adjustments in response to varying environmental structures.
3.1. Local Barrier Density Modeling and Acceleration
To acquire the structural information surrounding the node, this study employs the sliding window statistics approach to develop a local obstacle density model, as illustrated in
Figure 6. For a given node location
, a local window with a width of
is established at its center, and the density is subsequently computed as follows:
where
represents the state of the grid, where a value of 1 indicates the presence of an obstacle and a value of 0 signifies a passable area. While this approach is both intuitive and effective, it necessitates conducting local traversals for each individual node. Consequently, the computational complexity is denoted as
, which constrains its efficiency when applied to large-scale maps.
To improve computational efficiency, this study presents an integral graph designed to expedite the aforementioned window summation process, as illustrated in
Figure 7. The integral map
denotes the cumulative count of obstacles within the area extending from the map’s origin to the coordinates
.
The synthesis of obstacles within a specified interval from
to
can be efficiently calculated using an integral map.
The ultimate density of the barrier is
In contrast to the conventional sliding window approach, this method decreases the computational complexity to while preserving the accuracy of density evaluation. This enhancement notably increases the efficiency of environmental modeling in the context of pathfinding.
3.2. Adaptive Heuristic Function
In light of the aforementioned density modeling, this study proposes a dynamically weighted heuristic function. This function is intended to augment the heuristic efficacy in expediting the search process within sparse obstacle areas while simultaneously diminishing the heuristic guidance in regions characterized by dense obstacles, thereby enhancing overall global robustness.
The enhanced heuristic function is characterized by the following structure:
where
represents the actual cost incurred from the initial point to the specified node,
denotes the Euclidean distance, and
signifies the density adjustment factor. This factor is subject to dynamic modification in response to variations in the local obstacle density, which is denoted as
.
In this context,
represents the obstacle density at the present location, which denotes the maximum weight, and
indicates the maximum density across the entire map. This approach guarantees that
approaches the maximum value
in scenarios where obstacles are sparse, which is characterized by robust inspiration and rapid search capabilities. Conversely, when obstacles are densely populated,
tends to approximate 0, reflecting diminished guidance and increased cost estimation. The comprehensive execution of this adaptive heuristic function is detailed in the pseudo-code presented in Algorithm 1.
Algorithm 1 Adaptive Heuristic Function for Density-Aware JPS |
1: function ADAPTIVEHEURISTIC(n, g, I, W, ρ_max, α0) 2:
x, y ← coordinates of node n 3:
ρ ← GETDENSITY(I, x, y, W) 4:
α ← α0 × (1 − ρ/ρ_max) 5:
α ← CLAMP(α, 0, α0) 6:
D ← EUCLIDEANDISTANCE(n, g) 7:
h(n) ← (1 + α) × D 8:
f(n) ← g(n) + h(n) 9:
return f(n) 10: end function 11: function GETDENSITY(I, x, y, W) 12:
half_w ← W//2 13:
x1 ← max(x − half_w, 0) 14:
y1 ← max(y − half_w, 0) 15:
x2 ← min(x + half_w, width − 1) 16:
y2 ← min(y + half_w, height − 1) 17:
sum ← I[x2][y2] − I[x1][y2] − I[x2][y1] + I[x1][y1] 18:
return sum/((x2 − x1 + 1) × (y2 − y1 + 1)) 19: end function |
To assess the efficacy of the proposed adaptive heuristic function, this study conducts a comparative analysis of the search processes of the traditional JPS and the improved JPS, utilizing identical starting and ending conditions. As illustrated in
Figure 8, the improved JPS demonstrates a decrease in the number of extended nodes from 48 to 18 alongside a reduction in planning time from 1.60 milliseconds to 1.17 milliseconds. These changes represent a decrease of 62.5% in the number of extended nodes and 26.9% in planning time, respectively. It is noteworthy that this improvement in search efficiency and path security is accompanied by a slight increase in path length of approximately 1.8%.
3.3. Parameter Configuration and Sensitivity Analysis
The density-aware heuristic proposed in this study depends on several critical parameters. The window size was set to to achieve a balance between sensitivity to local structural variations and computational efficiency. Smaller window sizes (e.g., ) resulted in unstable density estimations, whereas larger sizes (e.g., ) diminished spatial resolution in confined areas.
The maximum local density, denoted as , was derived from the integral image during the map initialization phase to facilitate normalization of the heuristic scaling across diverse environmental contexts.
The weighting coefficient α0 was evaluated over the range [0.1, 1.0]. Lower values (e.g., ) yielded limited pruning and performance close to that of standard A*, while higher values (e.g., ) led to excessive pruning, occasionally omitting viable narrow passages. Intermediate values (approximately 0.2–0.8) improved efficiency but required fine tuning.
This study used a value of
to guarantee effective expansion performance in congested interior situations. This conservative selection proved beneficial when integrated with B-spline smoothing and curvature-aware tracking, as evidenced in
Section 5.
Future research may investigate the adaptive adjustment of this parameter in relation to environmental complexity or the dynamics of the robotic platform.
5. Simulation Experiment
To systematically assess the applicability and performance benefits of the path planning and execution methodology proposed in this study across various scenarios, experiments are conducted at three distinct levels: search efficiency, path quality, and trajectory execution feasibility. The experimental framework is organized into four components:
(1) A comparative analysis of the search performance of three algorithms under varying obstacle density conditions while maintaining a constant map size;
(2) An examination of how changes in map size affect the performance of each algorithm under a fixed obstacle density;
(3) An investigation into the trend of node expansion for the enhanced JPS algorithm across different environmental combinations;
(4) An evaluation of the enhanced JPS algorithm’s capacity to improve path smoothness and executability through the integration of a B-spline and RPP controller within the ROS simulation environment.
To assess the performance of the algorithm in a thorough manner, this study employs the following evaluation metrics: path length, planning time, number of expanded nodes, maximum and average curvature, as well as maximum and average turning angles.
5.1. Experimental Configuration
The algorithm comparison experiments were conducted on the Windows 11 (Microsoft Corporation, Redmond, WA, USA) operating system, while the system simulation experiments were performed on the Ubuntu 20.04 platform (Canonical Ltd., London, UK). The simulation utilized the TurtleBot3 Waffle Pi robot model (ROBOTIS, Seoul, Republic of Korea), as illustrated in
Figure 13, and to ensure the reproducibility and clarify the experimental settings, the detailed parameters of the TurtleBot3 Waffle Pi used in the simulation are summarized in
Table 1. These include its kinematic structure, maximum speed, wheel configuration, and sensor specifications. All experiments were executed on a standardized hardware platform with detailed specifications provided in
Table 2.
5.2. Comparison of Algorithm Performance for Different Barrier Densities
To assess the robustness and adaptability of various path-planning algorithms in intricate environments, this study establishes three levels of obstacle densities: low (0.1), medium (0.15), and high (0.2), while maintaining a constant map size of 25 × 25. The research involves a comparative analysis of the A* algorithm, the traditional Jump Point Search (JPS) algorithm, and an enhanced version of the JPS algorithm. For each density configuration, multiple sets of obstacle map instances are generated randomly, and the experimental outcomes are averaged to improve statistical reliability and confidence. The results of path generation for the three algorithms across different obstacle density conditions are illustrated in
Figure 14,
Figure 15 and
Figure 16. In these figures, green indicates the start point, and red indicates the goal point. The same color scheme is applied consistently throughout the subsequent figures.
The statistical findings presented in
Table 3 and
Figure 17 indicate that an increase in obstacle density leads to a notable rise in both the number of expansion nodes and the planning time for the A* and traditional JPS algorithms. Specifically, in high-density scenarios, the traditional JPS algorithm expands the number of nodes to a maximum of 146, resulting in a planning time of 2.45 ms, which signifies a marked decline in search efficiency. In contrast, the enhanced JPS algorithm effectively reduces the search space within the same environment, limiting the number of expanded nodes to 48 and decreasing the planning time to 1.28 ms, representing reductions of approximately 67% and 47%, respectively. This improvement in performance can be attributed to the implementation of a density-aware adaptive heuristic function that dynamically modifies the heuristic term based on the local distribution of obstacles, thereby minimizing unnecessary expansions while preserving path coherence. Although the path lengths generated by the improved JPS may be slightly longer in certain scenarios compared to the traditional JPS, this is primarily due to the algorithm’s tendency to circumvent obstacle edges and regions of high density during the search process. This approach enhances the feasibility of the paths and increases the safety margin, resulting in a minimal impact on the overall planning performance. To prevent redundancy, any similar phenomena that arise in the following sections will be considered as stemming from the same underlying cause and will not be reiterated.
5.3. Algorithm Performance Comparison for Different Map Sizes
In order to evaluate the scalability and stability of each algorithm under different environmental scales, this section examines three different map sizes, which are 25 × 25, 50 × 50, and 100 × 100, respectively, while keeping the obstacle density constant at 0.15. The path length, planning time, and number of expansion nodes will be compared under these different map sizes for A*, traditional JPS, and improved JPS. This analysis aims to clarify the performance trends of algorithms in large-scale search spaces. The results of the path generation for the three algorithms across the specified map configurations are illustrated in
Figure 18,
Figure 19 and
Figure 20.
As illustrated in
Table 4 and
Figure 21, the expansion of map size results in a pronounced increase in both the number of expansion nodes and planning time for the A* and traditional JPS algorithms, which is particularly evident in the 100 × 100 scenario. The expansion nodes for these two algorithms reach 1630 and 957, respectively, indicating a substantial rise in search costs. In contrast, the enhanced JPS algorithm exhibits a more consistent performance in terms of expansion scale and time efficiency on larger maps, with the number of expansion nodes limited to 154 under identical conditions and the planning time maintained at 4.16 ms. This demonstrates the improved JPS algorithm’s superior scalability and computational stability.
5.4. Trend Analysis of Expanded Nodes for Improved JPS Algorithm Under Multivariate Conditions
In order to evaluate the expansion performance of the enhanced JPS algorithm in various environmental configurations, this study built a two-dimensional experimental framework to conduct relevant experiments with map size and obstacle density as the main variables. The analysis process covers quantitative statistics on the number of extended nodes under five different map sizes and five different obstacle ratios. The obtained data are presented in the form of a three-dimensional surface map, as shown in
Figure 22. Research results show that the number of extended nodes will gradually increase with the increase in map size and obstacle density, which means that these two variables have a cumulative impact on search complexity. Further analysis shows that when the map specifications are controlled, the impact of obstacle density on the number of extended nodes is more significant. This observation supports the ability of the density-aware heuristic to adaptively adjust to local environmental complexity.
The overall surface structure presents a smooth texture, and expansion control is maintained at a stable level. This shows that the improved JPS algorithm can effectively handle unnecessary flower clusters even in complex environmental conditions. It demonstrates the significant scalability and robustness of the algorithm, highlighting its huge potential in terms of environmental adaptability and practical engineering applications.
5.5. Path Performance Evaluation of the Complete System in a Simulation Environment
To assess the execution performance of the proposed method and its control efficacy in practical scenarios, this section develops two representative indoor environment maps (Map_1 and Map_2) utilizing the ROS simulation platform, as illustrated in
Figure 23. Additionally, three distinct types of representative paths are established: task 1 (short-range), task 2 (medium-range), and task 3 (long-range). For each task group, a comparison is made between two system configurations: one in which the improved JPS algorithm generates paths for direct execution, and another in which the improved JPS algorithm is integrated with B-spline path smoothing and the RPP controller for enhanced trajectory optimization and tracking.
Figure 24 shows the effect of trajectory execution in the simulation environment for a typical task under the two maps. In the figure, the blue path represents the original planning path generated by the improved JPS algorithm, the green path is the smooth trajectory based on the third-order B-spline reconstruction, and the red dots are the look-ahead point positions computed in real time by the RPP controller during the execution process. In contrast, the baseline path has an obvious folding structure in the corner region, while the optimized scheme is significantly smoother in the turning section and makes the robot control commands more stable and natural by dynamically adjusting the look-ahead point position.
The statistical findings are presented in
Table 5, which details the primary execution metrics, including the path length, maximum and average curvature, and maximum and average turning angle. The optimized system demonstrates superior performance relative to the baseline solution across all curvature and corner metrics for each task and map configuration, particularly in scenarios characterized by greater path complexity, such as tasks 2 and 3. For instance, in task 3 of Map_2, the optimization strategy results in a reduction in the maximum curvature from 7.388 to 3.542 and a decrease in the maximum rotation angle from 0.785 rad to 0.701 rad. Additionally, both the mean curvature and average rotation angle exhibit significant reductions, thereby enhancing the geometric continuity of the trajectory and the smoothness of control. Although there is a slight increase in path length compared to the baseline scheme, this can be attributed to the inherent structural redundancy introduced during the smooth reconstruction process. This redundancy contributes positively to the executability and tracking stability of the path, thereby aligning with the actual control requirements.
Figure 25 and
Figure 26 illustrate histograms depicting the mean curvature and mean corner, respectively, to provide a more detailed quantification of the differences in smoothness and controllability between the two schemes across various tasks. The data presented in these charts show that the optimization scheme exhibits a reduction in overall curvature and a reduction in direction change across all path tasks, which confirms the effectiveness of the trajectory reconstruction process and adaptive control mechanisms in mitigating high-frequency changes in attitude.
Beyond enhancing curvature continuity and mitigating sudden directional changes, the application of B-spline smoothing results in a slight increase in path length attributable to the inherent characteristics of curve fitting. This trade-off is anticipated, given that achieving smooth transitions necessitates the introduction of additional curvature between critical points. Nonetheless, the extent of the path lengthening remains within acceptable limits and is warranted by the demonstrated improvements in tracking stability and control efficacy [
30].
6. Discussion
The experimental outcomes demonstrate that the proposed planning and control system is effective across multiple evaluation dimensions. In particular, the improved JPS algorithm significantly decreases both the number of expanded nodes and the total planning time with advantages becoming more apparent as map complexity increases. The findings demonstrate the efficacy of the density-sensitive heuristic in effectively guiding the search process while preserving the capacity to explore globally feasible paths.
While B-spline smoothing results in a slight augmentation in path length, it provides significant advantages for geometric smoothness. The generated trajectories demonstrate less abrupt changes in heading and more gradual curvature transitions, hence substantially improving path-tracking stability. The structure-guided smoothing approach preserves essential path details while adhering to the robot’s motion limitations.
The curvature-adaptive Regulated Pure Pursuit controller enhances the accuracy and resilience of trajectory tracking, especially in regions with significant curvature. The controller enhances stability in diverse settings by dynamically modifying forward velocity and look-ahead distance in reaction to local geometric alterations, adapting more proficiently to intricate path configurations.
However, the existing method is tailored for static and completely known grid-based systems, potentially constraining its practical application in dynamic or partially observable contexts. Future endeavors will concentrate on incorporating sophisticated sensing modules and real-time replanning mechanisms to enhance adaptability. Moreover, improving computing efficiency would be crucial for implementing the suggested system on resource-constrained embedded robotic platforms.
7. Conclusions
This research provides a comprehensive framework for the path planning and control of indoor mobile robots, integrating an improved JPS algorithm, B-spline-based trajectory smoothing, and a curvature-adaptive RPP controller. The proposed framework solves the major shortcomings of traditional JPS by introducing density-aware heuristics and adaptive extension mechanisms, and it jointly improves planning efficiency and path feasibility in dense environments. The B-spline smoothing component identifies structure-dependent control points from the sequence of jump points to generate a geometrically continuous trajectory that conforms to curvature constraints, ensuring it is suitable for tracking purposes. During operation execution, the RPP controller adjusts the look-ahead distance and line speed based on local curvature, improving tracking stability and response capabilities.
The results of the simulation indicate that the proposed methodology surpasses the baseline approach in terms of planning efficiency, path smoothness, and tracking accuracy. The framework has been validated within ROS-based environments, underscoring its practical significance for real-world robotic applications.
It is essential to acknowledge that the existing methodology is limited to static environments and is predicated on the assumption of comprehensive map knowledge. Subsequent research endeavors will aim to broaden the algorithm’s applicability to dynamic environments by incorporating real-time perception, online re-planning, and coordination strategies for multi-robot systems. This advancement is expected to improve adaptability and robustness in intricate operational contexts.