nass-simscape/src/prepareLinearizeIdentification.m

28 lines
712 B
Matlab

function [] = prepareLinearizeIdentification(args)
arguments
args.nass_actuator char {mustBeMember(args.nass_actuator,{'piezo', 'lorentz'})} = 'piezo'
args.sample_mass (1,1) double {mustBeNumeric, mustBePositive} = 50 % [kg]
end
initializeGround();
initializeGranite();
initializeTy();
initializeRy();
initializeRz();
initializeMicroHexapod();
initializeAxisc();
initializeMirror();
initializeNanoHexapod('actuator', args.nass_actuator);
initializeSample('mass', args.sample_mass);
initializeReferences();
initializeDisturbances('enable', false);
initializeController('type', 'open-loop');
initializeSimscapeConfiguration('gravity', true);
initializeLoggingConfiguration('log', 'none');