Resetting default HDD storing of tracked data in itaOptotrack to FALSE (was...

Resetting default HDD storing of tracked data in itaOptotrack to FALSE (was true by accident). Also more for the HATO example script
parent b9b1eb62
......@@ -500,7 +500,7 @@ classdef itaOptitrack < handle
if Optitrack_obj.isConnected
% parse input arguments
sArgs = struct('recMethod',0,'recTime',1,'savePath',[],'saveName',[],'singleShot',0,'debugInfo',0,'autoSave',1);
sArgs = struct('recMethod',0,'recTime',1,'savePath',[],'saveName',[],'singleShot',0,'debugInfo',0,'autoSave',0);
sArgs = ita_parse_arguments(sArgs,varargin,1);
Optitrack_obj.recMethod = sArgs.recMethod; % recording method, 0: record data for recTime seconds
% 1: manually abort logging by closing msgbox
......@@ -713,6 +713,7 @@ classdef itaOptitrack < handle
Optitrack_obj.rigidBodyLogData.data(~isnan(Optitrack_obj.rigidBodyLogData.data(:,4,idx)),7:10,idx), ...
Optitrack_obj.data(idx).frameID, 'pchip') );
catch e
%disp( e )
end
else
......
......@@ -12,7 +12,7 @@ va.set_signal_source_buffer_looping( X, true );
% Create a virtual sound source and set a position
S = va.create_sound_source( 'itaVA_Source' );
va.set_sound_source_position( S, [ 0 1.7 -2 ] );
va.set_sound_source_position( S, [ 0 1.7 -6 ] );
va.set_sound_source_signal_source( S, X );
% Create a sound receiver with HATO (actually OTAH) HRTF
......@@ -30,11 +30,13 @@ va.set_tracked_sound_receiver_torso_rigid_body_index( 2 );
% ... for reproduction modules
va.set_tracked_real_world_sound_receiver( L );
va.setset_tracked_real_world_sound_receiver_head_rigid_body_index( 2 );
va.set_tracked_real_world_sound_receiver_head_rigid_body_index( 1 );
va.set_tracked_real_world_sound_receiver_torso_rigid_body_index( 2 );
va.get_tracker_info
% Start!
va.connect_tracker
va.connect_tracker( '137.226.61.85', '137.226.61.107' )
% pause( 12 )
......
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