pb_readServo.m 815 Bytes
Newer Older
Jesse Heckman's avatar
Jesse Heckman committed
1
function Dat = pb_readServo(vs, Dat)
2
% PB_READSERVO
Jesse Heckman's avatar
Jesse Heckman committed
3
%
4
5
% PB_READSERVO(vs) reads vestibular in- and output profiles and stores
% them.
Jesse Heckman's avatar
Jesse Heckman committed
6
%
7
% See also PB_STARTSERVO, PB_SENDSERVO, PB_STOPSERVO, PB_VRUNEXP.
Jesse Heckman's avatar
Jesse Heckman committed
8
9
10
11
12
13

% PBToolbox (2018): JJH: j.heckman@donders.ru.nl

   [sv.vertical,sv.horizontal] = vs.read_profile_sv;
   [pv.vertical,pv.horizontal] = vs.read_profile_pv;
   
Jesse Heckman's avatar
Jesse Heckman committed
14
15
   Dat.vestibular_signal.sv   = sv;
   Dat.vestibular_signal.pv   = pv;
Jesse Heckman's avatar
Jesse Heckman committed
16
17
18
19
20
21
22
23
24
end
 
% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % 
%                                                           %
%       Part of Programmeer Beer Toolbox (PBToolbox)        %
%       Written by: Jesse J. Heckman (2018)                 %
%                                                           %
% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %