Round all number of SmiData. Simulink: R2018A
This commit is contained in:
parent
46a6449bfc
commit
77f8b61d38
BIN
Assemblage.slx
BIN
Assemblage.slx
Binary file not shown.
12
init_data.m
12
init_data.m
@ -11,8 +11,8 @@ initializeSimConf(opts_sim);
|
|||||||
%% Initialize Inputs
|
%% Initialize Inputs
|
||||||
opts_inputs = struct(...
|
opts_inputs = struct(...
|
||||||
'ground_motion', false, ...
|
'ground_motion', false, ...
|
||||||
'ry', true, ...
|
'ry', false, ...
|
||||||
'rz', false ...
|
'rz', true ...
|
||||||
);
|
);
|
||||||
|
|
||||||
initializeInputs(opts_inputs);
|
initializeInputs(opts_inputs);
|
||||||
@ -42,14 +42,10 @@ initializeMicroHexapod();
|
|||||||
initializeAxisc();
|
initializeAxisc();
|
||||||
|
|
||||||
%% Initialize NASS
|
%% Initialize NASS
|
||||||
opts_nano_hexapod = struct('actuator', 'lorentz');
|
initializeNanoHexapod(struct('actuator', 'lorentz'));
|
||||||
|
|
||||||
initializeNanoHexapod(opts_nano_hexapod);
|
|
||||||
|
|
||||||
%% Initialize the Mirror
|
%% Initialize the Mirror
|
||||||
initializeMirror(struct('shape', 'spherical'));
|
initializeMirror(struct('shape', 'spherical'));
|
||||||
|
|
||||||
%% Initialize Sample
|
%% Initialize Sample
|
||||||
opts_sample = struct('mass', 20);
|
initializeSample(struct('mass', 20));
|
||||||
|
|
||||||
initializeSample(opts_sample);
|
|
||||||
|
@ -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('./mat/sim_conf.mat', 'sim_conf');
|
||||||
|
|
||||||
%% Load SolidWorks Data
|
%% Load SolidWorks Data
|
||||||
|
@ -7,4 +7,3 @@ function [ground] = initializeGround()
|
|||||||
save('./mat/ground.mat', 'ground')
|
save('./mat/ground.mat', 'ground')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
6
main.m
6
main.m
@ -5,10 +5,10 @@ clear; close all; clc;
|
|||||||
simulinkproject('./');
|
simulinkproject('./');
|
||||||
|
|
||||||
%% Initialization
|
%% Initialization
|
||||||
% Initialize all the stages parameters
|
|
||||||
run init_data.m
|
|
||||||
|
|
||||||
% Initialize the perturbations
|
% Initialize the perturbations
|
||||||
run init_perturbations.m
|
run init_perturbations.m
|
||||||
|
|
||||||
|
% Initialize all the stages parameters
|
||||||
|
run init_data.m
|
||||||
|
|
||||||
%%
|
%%
|
||||||
|
Loading…
Reference in New Issue
Block a user