3 rootPath =
'log/logPegBella/withVision/';
6 coordName =
'Coordinator/';
7 set(groot,
'defaultLineLineWidth',1.5)
9 %millisecond indicated in missionManager
13 %second of insertion phase
15 secInsertion = 77; %withVision exp
16 %secInsertion = 23.4; %errorALL exp
19 %plotYDotDivided(rootPath, robotNameA,
'yDotFinalWithCollision');
21 %% plot Force
Task things
23 taskName =
'FORCE_INSERTION';
24 plotTask(rootPath, robotNameA, taskName);
25 plotTask(rootPath, robotNameB, taskName);
27 %% plot yDots and related thing
28 %plotYDotDivided(rootPath, robotNameA,
'yDotTPIK1');
29 %plotYDotDivided(rootPath, robotNameB,
'yDotTPIK1');
30 plotYDotDivided(rootPath, robotNameA,
'yDotFinal'); %after cooperation
31 plotYDotDivided(rootPath, robotNameB,
'yDotFinal'); %after cooperation
32 %plotYDotDivided(rootPath, robotNameA,
'yDotFinalWithCollision'); %after cooperation with collision
35 plotForcesTorquesWorld(rootPath, robotNameA,
'yes'); %yes to plot norm
36 %plotForcesTorquesWorld(rootPath, robotNameB,
'yes'); %yes to plot norm
39 plot6DVectorDivided(rootPath, robotNameA,
'toolVel4Collision');
40 plot6DVectorDivided(rootPath, robotNameB,
'toolVel4Grasp');
44 %here are plotted velocities of tool, not the
final one but the
45 %intermidiate that are input and output of the cooperation policy
46 %plotNonCoopVel(rootPath, coordName, robotNameA);
47 %plotNonCoopVel(rootPath, coordName, robotNameB);
48 plotCoopVel(rootPath, coordName); %
this is the feasible one
51 %% Plot goal moving
for change_goal and pose tool
52 plotTransformMatrices(rootPath, coordName);
53 plotGenericErrorDivided(strcat(rootPath, coordName,
"realgoal_Tool_error.txt"),
'realgoal_Tool_error',
'yes');
57 %pathName = rootPath + "g500_C/errorStereoL.txt";
58 %plotGenericErrorDivided(pathName,
"errorStereo",
'no')
ABSTRACT class task. Each task is a derived class of this class. It contains all the variable that th...