nass-simscape/init_data.m
2018-06-21 11:42:46 +02:00

52 lines
865 B
Matlab

%%
clear; close all; clc;
%% Initialize simulation configuration
opts_sim = struct(...
'Tsim', 60 ...
);
initializeSimConf(opts_sim);
%% Initialize Inputs
opts_inputs = struct(...
'ground_motion', true, ...
'rz', true ...
);
initializeInputs(opts_inputs);
%% Initialize SolidWorks Data
initializeSmiData();
%% Initialize Ground
initializeGround();
%% Initialize Granite
initializeGranite();
%% Initialize Translation stage
initializeTy();
%% Initialize Tilt Stage
initializeRy();
%% Initialize Spindle
initializeRz();
%% Initialize Hexapod Symétrie
initializeMicroHexapod();
%% Initialize Center of Gravity compensation
initializeAxisc();
%% Initialize NASS
opts_nano_hexapod = struct('actuator', 'lorentz');
initializeNanoHexapod(opts_nano_hexapod);
%% Initialize Sample
opts_sample = struct('mass', 20);
initializeSample(opts_sample);