correct scripts

This commit is contained in:
2025-04-15 10:22:59 +02:00
parent 4572eee193
commit d64c51e4b1
26 changed files with 255 additions and 161 deletions

View File

@@ -5,7 +5,6 @@ clear; close all; clc;
s = zpk('s');
%% Path for functions, data and scripts
addpath('./mat/'); % Path for data
addpath('./src/'); % Path for functions
addpath('./subsystems/'); % Path for Subsystems Simulink files
@@ -97,7 +96,7 @@ for Dx = Dxs
end
end
sprintf('Actuator stroke should be from %.0f um to %.0f um', 1e6*L_min, 1e6*L_max)
disp(sprintf('Actuator stroke should be from %.0f um to %.0f um', 1e6*L_min, 1e6*L_max))
%% Compute mobility in translation with combined angular motion
% Direction of motion (spherical coordinates)
@@ -232,5 +231,5 @@ for Dx = Dxs
end
end
sprintf('Fixed joint stroke should be %.1f mrad', 1e3*max(max_angles_F))
sprintf('Mobile joint stroke should be %.1f mrad', 1e3*max(max_angles_M))
disp(sprintf('Fixed joint stroke should be %.1f mrad', 1e3*max(max_angles_F)))
disp(sprintf('Mobile joint stroke should be %.1f mrad', 1e3*max(max_angles_M)))