Research Article

Energy-Optimized Consensus Formation Control for the Time-Delayed Bilateral Teleoperation System of UAVs

Algorithm 2

Generation of the 3D optimal persistent graph in obstructed environment.
Generation of the min-weighted rigid graph in 3D space;
Detection of the environment;
Screening the expected rigid graphs to meet environmental constraints;
Calculate the adjacency matrix A = [aij] and the connectivity of each vertex d(i);
Establish the subspaces according to the contour map and the number of UAVs in subspaces is ni;
Establish the initial directed edge of the leader and any of its followers in the first subspace;
Set the out-degrees of the vertexes of the initial directed edge to 2;
forspace = 1 : subspaces
fori = 1 : ni
  ifd(j) = 2, d(k) = 2, and aij = aik = 1,
   Establish the directed edge Vij, Vik and d(k) = 2;
   if for any vertex i, the out-degrees d(i) = 2
   The 3D optimal persistent graph is generated;
   end
  end
end
end