Page 1 of 1

Automation of the dynamic simulation

Posted: Thu Apr 24, 2014 1:34 am
by cosimo_989
Hi all,

I have performed Scale, IK, ID, CMC Tools by launching their xml setup files.
I'd like to automate the process by avoiding to load manually for each step the appropriate xml setup file.
So I'd like to know if there is a method by which launch in sequence every tool through the xml setup files.


Thanks very much,
Cosimo

Re: Automation of the dynamic simulation

Posted: Sun Apr 27, 2014 10:47 pm
by jimmy
Hi Cosimo,

To launch each tool in sequence you will have to write scripts that work with the OpenSim API.
runTutorialThree.py (found in the OpenSim 3.2/scripts/GUI_Scripting) is an example of this.

Cheers,
-james

Re: Automation of the dynamic simulation

Posted: Tue Apr 29, 2014 10:57 am
by cosimo_989
Hi James,

thanks very much for your reply.
Watching the TutorialThree I managed to let my script to work as intended.

Now I'm trying to do the same process through Matlab, but I don't have any output results (in the folder CMCResults) from the CMC tool.
I've tried with the command "printResults", but I'm not sure I use it in the appropriate way.

Do you have any ideas?

Thanks very much,
Cosimo