Commit 8490ec6b authored by Jan-Gerrit Richter's avatar Jan-Gerrit Richter

changes to hrtf motor (reference)

parent 21cf1306
...@@ -198,6 +198,10 @@ classdef itaMotorControlNanotec < itaMotorControl ...@@ -198,6 +198,10 @@ classdef itaMotorControlNanotec < itaMotorControl
end end
this.wait4everything; this.wait4everything;
for index = 1:length(this.motorList)
this.motorList{index}.setReferenced(true);
end
end end
function prepareForContinuousMeasurement(this,varargin) function prepareForContinuousMeasurement(this,varargin)
......
...@@ -22,6 +22,7 @@ classdef itaMotorNanotec < itaHandle ...@@ -22,6 +22,7 @@ classdef itaMotorNanotec < itaHandle
stop(this); stop(this);
active = isActive(this); active = isActive(this);
setActive(this,value); setActive(this,value);
% isInitialized(this); % isInitialized(this);
getStatus(this); getStatus(this);
getMotorID(this); getMotorID(this);
...@@ -32,5 +33,11 @@ classdef itaMotorNanotec < itaHandle ...@@ -32,5 +33,11 @@ classdef itaMotorNanotec < itaHandle
disableReference(this,value); disableReference(this,value);
% this = freeFromStopButton(this); % this = freeFromStopButton(this);
ret = prepareMove(this,position,varargin); ret = prepareMove(this,position,varargin);
end end
methods
function setReferenced(this,value)
this.mIsReferenced = value;
end
end
end end
\ No newline at end of file
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