Aufgrund einer Wartung wird GitLab am 28.09. zwischen 10:00 und 11:00 Uhr kurzzeitig nicht zur Verfügung stehen. / Due to maintenance, GitLab will be temporarily unavailable on 28.09. between 10:00 and 11:00 am.

Commit 4e1e54cd authored by Jan-Gerrit Richter's avatar Jan-Gerrit Richter

bugfix: check if already prepared

parent e8697bba
...@@ -216,6 +216,9 @@ classdef itaMotorControlNanotec < itaMotorControl ...@@ -216,6 +216,9 @@ classdef itaMotorControlNanotec < itaMotorControl
error('Only HRTFArc or Turntable supported'); error('Only HRTFArc or Turntable supported');
end end
if ~isempty(this.preparedList)
error('Already prepared?');
end
% get the preangle and the speed % get the preangle and the speed
sArgs.preAngle = 0; sArgs.preAngle = 0;
sArgs.speed = 2; sArgs.speed = 2;
......
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