Analysis on dynamics variability to payload
This commit is contained in:
@@ -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');
|
||||
|
Reference in New Issue
Block a user