%%Zpracovani namerenych dat z RDS

clc;
clear all;
close all;

robotu = 11;
grafu = 12;

for graf=1:grafu
    logg = importdata(['log' num2str(graf) '.csv'],';');
    X = logg(:,1:2:2*robotu);
    Y = logg(:,2:2:2*robotu);
    figure(graf);
    plot(130,130,'or');
    hold on;
    for i=1:robotu
        plot(X(1,i),Y(1,i),'xk');
        plot(X(:,i),Y(:,i),'Color',[rem(i,2)*(1-(i==5)), (1-(i==5))*rem(floor(i/2),3)/2, rem(floor(i/6),2)]);
    end;
    axis equal
    axis([0 150 0 150]);
end;
