Hi,
I could receive the index of the minimum value of a joint moment while a certain motion is analyzed from motion data. And this is used for parameter study.
AnyParamStudy ParamStudy = {
Analysis = { ... };
AnyDesVar Var = { ... };
AnyDesMeasure Min_JntM = {
Val = min (..Study.JntM());
};
AnyDesMeasure Index_Min_JntM = {
Val = argmin (..Study.JntM()); // the moment when JntM is the minimum
};
};
However, I’d like to receive another analysis value, i.e., the joint angle, at Index_Min_JntM (when JntM is minimum).
And I also want to save this angle value at the moment (of minimum JntM) as an AnyDesMeasure class.
I tried to make an AnyOutputFun class of the joint angle. But I did not find the way to access the specific joint angle value at the specific moment (with Index_Min_JntM) .
How can I access the value of the joint angle with the certain index number, and output it with AnyDesMeasure?
AnyDesMeasure JntAngle = {
Val = ....??? ;
};
Thank you.
With regards,
Dong-Pyoung