Visual-inertial navigation system (VINS) and Global Navigation Satellite System (GNSS) are key technologies in urban navigation, commonly used in drones and self-driving cars. VINS, however, suffers from drift errors over time, while GNSS often experiences signal blockage effects in complex urban environments, leading to unreliable positioning. To address this, we propose a GNSS-visual-inertial integrated navigation system for drift-free and robust positioning in such environments. This system integrates GNSS real-time kinematic, inertial measurement unit (IMU) pre-integration, and visual features within a factor graph optimization framework. To address the instability of GNSS signals, a dual-layer identification algorithm based on a dynamic Weibull distribution velocity threshold and a terrain-constrained elevation abrupt change confidence model is proposed for robust GNSS screening. Furthermore, a dynamic multi-source weight balancing mechanism leveraging visual residuals is introduced, which quantifies visual measurement quality via a segmented covariance adjustment function and adaptively adjusts the measurement weights of GNSS, visual, and IMU, thereby enhancing the system’s robustness. The effectiveness of our system is validated through real-world vehicle experiments in multiple urban scenarios. Results show that the proposed system outperforms VINS-Fusion, with a positioning root mean square error (RMSE) of 0.32 m and 1.03 m in two campus scenes, representing improvements of 69.23 and 69.97 , respectively. In complex urban environments, the system achieves 98.5 positioning availability (RMSE m), compared to 76.2 for VINS-fusion.
Unmanned aerial vehicles (UAVs) are increasingly deployed in urban areas, fueling demand for reliable low-altitude UAV monitoring. However, challenges like occlusion, cluttered backgrounds, and variable illumination often degrade detection accuracy and system stability. First, to improve spatial feature extraction under background noise, we introduce a pinwheel-shaped convolution (PConv) module. By leveraging multi-directional receptive fields, PConv enhances spatial detail capture while mitigating noise-induced information loss. Then a novel multi-dimensional multi-head attention module is proposed, which not only emphasizes intra-channel information but also models inter-channel dependencies, thereby strengthening cross-channel feature interactions and improving sensitivity to small UAV targets under complex conditions. In addition, we construct a dedicated UAV-bird dataset covering varied lighting and weather conditions, providing a realistic benchmark for systematic, measurement-based evaluation. Experiments demonstrate that our method achieves 90.0% Precision (+4.2%), 93.4% Recall (+7.1%), and 95.8% mAP (+6.6%), with consistent improvements on public benchmarks and scalability across different baselines. The framework has also been validated in real-world deployments, offering a cost-effective, measurement-informed, and stable solution for urban low-altitude UAV surveillance.