Skip to main content
. 2025 Apr 16;25(8):2502. doi: 10.3390/s25082502
Algorithm 5 Initialize UAVs and Sensors
Input:
  • N: Number of UAVs.

Output:
  • U: UAVs’ current information, including assigned task list, velocity, load and current location.

  • 1:

    for i=1 to N do

  • 2:

        Initialize the assigned task list of Ui as empty and set its location to the station’s coordinates.

         aiϕ.

         loci Station’s coordinates.  

  • 3:

        Initialize Ui maximum load and velocity.

         Li Given max load value.

         vi Given velocity value.  

  • 4:

        Mount Ui platform with a Lidar sensor for detection purposes.

         lidari Mount(LidarSensor).

  • 5:

    end for