1 function plotStressTool(rootPath, coordName)
7 fileName = "stressTool.txt";
8 errors = importMatrices(strcat(rootPath, coordName, fileName));
9 nRow = size(errors, 1);
10 nStep = size(errors, 3);
13 totSecondPassed = sControlLoop*(nStep-1);
14 seconds = 0:sControlLoop:totSecondPassed;
23 ylab = ylabel('errors [m, rad]');
25 tq = title("Cartesian Error between the two coincident pipes");
27 leg = legend('$x$','$y$', '$z$', '$roll$', '$pitch$', '$yaw$');
28 set(leg, 'Interpreter', 'latex', 'FontSize' , legFontSize);
29 set(ylab, 'Interpreter', 'latex', 'FontSize' , ylabFontSize);
31 set (tq, 'Interpreter', 'latex', 'FontSize' , titleFontSize);
43 % a(:) = norms(i,1,:);
47 % ylab = ylabel('norms');
49 % tq = title("Norms (lin, ang) of Cartesian Error between the two coincident pipes");
51 % leg = legend('Linear', 'Angular');
52 % set(leg, 'Interpreter', 'latex', 'FontSize' , legFontSize);
53 % set(ylab, 'Interpreter', 'none', 'FontSize' , ylabFontSize);
55 % set (tq, 'Interpreter', 'latex', 'FontSize' , titleFontSize);