% ATL_EXAMPLE basic test program in MATLAB using Atracsys Tracking Library Server
function atl_example ()
% Open ATL Server with the standard parameters
t = atl_open;
% Read and display LED 3 position (10 times)
for i=1:10
led_3 = atl_command (t, 'L', 3)
end
% Read Marker 0 pose (10 times)
for i=1:10
marker_0 = atl_command (t, 'M', 0)
end
% Close connection with the ATL Server
atl_close (t);
|