A two-level closed-loop calibration framework is proposed to reduce odometry scale errors during motion and pose drift during stationary periods in Mecanum-wheeled mobile robots. At the upper calibration level, the planar displacement between the initial and final poses is calculated using the L2-norm, which reduces the influence of lateral deviation on distance measurements based on a single coordinate axis. Rotational displacement is obtained by accumulating normalized angular increments, thereby avoiding discontinuities when the yaw angle crosses the ±π boundary. A relay controller with a tolerance deadband is also introduced to reduce static-friction-induced stalling and oscillation near the target during low-speed calibration. At the lower odometry interface, the covariance assigned to wheel odometry measurements is adjusted according to the commanded zero-velocity state. During stationary periods, this adjustment increases the contribution of near-zero velocity measurements and limits the effect of residual velocity estimates and sensor noise on the fused pose. The identified longitudinal and rotational compensation factors are then updated online in the dead-reckoning node through an ROS 2 service. Unlike conventional ZUPT implementations, the proposed method does not require an additional zero-velocity pseudo-measurement node. Experiments were conducted on three near-horizontal surfaces: ceramic tile, epoxy resin, and asphalt. Across 720 bidirectional in-place rotation trials, the angular Error Reduction Rate ranged from (59.13%) to (96.58%). In 540 straight-line trials covering nine combinations of surface type and target distance, the overall mean absolute error decreased from 53.22 mm before calibration to 9.69 mm after calibration. Intermittent stop-and-go experiments were further performed using the EKF, UKF, RCKF, and a graph-based SLAM optimization framework implemented by slam_toolbox. For each estimation back-end, the estimated trajectory was evaluated by calculating its deviation from the corresponding synchronized /odom trajectory under the fixed-covariance and proposed ZUPT-based adaptive-covariance configurations; /odom was used as a common comparison baseline rather than as an absolute localization ground truth. The adaptive covariance strategy reduced the positional RMSE by (19.38%–67.44%) across the evaluated filtering back-ends. These results show that the proposed framework can reduce both motion-dependent odometry scale errors and stationary pose drift under the tested surface conditions.
Multi-target path planning for Automated Guided Vehicle (AGV) in complex logistics environments requires balancing planning efficiency, obstacle avoidance capability, and trajectory smoothness. To address these challenges, this paper proposes a bi-level collaborative framework integrating Particle Swarm Optimization (PSO) with the Bidirectional Rapidly Exploring Random Tree (Bi-RRT). The framework unifies adaptive sampling, online parameter optimization, and trajectory smoothing within a single planning architecture. Specifically, the framework constructs a five-dimensional particle encoding that includes the expansion step size and multi-level strategy switching thresholds. During the Bi-RRT expansion process, an expansion-failure-driven adaptive sampling mechanism is introduced to enhance search performance in cluttered environments, while local-density-based suppression and directional dispersion are employed to reduce redundant exploration. In addition, a lightweight PSO-based monitoring mechanism enables online adaptive parameter adjustment. For multi-target scheduling, a greedy heuristic based on a hybrid weighted graph determines the visitation sequence. Trajectory smoothness is further improved using cubic B-spline interpolation combined with bounded perturbation optimization. Experimental results demonstrate that the proposed framework improves planning efficiency while maintaining stable performance across environments with different obstacle densities. These results demonstrate the effectiveness of the proposed framework for multi-target AGV path planning in complex warehouse environments.