“…Each particle will be the UAV mass centre itself in one of its states, its location and orientation is defined by six parameters: x, y, z, v, γ, ψ and all the particles start from the point (x 0 , y 0 , z 0 , v 0 , γ 0 , ψ 0 ), and fly in the virtual space according to motion Equations (7) to (12). In every time step (∆t) PSO makes each particle move ahead one step, stores the state of the particle (location, orientation) in an array like (x, y, z, v, γ, ψ), and calculates the cost value of the current location.…”