save_cb

PURPOSE ^

SAVE_CB is the callback file that saves all the data available.

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

 SAVE_CB is the callback file that saves all the data available.

 SAVE_CB saves the data available, so to save time on subsequent usages of
 the program or to save the calibration results.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 % SAVE_CB is the callback file that saves all the data available.
0002 %
0003 % SAVE_CB saves the data available, so to save time on subsequent usages of
0004 % the program or to save the calibration results.
0005 
0006 if exist('rangeMatrix','var')
0007     disp('Saving to LaserScans.mat');
0008     save('LaserScans.mat','rangeMatrix','angleVector','laserDivisor');
0009 end
0010 
0011 if exist('clstrs','var')
0012     disp('Saving to CalibPoints.mat');
0013     save('CalibPoints.mat','clstrs','boardclstrs','deltaest','phiest','Nci','BoardCorners');
0014 end
0015 
0016 if exist('clstrsf','var')
0017     disp('Saving to AutoClstrs.mat');
0018     save('AutoClstrs.mat','roughth','clstrsr','fineth','clstrsf');
0019 end
0020 
0021 if exist('manclstrs','var')
0022     disp('Saving to ManClstrs.mat');
0023     save('ManClstrs.mat','manclstrs');
0024 end
0025 
0026 if exist('delta','var')
0027     disp('Saving to LaserCalibResults.mat');
0028     save('LaserCalibResults.mat','Lpts','Nc','Lptsnos','delta','phi','deltae','rote','selectionnumbers');
0029 end

Generated on Thu 08-Apr-2010 14:35:09 by m2html © 2005