Initial commit

This commit is contained in:
2025-12-02 14:33:46 +01:00
commit 7f107550e7
74 changed files with 14910 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
function [controller] = initializeController(args)
arguments
args.type char {mustBeMember(args.type,{'open-loop', 'iff'})} = 'open-loop'
end
controller = struct();
switch args.type
case 'open-loop'
controller.type = 1;
controller.name = 'Open-Loop';
case 'iff'
controller.type = 2;
controller.name = 'Decentralized Integral Force Feedback';
end
end