$$\rightleftharpoonup{xx}$$
$$\longleftharp{xx}$$,
$$\longrightharp{xx}$$,
Evaluation of improved ORB-SLAM2
Feature extraction experiment
To evaluate the effectiveness of an RGB-D depth camera in practical scenarios, a feature point extraction experiment was conducted. The test was designed using two distinct background environments, each varying in object color and brightness to simulate real-world visual complexity.
Both the proposed improved extraction method and the conventional baseline approach were applied to the same set of test conditions. The number and spatial consistency of the extracted feature points were recorded and analyzed as primary performance indicators.
As shown in Table 1, the number and spatial consistency of the extracted feature points were recorded and analyzed as primary performance indicators. The improved method has increased the percentage of feature points recognized by 25.95%, and the uniformity of feature points has improved by 24.36%. The experimental results, presented in Figure 8, illustrate the comparative performance of both methods. Notably, the improved method yielded a higher number of feature points with enhanced stability across variable lighting and color conditions.
Time-to-completion note: Feature extraction was executed in real time. For each 640 x 480 frame, the complete extraction pipeline (including quadtree filtering and saliency ranking) required approximately 18 ms to 24 ms on a 2.4 GHz quad-core CPU. This allows the system to operate at 40 to 55 FPS, sufficient for real-time SLAM applications.
Experiments on dense point cloud map construction
To address the limitations of sparse point cloud maps in representing continuous scene features and dense obstacle regions, we implemented an enhanced mapping module based on the ORB-SLAM2 framework. Specifically, we incorporated a dense mapping thread to improve environmental perception and navigational robustness in confined indoor spaces.
The mapping experiment was conducted using a differential-drive wheeled mobile robot platform. During operation, the robot navigated a controlled indoor environment while continuously acquiring visual data. The RVIZ visualization tool was used to render real-time mapping output. As illustrated in Figure 9, the green box indicates the current pose of the robot, blue boxes represent the estimated pose of keyframes, and red dots correspond to detected visual features. A complete indoor environment measuring 1.5 m x 6 m was densely reconstructed in approximately 2.5 min to 3 min of runtime. During the process, the system captured approximately 2000-3000 keypoints per frame and accumulated 180-220 keyframes during the reconstruction process. A representative mapping result under well-lit indoor conditions is shown in Figure 10. The red arrow identifies the robot's forward direction at the time of capture. The dense point cloud generated by the proposed method clearly delineates environmental structures, including obstacle contours and spatial geometry.
Compared to conventional sparse mapping, the dense point cloud demonstrates significant improvements in detail fidelity and environmental completeness. This enriched representation supports downstream tasks such as motion planning, obstacle avoidance, and spatial interaction with higher reliability and precision.
Path planning algorithm evaluation
Improved RRT simulation and analysis
To empirically validate the performance of the proposed enhanced RRT-B algorithm, a series of simulation experiments was conducted. The experiment compares four path planning methods: the conventional RRT, the RRT*, the RRT with adaptive step-length and target bias, and the proposed RRT-B, which integrates cubic B-spline smoothing. All algorithms were evaluated within the same simulated environment using 40 independent trials per method. The evaluation of the proposed path planning components was carried out in two complementary stages. Initially, algorithm feasibility and performance were assessed through simulation using the PyCharm development environment. This setup allowed controlled comparisons among baseline and improved methods under consistent environmental parameters. Subsequently, the algorithms were integrated into a full SLAM-based navigation system deployed on a mobile robot platform. In this real-world setting, the robot utilized the enhanced ORB-SLAM2 module for mapping and localization while executing path planning and real-time obstacle avoidance based on the proposed RRT-B and TEB algorithms.
The evaluation metrics include total iteration count, path length, number of path nodes, and path planning time. A summary of the simulation setup and parameters is provided in Table 2. Figure 11 presents the visual outcomes of path generation for each algorithm in an identical simulation scenario. In Figure 11A, the standard RRT demonstrates rapid node expansion but results in irregular, unsmoothed paths with high computational cost. Figure 11B shows RRT*, which improves path quality through local rewiring and optimization. Figure 11C visualizes the adaptive RRT, where dynamic step-length adjustment enhances convergence in complex regions while target bias prevents unnecessary expansions.
The proposed RRT-B method, shown in Figure 11D, applies cubic B-spline smoothing to further optimize path continuity, especially at turns. This significantly reduces abrupt path changes and oscillations, making the algorithm more suitable for real-world navigation tasks that demand high maneuverability.
Quantitative results are detailed in Table 3. Compared with conventional RRT, the enhanced RRT-B achieves an 8.14% reduction in path length, an 85.70% reduction in the number of nodes, a 12.10% decrease in effective search range, and a 16.89% decrease in convergence time. When benchmarked against RRT*, RRT-B reduces path length by 11.35%, node count by 76.09%, lessens the search range by 12.28%, and shortens convergence time by 52.32%.
These findings confirm that the proposed enhancements improve path quality and continuity and significantly optimize computational efficiency. The integration of adaptive step-length control, target biasing, and B-spline smoothing allows the RRT-B algorithm to achieve a robust balance between efficiency and path feasibility.
TEB algorithm enhancement and results
This section demonstrates the effectiveness of the enhanced Timed-Elastic Band (TEB) algorithm through a series of simulation experiments. All tests were conducted within the Python 3.9.18 programming environment, executed on Windows 11. The simulations leveraged a 2D environment for robot navigation using the PyCharm-based visualization tool. As shown in Figure 12, the robot is tasked with moving from a defined start point to a target location while dynamically avoiding obstacles represented by black squares. The 2D robot (visualized as a yellow rectangle) starts moving. During navigation, the robot detects nearby obstacles and begins path re-planning. The enhanced TEB algorithm dynamically adjusts the trajectory in real time to avoid collisions, continuously generating new path segments as needed. As the robot progresses, further path adjustments are made to optimize smoothness and maintain obstacle clearance. The system actively responds to evolving environmental inputs, refining the trajectory accordingly. The robot successfully completes its navigation task, reaching the goal while avoiding all obstacles. The resultant path remains smooth, and no excessive detours or sudden stops are observed, indicating the robustness of the obstacle avoidance mechanism.
Throughout the simulation, the robot demonstrates effective local planning and dynamic obstacle avoidance. The enhanced TEB framework enables real-time reactivity, allowing the robot to adapt its path based on environmental changes. This validates the proposed method's capability to ensure safe, efficient navigation in the presence of unknown, dynamic obstacles.
The velocity profiles of the robot during path planning in a dynamic environment are illustrated in Figure 13. In the initial stage, the robot rapidly accelerates to a steady linear velocity of approximately 0.04 m/s, indicating a relatively unobstructed path. Between approximately 2 s and 7 s, fluctuations in linear velocity and significant variations in angular velocity are observed, suggesting that the robot detected dynamic obstacles and executed deceleration and obstacle avoidance maneuvers. After 7 s, the linear velocity stabilizes and the angular velocity approaches zero, indicating that the robot successfully avoided the obstacles and resumed uniform linear motion. In the final stage, a sharp decrease in velocity and changes in angular velocity suggest that the robot reached its target and autonomously came to a stop, marking the end of the task.
Indoor mapping in real environments
To evaluate the effectiveness of the proposed enhanced mapping strategy, an experiment was conducted in a standard indoor office environment, as shown in Figure 14. The experimental site measures approximately 6 m in length and 1.5 m in width, replicating a typical narrow and confined space common in indoor robotics applications. The full mapping process of the 9 m² test area took approximately 5.8 min, including feature extraction: 1.5 min; keyframe insertion and pose estimation: 2.1 min; dense map reconstruction: 2.2 min. All computations ran onboard in real time at 5 fps for RGB-D input.
The mapping performance of the enhanced ORB-SLAM2 algorithm was benchmarked against the conventional ORB-SLAM2. Evaluation metrics included map completeness, detail fidelity, and the continuity of extracted feature structures.
Prior to the operation, network communication was established by manually modifying the configuration file to assign a static IP address to the host. Once connected, the robot was remotely operated through the host keyboard to execute the mapping sequence. To ensure mapping stability and accuracy, the following guidelines were strictly followed during experimentation: maintain a consistent and moderate robot speed to avoid tracking failure due to motion blur; perform multiple short loop closures to counteract cumulative drift and enhance loop detection frequency; avoid frequent in-place rotations or long stationary pauses, which may lead to visual tracking loss or pose estimation errors.
The robot incrementally constructed the map of the office environment. The mapping process is visualized in Figure 15, showing the robot's trajectory and progressive environmental reconstruction. Figure 16A depicts the final map created using the conventional ORB-SLAM2 method, after the robot navigated the entire space at a steady pace. Notably, distortion and false structures can be observed in the lower-left region. These do not correspond to any actual obstacles and reflect typical inaccuracies also observed during prior Gazebo simulations. Figure 16B presents the output from the proposed improved mapping method. The visualization uses color-coded symbols for clarity: black outlines represent environmental boundaries, black patches denote detected obstacles, such as chairs, and the white square marks the robot's real-time position.
The comparison shows that the enhanced approach substantially improves spatial representation and accuracy. By eliminating the phantom structures found in the traditional method, it provides a map that more faithfully reconstructs the true geometry of the environment. This results in a more reliable base for downstream tasks such as localization, navigation, and obstacle avoidance.
Autonomous navigation performance analysis
This section evaluates the proposed navigation framework with respect to two primary objectives: path planning assessment and trajectory execution verification. The experiments are conducted on the preconstructed environmental map using the enhanced ORB-SLAM2 method. A specific target point is designated on the map, and the robot is instructed to navigate autonomously from its current position toward the target. Both global and local trajectories are continuously monitored and visualized.
The first test case involves selecting a target position located near the robot's starting location. As shown in Figure 17, the green trajectory denotes the global path, calculated by the global planner using the occupancy grid map. The red trajectory indicates the local path, which is dynamically adjusted in real-time based on the proximity to obstacles and other constraints. The curvature observed in the local path near environmental boundaries highlights the robot's obstacle-avoidance capabilities. This interaction between local and global path planning modules ensures both safety and efficiency during navigation.
Figure 18 presents the robot's initial and final positions for this test. There is negligible positional deviation observed at the start and end points, demonstrating accurate pose estimation and smooth execution. No visible jitter, oscillation, or trajectory deviation was recorded. These results validate the system's reliability and high-precision path-tracking performance in close-range navigation scenarios.
In the second test case, the target point is placed at a significantly farther distance from the robot's initial location. Based on the spatial layout, the Euclidean distance between the initial and target positions is approximately 3.62 m, which qualifies as long-distance navigation within the tested scenario. The results are visualized in Figure 19A, where the red trajectory represents the global path generated by the global planner, and the green trajectory indicates the local path continuously adjusted by the local planner in response to environmental dynamics. Figure 19A shows that the path overlaps between the global and local paths are minimal in areas with dense environmental complexity. These regions contain dynamic obstacles, variable terrain constraints, and collision risks. The robot continually adapts its local path to account for these real-time changes, as reflected in the frequent trajectory updates along the path.
In contrast, as depicted in Figure 19B, regions with sparse obstacle distribution show strong alignment between the global and local paths. This suggests that in less cluttered environments, the robot can efficiently follow the pre-planned global trajectory without frequent re-routing. This capability significantly reduces computational overhead and promotes faster navigation through wide-open spaces.
Overall, the results demonstrate that the proposed path planning and execution framework enables robust, real-time navigation. It adapts effectively to both dynamic and static conditions while preserving safety margins and optimizing execution efficiency. The combination of global-local path coordination, dynamic obstacle avoidance, and precise path tracking renders this method suitable for a broad range of real-world indoor robotic navigation applications.

