Commit a37b8167 authored by Simone Liuzzo's avatar Simone Liuzzo

removed *Values

parent c8f810bb
......@@ -33,9 +33,9 @@ end
% Measurement
if plane=='H'
v_zero=obj.getHSteerersValues();
v_zero=obj.getHSteerers();
else
v_zero=obj.getVSteerersValues();
v_zero=obj.getVSteerers();
end
% v=v_zero;
traj0=obj.measuretrajectory();
......@@ -43,10 +43,10 @@ for ii=1:length(kicks)
v=v_zero;
if plane=='H'
v(indHstbefore)=v(indHstbefore)+kicks(ii);
obj.setHSteerersValues(v);
obj.setHSteerers(v);
else
v(indVstbefore)=v(indVstbefore)+kicks(ii);
obj.setVSteerersValues(v);
obj.setVSteerers(v);
end
pause(2)
traj=obj.measuretrajectory()-traj0;
......@@ -60,9 +60,9 @@ for ii=1:length(kicks)
end
if plane=='H'
obj.setHSteerersValues(v_zero);
obj.setHSteerers(v_zero);
else
obj.setVSteerersValues(v_zero);
obj.setVSteerers(v_zero);
end
[fit_s1,gf_s1]=fit(kicks',x1','poly1');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment