Automation of the dynamic simulation

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Cosimo Aloisi
Posts: 11
Joined: Sun Feb 16, 2014 11:14 am

Automation of the dynamic simulation

Post by Cosimo Aloisi » Thu Apr 24, 2014 1:34 am

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

User avatar
jimmy d
Posts: 1375
Joined: Thu Oct 04, 2007 11:51 pm

Re: Automation of the dynamic simulation

Post by jimmy d » Sun Apr 27, 2014 10:47 pm

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

User avatar
Cosimo Aloisi
Posts: 11
Joined: Sun Feb 16, 2014 11:14 am

Re: Automation of the dynamic simulation

Post by Cosimo Aloisi » Tue Apr 29, 2014 10:57 am

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

POST REPLY