Add NASS LIBRARY for simscape
This commit is contained in:
Binary file not shown.
@@ -3,7 +3,7 @@ clear; close all; clc;
|
||||
|
||||
%% Initialize simulation configuration
|
||||
opts_sim = struct(...
|
||||
'Tsim', 1 ...
|
||||
'Tsim', 1 ...
|
||||
);
|
||||
|
||||
initializeSimConf(opts_sim);
|
||||
@@ -14,10 +14,10 @@ load('./mat/sim_conf.mat', 'sim_conf')
|
||||
time_vector = 0:sim_conf.Ts:sim_conf.Tsim;
|
||||
|
||||
% Translation Stage
|
||||
ty = 0.05*ones(length(time_vector), 1);
|
||||
ty = 0*ones(length(time_vector), 1);
|
||||
|
||||
% Tilt Stage
|
||||
ry = 2*pi*(3/360)*ones(length(time_vector), 1);
|
||||
ry = 2*pi*(0/360)*ones(length(time_vector), 1);
|
||||
% ry = 2*pi*(3/360)*sin(2*pi*time_vector);
|
||||
|
||||
% Spindle
|
||||
|
@@ -2,4 +2,4 @@
|
||||
clear; close all; clc;
|
||||
|
||||
%%
|
||||
sim('Micro_Station_Displacement.slx');
|
||||
sim('Micro_Station_Displacement.slx');
|
||||
|
Reference in New Issue
Block a user