33 lines
965 B
Matlab
33 lines
965 B
Matlab
function [] = prepareTomographyExperiment(args)
|
|
|
|
arguments
|
|
args.nass_actuator char {mustBeMember(args.nass_actuator,{'piezo', 'lorentz'})} = 'piezo'
|
|
args.sample_mass (1,1) double {mustBeNumeric, mustBePositive} = 50 % [kg]
|
|
args.Rz_period (1,1) double {mustBeNumeric, mustBePositive} = 1 % [s]
|
|
end
|
|
|
|
initializeGround();
|
|
initializeGranite();
|
|
initializeTy();
|
|
initializeRy();
|
|
initializeRz();
|
|
initializeMicroHexapod();
|
|
initializeAxisc();
|
|
initializeMirror();
|
|
|
|
initializeNanoHexapod('actuator', args.nass_actuator);
|
|
initializeSample('mass', args.sample_mass);
|
|
|
|
initializeReferences('Rz_type', 'rotating', 'Rz_period', args.Rz_period);
|
|
|
|
initializeDisturbances();
|
|
|
|
K = tf(zeros(6));
|
|
save('./mat/controllers.mat', 'K', '-append');
|
|
K_ine = tf(zeros(6));
|
|
save('./mat/controllers.mat', 'K_ine', '-append');
|
|
K_iff = tf(zeros(6));
|
|
save('./mat/controllers.mat', 'K_iff', '-append');
|
|
K_dvf = tf(zeros(6));
|
|
save('./mat/controllers.mat', 'K_dvf', '-append');
|