Add script to identify tf from force to displacement of the legs
This commit is contained in:
@@ -50,6 +50,8 @@ function [inputs] = initializeInputs(opts_param)
|
||||
Ry = 3*(2*pi/360)*sin(2*pi*0.2*t);
|
||||
elseif islogical(opts.Ry) && opts.Ry == false
|
||||
Ry = zeros(length(t), 1);
|
||||
elseif isnumeric(opts.Ry) && length(opts.Ry) == 1
|
||||
Ry = opts.Ry*(2*pi/360)*ones(length(t), 1);
|
||||
else
|
||||
Ry = opts.Ry;
|
||||
end
|
||||
@@ -60,7 +62,7 @@ function [inputs] = initializeInputs(opts_param)
|
||||
elseif islogical(opts.Rz) && opts.Rz == false
|
||||
Rz = zeros(length(t), 1);
|
||||
elseif isnumeric(opts.Rz) && length(opts.Rz) == 1
|
||||
Rz = 2*pi*(opts.Rz/60)*t;
|
||||
Rz = opts.Rz*(2*pi/360)*ones(length(t), 1);
|
||||
else
|
||||
Rz = opts.Rz;
|
||||
end
|
||||
|
Reference in New Issue
Block a user