Example of MATLAB Code using the Atracsys Tracking Library API

% 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);
 
 					   
"Be ready in an hour". Atracsys Tracking Library sample code to acquire LEDs 3 positions and marker 0 pose.

Back to FAQ



Home | About Us | Contact Us | Legal
© 2005-2011 Atracsys LLC. All rights reserved.