function q = AGV_sim1(G,Ex)
%

if isempty(Ex)
    return
end
N = G.N;
E = G.E;
edge_length = norm(N(1,:)-N(2,:));

[num_Ex,~] = size(Ex);
for e = 1:num_Ex
    n1 = Ex(e,1);
    n2 = Ex(e,2);
    q(e).traj = N(n1:n2,:);
end
