| Algorithm 1 Mobility Control method for end-to-end communication |
| Require:, . |
| 1: for do |
| 2: Predict user positions at using Kalman Filter. |
| 3: Estimate uplink channel parameters with the approximately model defined in Equation (33) using the LSE algorithm, based on observations during time . |
| 4: . |
| 5: UAV flies towards during time interval with . |
| 6: end for |