Skip to main content
. 2024 Jul 13;24(14):4543. doi: 10.3390/s24144543
Algorithm 1. The pseudocode of proposed adaptive cooperative localization method for heterogeneous air-to-ground robots based on relative distance constraints
1.  Initialization
     Cooperative network time synchronization and state initialization X0,P0
2.  Set adaptive fusion threshold λ based on dynamic change in number of known-position UAVs in dynamic cluster cooperative network
3.  State recursive equation of UGV based on Equation (1)
4.  Construct position observation equation of UGV INS based on the different number of known-position UAVs in cluster cooperative network
     If (λ=λ1)
     Construct position observation equation of UGV INS at time tk based on Equation (10)
     Else if (λ=λ2)
     Construct position observation equation of UGV INS at time tk+1 based on Equation (15)
     Else if (λ=λ3)
     Construct position observation equation of UGV INS at time tk+2 based on Equation (20)
5.  State optimal fusion estimation based on AEKF
6.  Optimal state estimation value of UGV