Figure 1: Schematic diagram of a differential drive robot platform in ROS. This figure presents in detail the complete system architecture of a differential drive robot implemented under the framework of the Robot Operating System (ROS). Please click here to view a larger version of this figure.

Figure 2: Quadtree feature point extraction. This figure demonstrates the algorithm process of adaptively partitioning the input image using a Quadtree data structure to efficiently extract and uniformly distribute feature keypoints. Please click here to view a larger version of this figure.

Figure 3: Keyboard layout for manual robot control during mapping the robot. This figure clearly labels the specific key layout on a keyboard used for the teleoperation of a robot, facilitating its movement to assist in environmental mapping tasks. Typically, arrow keys are used to control forward, backward, and rotational movements, and may include additional function keys for starting/stopping the mapping process or saving the map. Please click here to view a larger version of this figure.

Figure 4: Dense mapping thread flow diagram. This figure depicts the complete workflow of the dedicated thread for dense point cloud map generation, presented in a flowchart format. Please click here to view a larger version of this figure.

Figure 5: Flow chart of the ICP algorithm. Using a standard flowchart, this figure elaborates the core procedures and iterative cycle of the Iterative Closest Point (ICP) algorithm for point cloud registration. Please click here to view a larger version of this figure.

Figure 6: Initial position mapping effect when starting dense point cloud mapping. This figure demonstrates the initial mapping outcome upon algorithm activation: successful processing and integration of the first few sensor data frames captured from the robot's initial pose. Please click here to view a larger version of this figure.

