GaitLowerExtremity won't run from console

Hi,

I’m trying to run the GaitLowerExtremity model from the console. There seems to be issues with reading macros or writing output files. I’ve tried this with the provided model from AMMRV1.1 using both AnyBody 4.1.1 and 4.2.0 and have the same problem with both.

I’m trying to initialise them with the following macros
load “GaitLowerExtremity.main.any”
operation Main.RunMotionAndParameterOptimizationSequence
run
exit

load “GaitLowerExtremity.main.any”
operation Main.InverseDynamicAnalysisSequence
run
exit

Have I made a mistake and have these been run correctly from the console before?

best regards
Alex Purdue

Hi Alex

This is known issue…

The gait models in AMMR1.1 and AMMR1.2 makes use of a sequence of macros which does not currently run in the console application.

As far as i recall, this will be fixed with the next release of AMS.

I am sorry for the inconvenience…

Best regards
Søren

Thanks Soren,

Any idea when that version will be released?

regards,
Alex

Hi Alex

We plan to release a minor update later this year that will fix this problem.

The problem is that the console application does not know how to handle a operation hierarchy which is used by the gait application.

It might be possible to rearrange the gait application in a way that would make it possible to run in the console application, but it will require some amount of rearrangements in the script … if for example it would always save he output in the same file name things could be simplified a bit…

best regards
Søren