Remove simscape file for disturbances

Now the new configurable simscape file is compatible with the
disturbance analysis
This commit is contained in:
2020-02-18 17:30:27 +01:00
parent f5056db788
commit dfdfcff4db
14 changed files with 47 additions and 40 deletions

View File

@@ -1,7 +1,7 @@
function [axisc] = initializeAxisc(args)
arguments
args.type char {mustBeMember(args.type,{'none', 'rigid', 'flexible', 'modal-analysis'})} = 'flexible'
args.type char {mustBeMember(args.type,{'none', 'rigid', 'flexible'})} = 'flexible'
end
axisc = struct();
@@ -13,8 +13,6 @@ switch args.type
axisc.type = 1;
case 'flexible'
axisc.type = 2;
case 'modal-analysis'
axisc.type = 3;
end
% Structure

View File

@@ -1,7 +1,7 @@
function [micro_hexapod] = initializeMicroHexapod(args)
arguments
args.type char {mustBeMember(args.type,{'none', 'rigid', 'flexible'})} = 'flexible'
args.type char {mustBeMember(args.type,{'none', 'rigid', 'flexible', 'modal-analysis'})} = 'flexible'
% initializeFramesPositions
args.H (1,1) double {mustBeNumeric, mustBePositive} = 350e-3
args.MO_B (1,1) double {mustBeNumeric} = 270e-3
@@ -56,6 +56,8 @@ switch args.type
micro_hexapod.type = 1;
case 'flexible'
micro_hexapod.type = 2;
case 'modal-analysis'
micro_hexapod.type = 3;
end
save('./mat/stages.mat', 'micro_hexapod', '-append');