pb_readServo.m 783 Bytes
Newer Older
1
2
function D = pb_readServo(vs)
% 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
14
15

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

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