Hey Micheal
Regarding the output of the GaitApplication2, what does it mean ? I have seen
Solution 1 and Solution 2 just for the ankle joint Right and Left and i have
seen 2 values for each. So How can i interpret those values regarding to ( z,y,x
order) ?
Does this means that i need to go to the model and make modifications and put
the solutions values ? If yes, Where can i change them ?
Now regarding the model in GaitUniMiami that i got so far, i have put the models
without the muscles for we can check the kinematics first.
Is it more appropriate for i can put more markers on the foot other than
PlugInGait ?
I have around 60 subjects that i need to run in this model for i can get the
muscles forces, is it for each subject that i will run this kind of interactive
and iterative way ?
Regarding the change of length and coordinates.
The good things here is that the data that I am running are of myself walking
into Vicon. So i can put the length of my foot and my shank … Is that the best
way to do it ?
As you suggested about turning “Off” the optimaziation of the y-coordinate of
the ankle markers … Why is that ? and How can i change it in DataForConfigFile
? I have went into the File but didint know how to change it.
Sorry for those questions, i have been working on it all weekend and I know
there isnt support on weekend.
I have a meeting tomroow afternnon with one of my supervisors and I want to show
him the difference between Gait3D and GaitUniMiami ( with my modifications to
both models) on the same data.
Thanks for your reply and sorry for any incovenience once again
Regards
----- Original Message ----
From: Michael Skipper Andersen <msandersen60@hotmail.com>
To: anyscript@yahoogroups.com
Sent: Friday, May 9, 2008 4:51:10 PM
Subject: Re: [AnyScript] Error Loading a file in GaitUniMiami
Hey Mike,
Warnings about stretched muscles is because you have not run the calibration
study before running the model with muscles. However, it might be an idea to use
a model without muscles until you get the kinematics right. You can change this
in the HumanModel.any by out commenting the line:
#include “…\Body\ AAUHuman\ BodyModels\ TrunkNoMusclesTw oLegs\BodyModel_
Mus3e.any”
and instead write:
#include “…\Body\ AAUHuman\ BodyModels\ TrunkNoMusclesTw oLegs\BodyModel_
NoMuscles. any”
I took at quick look at the picture you uploaded and in the bottom it writes out
the two solutions for the euler angles in the angle joint (in z,y,x order).
From this, my guess is that it is the right ankle that made a strange motion?
This is suggested by the rather large number -1.49, which is inversion/eversion.
This is a fairly common problem and is simply due to the local marker
coordinates of the markers on the feet. As the two markers you have on the feet
(heel and toe) are almost placed on a straight line though the ankle joint, the
inversion/eversion degree of freedom will be very sensitive to placement errors
on these markers.
In order to fix this, you will have to change these local coordinates, and
possibly also the length of the foot, until you get a plausible motion. This you
can do in the LocalMarkerCoordina teAnySize. any file. Also, since you only have
these two markers on the feet, it is going to be a tough job to both optimize
the placement of the ankle markers and the length of the shank at the same time.
It might therefore be a good idea to switch “off” the optimization of the
y-coordinate of the ankle markers. This you can do in the DataForConfigFile.
any.
As said before, this part of the modeling is going to be an iterative process
until you get the result you want.
Best regards
Michael
----- Original Message -----
From: Mike Arakilo
To: anyscript@yahoogrou ps.com
Sent: Friday, May 09, 2008 5:01 PM
Subject: Re: [AnyScript] Error Loading a file in GaitUniMiami
Hey Micheal
I was glad that gaitapplication2 was running with success and after several
iteration it gave me Finished Scaling with Success !
I have attached to this email printscree of the result in gaitapplicaiton2
I went threw step 13 and i noticed that i did outcomment everything in
environment file except the global reference area
i went to OptStudy and made calibration of the muscles and then ran kinematic
analysis but i got so many warmings for stretched out muscles and it failed at
step16.
WARNING(OBJ. MCH.MUS2) : T:\AnyScripts\ MyRepository7\ Body\AAUHuman
Leg\MusPar. any(89) : ‘PeroneusBrevisPar’ : Muscle without strength : The muscle
has been stretched too much
ERROR(OBJ.MCH. KIN3) : T:\AnyScripts\ MyRepository7\ Application\ Examples
GaitUniMiami\ GaitUniMiami. main.any( 212) : ‘OptStudy’ : Kinematic analysis
failed in time step 16
The Model was moving in very weird way.
Can i get help here with waht is going on ?
I have atteched the new model in the file section udner Mike Arakilo Files
Thanks a lot
Waiting for your reply
----- Original Message ----
From: Michael Skipper Andersen <msandersen60@ hotmail.com>
To: anyscript@yahoogrou ps.com
Sent: Friday, May 9, 2008 3:28:54 PM
Subject: RE: [AnyScript] Error Loading a file in GaitUniMiami
Hey,
If you call GaitApplication2 with no arguments, it assumes that the two files
(ModelGait.txt and StudyGait.txt) are found in the current directory. So the
easiest thing to do is to copy the GaitApplication2. exe in next to your model
(in the GaitUniMiami or whatever you have called your model folder). Then you
won’t have to worry about paths or copying files.
Best regards
Michael
To: anyscript@yahoogrou ps.comFrom: marakilo@yahoo. comDate: Fri, 9 May 2008
07:18:41 -0700Subject: Re: [AnyScript] Error Loading a file in GaitUniMiami
Hey MichealGaitApplicat ion2 is giivn me eorr loading StudyGaitIt is saying
Faile to open the study configuration fileShall the files be on specific
location?I am location in command prompt the GaitApplication2 and writing the
followingGaitApplic ation2 ModelFile StudyFileI tried the following
alsoGaitApplicaiton 2 “ModelFile.txt” “StudyFile.txt” and gave the same error
about StudyFileModelFile and StudyFile are not in the same location as
GaitApplication. Shall I specify the path for each also for exampleGiatApplicai
ton2 “T:/…/ModelFile. txt” “T:/…/StudyFile. txt” ?Thanks for you
replyRegards- ---- Original Message ----From: Michael Skipper Andersen
<msandersen60@ hotmail.com> To: anyscript@yahoogrou ps.comSent: Friday, May 9,
2008 2:59:04 PMSubject: RE: [AnyScript] Error Loading a file in GaitUniMiamiHey
Mike,Yes, StudyGait.txt should reflect your new setup - i.e. tStart, tEnd, nStep
should match what you have in AnyBody. It is also in this file
that you can specify which type of analysis you want GaitApplication2 to
perform.Regarding if GaitApplication2 will fix the difference in the heel
depends then the answer is probably yes. But the heel marker is one of the few
markers that are excluded from the optimization of the local marker coordinates
since some of them have to be used to define coordinate systems, but if the
markers are placed correctly, then GaitApplication2 will find the motion that
minimizes the errors between your marker on the model and the marker you have
measured. If you look in the file DataForConfigFile. any, then you can see what
the options are set to - this is the file that writes out the ModelGait.txt file
by using various string operations. The explanation of all the keywords can be
found in the documentation for GaitApplication2. Best regardsMichaelTo:
anyscript@yahoogrou ps.comFrom: marakilo@yahoo. comDate: Fri, 9 May 2008
06:31:11 -0700Subject: Re: [AnyScript] Error
Loading a file in GaitUniMiamiHey Micheal, in step 11 I am making ModelGait.txt
File and then they are asking me to open the StudyGait.txt. StudyGait is the old
file , shouldn’t I create StudyGait.txt same as I did for the ModelGait for it
can fit my data ?Regards---- - Original Message ----From: Mike Arakilo
<marakilo@yahoo. com>To: anyscript@yahoogrou ps.comSent: Friday, May 9, 2008
2:22:00 PMSubject: Re: [AnyScript] Error Loading a file in GaitUniMiamiHey
MichealI have moved the model in the x direction by roughly close to the markers
which i cant see anymore since they are overlaping but i think there is some
difference in knee flexion. I can see the heel of the markers are a bit high
than the heel of the model ( slightly higher). Doest it make a difference or
GaitApplicaiton2 will fix it ?Supposing I have the file ModelGait.txt and this
is the <modelfile> for GaitApplication2 , waht will be the <studyfile>
?Regards---- - Original Message ----From:
Michael Skipper Andersen<msandersen 60@ hotmail.com> To: anyscript@yahoogrou
ps.comSent: Friday, May 9, 2008 1:38:02 PMSubject: RE: [AnyScript] Error Loading
a file in GaitUniMiamiHey Mike,What step 8 asks you to do is to prepare the
initial guess for the local optimization performed by GaitApplication2. In the
Mannequin.any file, you will find all the joint coordinates defined, and if you
change these, you move the model, you have in the MarkerPlacementStud y, around.
So what you should do is to move your model over such that it is “close” to the
measured markers (the gray dots in the model view). How well it has to be done
depends on how much it will take to get GaitApplication2 to find the solution.
Therefore step, 8-12 is going to be an interative process until you have gotten
the result you want. It is a good idea to first just move the man very roughly
close to the measured markers such he at least is not facing the wrong way and
are not meters
from the markers. Thencontinue though step 9-12 and see how it goes. If
GaitApplication2 fails, you will have to improve your guess(es).However, at this
stage, when you load your model, the measured markers will not be visble before
you run SetInitialCondition s in the MarkerPlacementStud y (this is found in
Operations-> MarkerPlacementS tudy->SetInitial Conditions) .It is also very
important to remember that this SetInitialCondition s has to be run before you
save the ModelGait.txt file else GaitApplication2 will fail right at the
beginning. Best regardsMichaelTo: anyscript@yahoogrou ps.comFrom:
marakilo@yahoo. comDate: Fri, 9 May 2008 05:20:18 -0700Subject: Re: [AnyScript]
Error Loading a file in GaitUniMiamiHey Micheal Sorry again for bothering you In
step 8 of the GaitUniMiami , i m not sure i am understanding what to do.How am I
gonna set the initial conditions ? Should I run GaitApplication2 first ?Under
what conditions i should adjust toe segment
lengths in theLocakMarkerCoord ina teAndSize. any file ? Is there anyoutpurt
file i m getting first for i can rely on ?Thanks for your reply----- Original
Message ----From: Mike Arakilo <marakilo@yahoo. com>To: anyscript@yahoogrou
ps.comSent: Friday, May 9, 2008 11:52:54 AMSubject: Re: [AnyScript] Error
Loading a file in GaitUniMiamiHey MichealIndeed there was this mistyped mistake
i don’t know how i wrote it like this.anyway the model was loaded successfully
and i have changed the orientation matrix to 2*pi,x becuase it was not accepting
0,xI got to step 7 but i m not quite sure I understood what they mean by "In
comment the MarkerPlacementStud y again"Can I get explanation for it please
?Regards---- -Original Message ----From: Michael Skipper Andersen <msandersen60@
hotmail.com> To: anyscript@yahoogrou ps.comSent: Friday, May 9, 2008 10:52:09
AMSubject: RE: [AnyScript] Error Loading a file in GaitUniMiamiHey Mike,I
checked your file last night and
found that youhave specified tStart and tEnd in your AnyBody model to be 2.69 s
and 3.69 s (as far as I remember). If you check again in the main file you got
after converting the c3d file to AnyScript, you will see that you have data in
the interval from 3.69 s to 4.69 s. If you change this in the main file, the
model will load (at least it did for me).I hope this helps you.Best
regardsMichael To: anyscript@yahoogrou ps.comFrom: marakilo@yahoo. comDate: Fri,
9 May 2008 02:34:19 -0700Subject: Re: [AnyScript] Error Loading a file in
GaitUniMiamiHi MichealI was checking the euler-output file as you mentioned for
me that the time starts at 2.69 and ends at 4.81.My data has a tStart of 3.24
and a tEnd of 4.34so it should not give me this kind of errorFurthermore i
opened the txt with excel and change the first number in the first column to
0.0269 and i think something has been lost or something went wrong and the file
size got lesser maybe becuase it is a
delimited file. so i got the following error during compiling.Evaluatin g
model…ERROR( OBJ.FILE1) : C:\Documents and Settings\marakilo\ Desktop\MyReposi
tory7\Applicatio n\Examples\ GaitUniMiami\ JointsAndDrivers Optimized. any(179)
: 'Jntdriver.FileName ’ : Problem with file : C:\Documents and
Settings\marakilo\ Desktop\MyReposi tory7\Applicatio n\Examples\ GaitUniMiami
output-euler. txt(line #: 29) : Too many values on line in data file.ERROR(OBJ.
FILE1) : C:\Documents and Settings\marakilo\ Desktop\MyReposi tory7\Applicatio
n\Examples\GaitUniM iami\ JointsAndDrivers Optimized. any(179) :
'Jntdriver.FileName ’ : Problem with file : C:\Documents and Settings\marakilo
Desktop\MyReposi tory7\Application\ Examples\ GaitUniMiami\ output-euler. txt :
Too many values on multiple lines in data file.ERROR(OBJ1) : C:\Documents and
Settings\marakilo\ Desktop\MyReposi tory7\Applicatio n\Examples\ GaitUniMiami
JointsAndDrivers Optimized. any(171) :
‘Jntdriver’ : Parametervalues are not monotonically increasing.To keep it on the
safe side, i opened the file again in text and changed 2.69 to 0.0269 and during
compiling i got the same error as before without changing the file size.The
following error isEvaluating model…ERROR( OBJ1) : C:\Documents and
Settings\marakilo\ Desktop\MyReposi tory7\Applicatio n\Examples\ GaitUniMiami
MarkerMover. any(68) : ‘LinDrv’ : Time, ‘t’, has an invalid value for this
interpolationWhat can i do to fix this ?Regards---- - Original Message ----From:
Michael SkipperAndersen <msandersen60@ hotmail.com> To: anyscript@yahoogrou
ps.comSent: Thursday, May 8, 2008 4:22:14 PMSubject: Re: [AnyScript] Error
Loading a file inGaitUniMiamiHey Mike,I actually think this is a problem that
many people will see, but it has slipped our minds in the documentation. So now
I will take the opportunity to explain the problem and also the solution - it is
not so difficult.The problem is
that GaitApplication2wri tes out the joint coordinates in a file named
output-euler. txt and these are used to drive the joint angles in the AnyBody
model. This file contains time as the first column. When you start a new model,
all you have is the old version of this file. Since it is most likely that the
start and end time in the old analysis does not match the analysis you try to do
now, this file will cause the error you see below.Since you do not care what is
in this file now and it will be overwritten later on by GaitApplication2 anyway,
you shouldsimply modify the file such that the first timestep (the number in the
first column) is before or at least at the timestep of your new tStart in
AnyBody.Putting 0.0 instead of whatever number is there already will normally do
the trick.I hope this helps you.Best regardsMichael- ---- Original Message -----
From: Mike Arakilo To: anyscript@yahoogrou ps.com Sent: Thursday, May 08, 2008
5:09 PMSubject: Re:
[AnyScript] ErrorLoading a file in GaitUniMiamiHi MichealThanks for your
valuable reply.The names looked different as on our vicon system it is giving us
Fx1 Fx2 … instead of FPBFx1_2 …I understood that i need to recreate this
environment file at a later stage and i commented out everything in environment
file except the global ref frame as you mentioned.I got another error just in
the end before loading stating the following:Loading Settings Script from :
'C:\Documents and Settings\marakilo\ Local Settings\Applicatio n
Data\AnyBodyTechnol ogy\AnyBody. 3.x.x\Settings. anystSettings loadedLoading
Main : "C:\Documents and Settings\marakilo\ Desktop\MyReposi tory7\Applicatio
n\Examples\ GaitUniMiami\ GaitUniMiami. main.any"Scanning. …Parsing.
.Constructing model tree…Linking identifiers. …Evaluating constants…
Configuring model…Evaluating model…ERROR( OBJ1) : C:\Documents and
Settings\marakilo\ Desktop\MyReposi tory7\Applicatio n\Examples
GaitUniMiami\ MarkerMover. any(68) : ‘LinDrv’ : Time, ‘t’, has an invalid value
for this interpolationDeleti ng last loaded model…Done. Model loading skippedI
didn’t understand either what this is about because i mention in the main file
that time starts at 2.24 and ends at 3.34 with 110 steps AS given my
MArakilo.main in the c3d2any conversion.is there anyway to fix this ?The file is
still uploaded under my section area …Thanks very much for your replyRegarads-
---- Original Message ----From: Michael Skipper Andersen <msandersen60@
hotmail.com> To: anyscript@yahoogrou ps.comSent: Thursday, May 8, 2008 3:46:10
PMSubject: Re: [AnyScript] Error Loading a file in GaitUniMiamiHey Mike,The
error you getis in the Enviroment.any file, where the force plates are created.
However, it looks like your c3d data contains Analog data where the forces are
given different names, and possibly also that they are measured in a different
way (you can verify this by
comparing theTrail13.Analog. any file and your own new file). It is therefore
always a good idea when you start a new model with a different setup to open the
Environment. any file, comment out everything except the definition of the
GlobalRef in the top. In one of the later steps, you will have to re-create this
file to reflect how your forces were measured, but you can wait with that until
after you have gotten the kinematics running.Best regardsMichael Skipper
Andersen---- - Original Message ----- From: marakilo To: anyscript@yahoogrou
ps.com Sent: Thursday, May 08, 2008 2:52 PMSubject: [AnyScript] Error Loading a
file in GaitUniMiamiHiI was trying to load my own data into GaitUniMiami and i
followedallthe steps as specified. I got to step 5 where i need to load my
modeland i got the following error :Loading Main : "C:\Documents andSettings
marakilo\ Desktop\MyReposi tory7\Applicatio n\Examples\ GaitUniMiami
GaitUniMiami. main.any"Scanning.
…Parsing… Constructing model tree…Linking identifiers. .ERROR(SCR. PRS9) :
C:\Documents andSettings\ marakilo\ Desktop\MyReposi tory7\Applicatio
n\Examples\ GaitUniMiami\ Environment. any(277): ‘FPBFx1_2’ : Unresolved
objectDeleting last loaded model…Done. Model loading skippedI have no idea
what does FPBFx1_2 file does and haven’t modified it.Can i get help in it for i
can load the model and able to continue tothe next steps ?Please could you
specify what is the problem and tell me waht i shoulddo to creect it.I have
uploadedGaitUniMiam i in Mike Arakilo’s Filesthanks for your helpRegards[
Non-text portions of this message have been removed]____ ________ _________
_________ _________ ____________ ______ Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile. yahoo.com/
;ylt=Ahu06i62sR 8HDtDypao8Wcj9tA cJ[Non-text portions of this message have been
removed][Non- text portions of this message have been
removed]__ _________ _________ _________ _________ _________ _________ Be a
better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
http://mobile. yahoo.com/ ;ylt=Ahu06i62sR 8HDtDypao8Wcj9tA cJ[Non-text portions
of this message have been removed] ____________ _________ _________ _________
_________ _________ Discover the new Windows Vistahttp:// search.
msn.com/results. aspx?q=windows+ vista&mkt= en-US&form= QBRE[Non-text portions
of this message have been removed]__ ________ _________ _________ _________
_________ _________ Be a better friend, newshound, and know-it-all with Yahoo!
Mobile. Try it now. http://mobile. yahoo.com/ ;ylt=Ahu06i62sR 8HDtDypao8Wcj9tA
cJ[Non-text portionsof this message have been removed]__ _________ _________
_________ _________ _________ _________ Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile. yahoo.com/
;ylt=Ahu06i62sR 8HDtDypao8Wcj9tA cJ[Non-text
portions ofthis message have been removed] ____________ _________ _________
_________ _________ _________ Invite your mail contacts to join your friends
list with Windows Live Spaces. It’s easy
live.com/ spacesapi.
aspx?wx_action= create&wx url=/friends. aspx&mkt= en-us[Non-text portions of
this message have been removed]___ ________ _________ _________ _________
_________ _________ Be a better friend, newshound, and know-it-all with Yahoo!
Mobile. Try it now. http://mobile. yahoo.com/ ;ylt=Ahu06i62sR 8HDtDypao8Wcj9tA
cJ[Non-text portions of this message have been removed]__ _________ _________
_________ _________ _________ _________ Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile. yahoo.com/
;ylt=Ahu06i62sR 8HDtDypao8Wcj9tA cJ[Non-text portions of this message have been
removed] ____________ _________ _________ _________ _________ _________ Connect
to the next generation of MSN
Messenger http://imagine- msn.com/messenge r/launch80/ default.aspx? locale=en-
us&source= wlmailtagline[ Non-text portions of this message have been
removed]__ _________ _________ _________ _________ _________ _________ Be a
better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
http://mobile. yahoo.com/ ;_ylt=Ahu06i62sR 8HDtDypao8Wcj9tA cJ[Non-text portions
of this message have been removed]
Explore the seven wonders of the world
http://search. msn.com/results. aspx?q=7+ wonders+world& mkt=en-US& form=QBRE
[Non-text portions of this message have been removed]
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile. yahoo.com/
;_ylt=Ahu06i62sR 8HDtDypao8Wcj9tA cJ
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]
________________________________________________________________________________\
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
[Non-text portions of this message have been removed]