Hi anybodysupport,
I’ve adapted the GaitLowerExtremity model, and changed the definition of the markers into that contained in my own c3d file.
However, when I load the main file, it reports an error that maybe the system error.
Hi,
please provide a little more information, what kind of error message is given?
Which version are you using?
Best regards,
Sebastian
Hi Anybody Support,
I’m sorry this is my first time to ask question on this forum (I used to contact with Anybody support by email), so I’m not familiar with send the post on forums.
I’ve now adapted the adapted the GaitLowerExtremity model, and changed the definition of the markers into that contained in my own c3d file, and things go smoothly until an error occurs:
ERROR(SCR.EXP4) : E:/A…t/A…2/A…2/A…n/E…s/G…p/ModelSetup.any : ‘/’ : Division by zero
It points to the “ModelSetup.any” statement as follows, in red:
/// This filter is used for the analog data
AnyFunButterworthFilter LowPassFilter = {
FilterForwardBackwardOnOff = On;
AutomaticInitialConditionOnOff = On;
N = 2;
AnyVar CutOffFrequency=12;
AnyVar SampleFreq=.Header.VideoFrameRate* .Header.NoAnalogSamplesPer3DFrame;
W = {1/(SampleFreq*0.5)*CutOffFrequency};
Type = LowPass;
};
Then I’ve followed your advice to set the ‘Samplefreq’ to 200 to check whether something goes wrong to the it, the sofeware report another system error:
ERROR(SYS1) : Model load : Unknown error
[FONT=Arial]Now would you be kind enough to check my main file which only contain my c3d file?(It is suggested by you that maybe the problem could be related to missing info in the c3d file. )[/FONT]
[FONT=Arial][/FONT]
[FONT=Arial]Best regards,[/FONT]
[FONT=Arial]Juana[/FONT]
Hi Juana,
please post your model and C3d file.
Best regards,
Sebastian
Hi sdendorfer,
Sorry to interrupt you again, I’ve got some additional problems [COLOR=black]in the demo of GaitLowerExtremity to ask:[/COLOR]
i) in the ModelSetup.any, what’s the difference between the script “CreatMarker” & “CreatMarkerTD”?
and also the difference between the script “MarkerName=PrefixDef(***)” and without ‘PrefixDef’ ?
ii) in “AnyFolder Posture” of the Mannequin.any, what does the script : “AnyParamFun &(marker)=…” indicate?
Are these specific markers related to the localization of the markers on the mannequin?
So what are the criterion of choosing these markers, since there are so many markers attaching on the mannequin?
Thanks in advance!
Yours trully,
Juana
Hi Juana,
i) CreateMarkerTD is used if you use the more detailed Leg TD as lower extremity, CreateMarker with the other leg model.
The Prefix is only used if there is a common name format in your C3d data like for example MarkerTest_RTHI, MarkerTest_ASA in this case you could just define the prefix MarkerTest. You can find the Prefix definition in the AnyInputC3d class in the file ModelSetup. Its just a small tool for the lazy
ii) The AnyParamFun in the Mannequin file are just used for the pelvis markers. The Mannequin is used to place the human body model close to the measurement position, it is only used for the initial guess of the position. The Pelvismarkers, these are the four listed are taken to place the pelvis in the right spot.
Best regards,
Sebastian
Dear sdenderdorfer,
I’m greatly appreciated that you reply me so quickly.
Now I’ve got a small question to ask:
I’ve tried to attached the markers on the mannequin,
when I loaded the model, I found that the blue markers which belongs to
my c3d file did not match well with the mannequin,
actually the whole shape of the blue markers has a cross angle of the mannequin, the picture I’ve already captured has attached as follow.
So how can I solve this problem?
Thanks a lot!
Juana
Sorry, I’m not familiar with the forum attachment functions so that
till now can I upload my debug model.
In the following attached file is a simple Anybody file containing my own c3d file. It reports the system error for several times. I think it might be a serious one, so please help me with this.
Thanks in advance!
Juana
Hi Juana,
which Version of the AMS are you using? Please upgrade to the most recent one. this should resolve your problem.
Best regards,
Sebastian
Hard to judge what went wrong. It would be helpful if you simply attach your model.
Best regards,
Sebastian
Hi Sebastian,
my AMS is the latest version 4.2.1,
so maybe I need to wait for a newer version?
Best wishes,
Juana
Hi Juana,
I just checked again. With Version 4.2.1.1614, fresh from the web it works fine. Please check again if you have this Version. You can find the version number under Help-About AnyBody.
Best regards,
Sebastian
Well, Sebastian,
thank you for checking my c3d file.
However, the problem really hinder me is that,
I replace this c3d file with the one in the GaitLowerExtremity demo,
and I changed the markers’ names as my own from the c3d file.
Here I’ll attach with my ModelSetup.any of the GaitLowerExtremity,
and could you please check where lies the problem?
Thanks in advance,
Juana
…and I forgot to tell that it is the loading of the attached file that reports the system error, so is it because of its huge size of the c3d file(19mb)?
Hi Juana,
now I can replicate the error. It seems to be a memory problem. Do you have a smaller C3d file of one of measurements?
Best regards,
Sebastian
Hi Sebastian,
I’ve tried to reduce the size of my c3d data (, however, it is hard to do so). So does it matter if I operate on a 64bit system? or having a larger memory?
Thanks in advace,
Juana
Dear Sebastian,
I’ve got another question to ask:
as last time I once said as above quoted,
I once changed another smaller c3d file to check the memory problem,
It failed to load,
and reported the error:ERROR(SCR.EXP4) : E:/A…t/A…2/A…2/A…n/E…s/d…o/ModelSetup.any : ‘/’ : Division by zero
This error points to :W = {1/(SampleFreq*0.5)*CutOffFrequency}; in the ModelSetup.any.
Then I set the SampleFreq to 200, it loaded successfully.
So does it mean that the SampleFreq is zero, and causes the ERROR(SCR.EXP4)? And how can I avoid this one since I did’t change any parameters of the filter?
Thanks in advance.
Juana
Dear Sebastian,
last time I mentioned that when I changed a smaller c3d data( it just contains the initial situation of the mannequin ),
" I found that the blue markers which belongs to
my c3d file did not match well with the mannequin,
actually the whole shape of the blue markers has a cross angle of the mannequin, "
I just attach this mode to you,
and please check it for me to solve the problem.
…As I’ve observed, is it because that the initiate coordinate settings of the markers in c3d file and the mannequin in the demo are different from each other?
Best regard,
Juana
Hi Juana,
This is because the initial position of the mannequin does not correspond to the marker positions. The remedy is to change the PelvisRotX,PelvisRotY,PelvisRotZ in the mannequin file this will allow you to rotate the model into the same direction of your markers.
Best regards
Søren
Hi Juana,
I don’t think it matters which system you run. Of course there should be sufficient memory. Right now I’m not completely sure what causes your problems so it would be good to exclude the file size by making a smaller file run.
Best regards,
Sebastian