Add main.m and config.m
This commit is contained in:
parent
6a3af445dc
commit
9883905c82
7
config.m
Normal file
7
config.m
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
%% Add folders to Matlab Path
|
||||||
|
addpath('./Analysis/');
|
||||||
|
addpath('./Control/');
|
||||||
|
addpath('./Identification/');
|
||||||
|
addpath('./initialize/');
|
||||||
|
addpath('./src/');
|
||||||
|
addpath('./stewart-simscape/');
|
@ -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
8
main.m
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
%%
|
||||||
|
clear; close all; clc;
|
||||||
|
|
||||||
|
%% General Configuration
|
||||||
|
run config.m
|
||||||
|
|
||||||
|
%%
|
||||||
|
|
10
readme.org
10
readme.org
@ -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.
|
|
Loading…
Reference in New Issue
Block a user