Commit b90ca90d authored by Florian Pausch's avatar Florian Pausch

automatically delete quaternion.m included in downloaded NatNet SDK and...

automatically delete quaternion.m included in downloaded NatNet SDK and instead use already available version in external_packages\quaternion
parent 4eec681e
......@@ -200,9 +200,6 @@ classdef itaOptitrack < handle
% calculated (instantenous) offset won't be valid anymore as soon
% as the orientation of the head-mounted rigid body is changed.
%
% Author: Florian Pausch, fpa@akustik.rwth-aachen.de
% Version: 2016-11-18
%
% <ITA-Toolbox>
% This file is part of the ITA-Toolbox. Some rights reserved.
% You can find the license for this m-file in the license.txt file in the ITA-Toolbox folder.
......@@ -306,7 +303,7 @@ classdef itaOptitrack < handle
openStream(urljava);
catch
% url is not existing or computer is not connected to Internet
error(['[itaOptitrack] No Internet connection or, ',url,' does not exist. Missing NatNet SDK cannot be downloaded. Please update URL (l.297) and version (l. 313/317/321).'])
error(['[itaOptitrack] No Internet connection or, ',url,' does not exist. Missing NatNet SDK cannot be downloaded. Please update download URL and NatNet version number.'])
end
% create directory
......@@ -324,6 +321,10 @@ classdef itaOptitrack < handle
fprintf('.\n')
delete(fullfile(Optitrack_obj.dllPath,'NatNet_SDK_2.10.zip'))
% delete downloaded quaternion.m version
delete(fullfile(Optitrack_obj.dllPath,'NatNet_SDK_2.10\NatNetSDK\Samples\Matlab\quaternion.m'))
delete(fullfile(Optitrack_obj.dllPath,'NatNet_SDK_2.10\NatNetSDK\Samples\Matlab\quaternion-license.txt'))
fprintf( '[itaOptitrack] NatNet SDK has been successfully downloaded.\n' );
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