While following the tutorial, I have an error during parameter optimization as follows.
Evaluating the objective function (Operation: Main.KinOpt.ParameterOptimization):
ERROR(SYS1) : Operation : Unknown error : ‘No Class Information’
I exactly copied and pasted the code in the tutorial and Kinematics was absolutely not a problem. but the error occured in first iteration during parameter optimization.
AnyBody Version is 7.0. and 7.2.1.
Does this problem repeat after reloading? Sometimes this message does not repeat.
Secondly, could you be a little more specific about what part of tutorial you are talking about and which step caused the problem?
Did you try to do the tutorial from scratch again?
Then, I guess AnyDesMeasure section was missing in this tutorial.
But I remember that I didn’t need to add AnyDesMeasure when I started this model for the first time last year.
The AnyKinOptStudy does not require an objective function. It is always minimizing the least-square error on the soft kinematic constaints. It must be something else in the model or an anybody bug.
@msan00 Michael, you are right. It is not an AnyOptStudy, which I thought it was, when quickly scrolled through code snippet. Could you spot the problem? I don’t seem to see anything except differences in Filter definition and missing revolute joint as opposed to the tutorial.
@dypark I tried running it (your code did miss a few lines from the tutorial, including the fixation to the global ref. frame through a revolute joint), but it does indeed fail repeatedly even with corrections. We will be looking into the problem, thanks for noticing and asking.
I think it is the Fs setting in filter. It should not be possible to set the sampling frequency at all as it is given by the c3d data - and especially not setting it to zero. Try removing that line.
My filter parameters are the following:
Filter =
{
AutomaticInitialConditionOnOff = On;
FilterForwardBackwardOnOff = On;
N = 2;
Fc = {3};
Type = LowPass;
};
Has a solution been found yet?