Onboard trajectory tracking of hexarotor unmanned aerial vehicles (UAVs) degrades when reference-induced phase lag, actuator saturation, wind, and communication delay act together. This paper proposes a cascaded proportional-integral-derivative (PID) architecture for a PX4/ROS 2 companion-computer implementation, augmented by reference-acceleration feed-forward and a vector anti-windup law that maps the thrust-saturation residual into all three world-axis integral channels. A six-degree-of-freedom Newton-Euler model was simulated with a full-rank control-allocation matrix, first-order motor dynamics, a 250 Hz attitude loop, a 50 Hz outer loop, and a 20 ms delayed noisy state. Twenty common-random-number Monte Carlo runs were evaluated in three saturation regimes against a tuned super-twisting sliding-mode benchmark. Under a nominal thrust envelope, the augmentation reduced the mean three-dimensional root-mean-square error (RMSE) by 11.5% and the peak error by 15.9%; under a tighter envelope, it reduced RMSE by 26.1% and the maximum integral-state norm by 77.0%. Beyond the envelope, the unprotected baseline diverged in all twenty runs while the proposed controller completed every mission. The augmentation added 31 scalar operations per cycle and no additional state. Although the simulation embeds realistic delay, noise, and actuator limits, the results remain purely numerical, so hardware-in-the-loop and flight testing remain necessary before any operational claim.
Copyrights © 2026