Round all number of SmiData. Simulink: R2018A

This commit is contained in:
Thomas Dehaeze 2018-10-02 18:17:13 +02:00
parent 46a6449bfc
commit 77f8b61d38
6 changed files with 285 additions and 288 deletions

Binary file not shown.

View File

@ -11,8 +11,8 @@ initializeSimConf(opts_sim);
%% Initialize Inputs
opts_inputs = struct(...
'ground_motion', false, ...
'ry', true, ...
'rz', false ...
'ry', false, ...
'rz', true ...
);
initializeInputs(opts_inputs);
@ -42,14 +42,10 @@ initializeMicroHexapod();
initializeAxisc();
%% Initialize NASS
opts_nano_hexapod = struct('actuator', 'lorentz');
initializeNanoHexapod(opts_nano_hexapod);
initializeNanoHexapod(struct('actuator', 'lorentz'));
%% Initialize the Mirror
initializeMirror(struct('shape', 'spherical'));
%% Initialize Sample
opts_sample = struct('mass', 20);
initializeSample(opts_sample);
initializeSample(struct('mass', 20));

View File

@ -1,4 +1,6 @@
%% Load Simulation configuration
%% Script that is run just before
% the simulation is started
% Load all the data used for the simulation
load('./mat/sim_conf.mat', 'sim_conf');
%% Load SolidWorks Data

View File

@ -7,4 +7,3 @@ function [ground] = initializeGround()
save('./mat/ground.mat', 'ground')
end
end

File diff suppressed because it is too large Load Diff

6
main.m
View File

@ -5,10 +5,10 @@ clear; close all; clc;
simulinkproject('./');
%% Initialization
% Initialize all the stages parameters
run init_data.m
% Initialize the perturbations
run init_perturbations.m
% Initialize all the stages parameters
run init_data.m
%%