Correct typo

This commit is contained in:
2024-10-26 10:46:47 +02:00
parent e4d39e63ec
commit 5a8997d155
9 changed files with 427 additions and 252 deletions

View File

@@ -53,26 +53,22 @@ if args.Ga == 0
switch args.type
case '2dof'
actuator.Ga = -2.5796;
case 'flexible frame'
actuator.Ga = 1; % TODO
case 'flexible'
actuator.Ga = 23.2;
end
else
actuator.Ga = args.Ga; % Actuator gain [N/V]
actuator.Ga = args.Ga; % Actuator sensitivity [N/V]
end
if args.Gs == 0
switch args.type
case '2dof'
actuator.Gs = 466664;
case 'flexible frame'
actuator.Gs = 1; % TODO
case 'flexible'
actuator.Gs = -4898341;
end
else
actuator.Gs = args.Gs; % Sensor gain [V/m]
actuator.Gs = args.Gs; % Sensor sensitivity [V/m]
end
actuator.k = args.k; % [N/m]