Analysis on dynamics variability to payload

This commit is contained in:
2020-04-02 15:29:38 +02:00
parent 295ba8bca1
commit 764b1292eb
3 changed files with 946 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
function [] = initializeController(args)
arguments
args.type char {mustBeMember(args.type,{'open-loop', 'iff', 'dvf', 'hac-dvf', 'ref-track-L', 'ref-track-iff-L', 'cascade-hac-lac', 'hac-iff'})} = 'open-loop'
args.type char {mustBeMember(args.type,{'open-loop', 'iff', 'dvf', 'hac-dvf', 'ref-track-L', 'ref-track-iff-L', 'cascade-hac-lac', 'hac-iff', 'stabilizing'})} = 'open-loop'
end
controller = struct();
@@ -23,6 +23,8 @@ switch args.type
controller.type = 7;
case 'hac-iff'
controller.type = 8;
case 'stabilizing'
controller.type = 9;
end
save('./mat/controller.mat', 'controller');