nass-simscape/init_data.m
2018-10-02 18:17:13 +02:00

52 lines
893 B
Matlab

%%
clear; close all; clc;
%% Initialize simulation configuration
opts_sim = struct(...
'Tsim', 10 ...
);
initializeSimConf(opts_sim);
%% Initialize Inputs
opts_inputs = struct(...
'ground_motion', false, ...
'ry', false, ...
'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
initializeNanoHexapod(struct('actuator', 'lorentz'));
%% Initialize the Mirror
initializeMirror(struct('shape', 'spherical'));
%% Initialize Sample
initializeSample(struct('mass', 20));