Figure 7: Constraint relationship graph of the improved TEB planner. This figure visually represents, via a graph model, the complex interrelationships between multiple constraints in the optimization problem of the enhanced Timed Elastic Band (TEB) planner. These constraints collectively define trajectory feasibility, safety, and smoothness. The optimization involves adjusting a sequence of Path Point states (Si, Sj) to generate a feasible and optimal trajectory (fpath). Key factors considered include the distance to obstacles (fdis), the temporal information (Ti) associated with each point, and the overall objective to maintain a safe distance from any Obstacle (fob). Please click here to view a larger version of this figure.

Figure 8: Comparison of feature point extraction before and after improvement. (A) Traditional algorithms; (B) Optimized algorithms. A side-by-side comparison visually highlights the improved algorithm's superior performance in feature point distribution uniformity, reduced clustering, and stable feature count. Please click here to view a larger version of this figure.

Figure 9: Visualization of the RVIZ mapping process. This figure displays the real-time mapping monitoring interface within RVIZ, the standard ROS visualization tool. Please click here to view a larger version of this figure.

Figure 10: Dense point cloud map. This figure presents the final high-resolution, high-precision 3D dense point cloud map generated by the algorithm, which accurately reconstructs the experimental environment's geometry with rich detail for subsequent navigation, obstacle avoidance, and 3D reconstruction tasks. Please click here to view a larger version of this figure.

