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
end
this.wait4everything;
for index = 1:length(this.motorList)
this.motorList{index}.setReferenced(true);
end
end
function prepareForContinuousMeasurement(this,varargin)
......
......@@ -22,6 +22,7 @@ classdef itaMotorNanotec < itaHandle
stop(this);
active = isActive(this);
setActive(this,value);
% isInitialized(this);
getStatus(this);
getMotorID(this);
......@@ -33,4 +34,10 @@ classdef itaMotorNanotec < itaHandle
% this = freeFromStopButton(this);
ret = prepareMove(this,position,varargin);
end
methods
function setReferenced(this,value)
this.mIsReferenced = value;
end
end
end
\ No newline at end of file
......@@ -42,6 +42,7 @@ classdef itaMotorNanotec_HRTFarc < itaMotorNanotec
options = ita_parse_arguments(options, varargin);
this.mMotorControl = options.motorControl;
this.mSerialObj = itaSerialDeviceInterface.getInstance();
this.mIsReferenced = 0;
this.motorID = 8;
this.motorName = 'HRTFArc';
......@@ -49,7 +50,7 @@ classdef itaMotorNanotec_HRTFarc < itaMotorNanotec
end
function this = init(this)
this.setReferenced(false);
end
......@@ -228,7 +229,7 @@ classdef itaMotorNanotec_HRTFarc < itaMotorNanotec
else
motorControl.sendControlSequenceAndPrintResults('l5154');
end
% Frei rckwrts
% Frei r�ckw�rts
% 5154
% Stop
% 9250
......@@ -468,4 +469,3 @@ classdef itaMotorNanotec_HRTFarc < itaMotorNanotec
end
end
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