| 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 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 () Construct position observation equation of UGV INS at time based on Equation (10) Else if () Construct position observation equation of UGV INS at time based on Equation (15) Else if () Construct position observation equation of UGV INS at time based on Equation (20) 5. State optimal fusion estimation based on AEKF 6. Optimal state estimation value of UGV |