Figure 11: Comparison of path planning results of different algorithms. (A) Traditional RRT algorithms; (B) RRT-Star algorithm; (C) Improved RRT algorithm; (D) B-spline path smoothing. This figure illustrates the complete path optimization process: from the initial RRT-generated path, through RRT* optimization and improved RRT refinement, to the final smooth, safe, and executable trajectory after B-spline smoothing. Please click here to view a larger version of this figure.

Figure 12: Dynamic obstacle avoidance process of the improved TEB algorithm. (A) time = 4s; (B) time = 8s; (C) time = 12s; (D) End. The figure shows how the robot (typically represented as an arrow) dynamically replans its local trajectory based on predicted obstacle motion, smoothly and safely circumventing obstacles before returning to the original global path. Please click here to view a larger version of this figure.

Figure 13: Linear and angular velocity profiles during obstacle avoidance in dynamic environments. This figure quantitatively displays, using time-velocity curves, the continuous variation of robot control commands (linear velocity v and angular velocity ω) during the dynamic obstacle avoidance process shown in Figure 12. The curves reflect control strategies for smooth avoidance, requiring continuity without abrupt changes to ensure stability and comfort. Please click here to view a larger version of this figure.

Figure 14: Environment of the office. This figure is a real-world photograph of an office environment, showing the actual physical setting where mapping and navigation experiments were conducted, including workstations, desks, chairs, and pathways. Please click here to view a larger version of this figure.

Figure 15: Schematic diagram of ORB-SLAM2 office map. This figure is a schematic representation of an office map generated by the ORB-SLAM2 system, typically containing not only point clouds or feature maps but also keyframes with their covisibility relationships or pose graph, representing the map's structure and optimization connections. Please click here to view a larger version of this figure.

Figure 16: ORB-SLAM2 map construction. (A) Traditional ORB-SLAM2 mapping; (B) Improved ORB-SLAM2 mapping. This figure demonstrates the performance differences in mapping before and after algorithm improvements, typically reflected in map completeness (reduced gaps), accuracy (reduced drift), and robustness (performance in low-texture areas). Please click here to view a larger version of this figure.

Figure 17: Robot navigation experiment. (A) Initial position; (B) Location of the target point. This figure indicates the start point of the robot's global path planning task and the target point set by the user via the human-machine interface within the map. Please click here to view a larger version of this figure.

Figure 18: Schematic diagram of the robot's position. (A) Schematic diagram of the starting point of the robot. (B) Schematic diagram of the end point of the robot. Presented in schematic or map annotation form, this figure precisely displays the coordinate positions of the start (A) and end (B) points for the robot navigation task, along with the robot's orientation (pose) at these locations. Please click here to view a larger version of this figure.

Figure 19: Schematic diagram of long-distance navigation of the robot. (A) Schematic diagram of the initial location path. (B) Schematic diagram of the path of the movement process. This figure demonstrates the path planning status for the robot's long-distance navigation task. Please click here to view a larger version of this figure.