Add main.m and config.m

This commit is contained in:
Thomas Dehaeze 2018-09-29 19:08:05 +02:00
parent 6a3af445dc
commit 9883905c82
4 changed files with 17 additions and 11 deletions

7
config.m Normal file
View File

@ -0,0 +1,7 @@
%% Add folders to Matlab Path
addpath('./Analysis/');
addpath('./Control/');
addpath('./Identification/');
addpath('./initialize/');
addpath('./src/');
addpath('./stewart-simscape/');

View File

@ -11,6 +11,7 @@ initializeSimConf(opts_sim);
%% Initialize Inputs %% Initialize Inputs
opts_inputs = struct(... opts_inputs = struct(...
'ground_motion', false, ... 'ground_motion', false, ...
'ry', true, ...
'rz', false ... 'rz', false ...
); );
@ -46,7 +47,7 @@ opts_nano_hexapod = struct('actuator', 'lorentz');
initializeNanoHexapod(opts_nano_hexapod); initializeNanoHexapod(opts_nano_hexapod);
%% Initialize the Mirror %% Initialize the Mirror
initializeMirror(struct('shape', 'conical')); initializeMirror(struct('shape', 'spherical'));
%% Initialize Sample %% Initialize Sample
opts_sample = struct('mass', 20); opts_sample = struct('mass', 20);

8
main.m Normal file
View File

@ -0,0 +1,8 @@
%%
clear; close all; clc;
%% General Configuration
run config.m
%%

View File

@ -1,10 +0,0 @@
#+TITLE: Simscape - NASS
* Description of the files
* List of things to do
** SOMEDAY Apply some MIMO control
** TODO Create multiple folder inside the ~mat~ folder.
** DONE Add the mirror instead of the interface piece
CLOSED: [2018-07-11 Wed 15:42]
- Be carefull abouth the height of the mirror so that the interested point is still the same.