Error run analyze tool through command line

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Vinh Nguyen
Posts: 21
Joined: Fri Sep 26, 2014 8:53 pm

Error run analyze tool through command line

Post by Vinh Nguyen » Mon Oct 10, 2016 10:27 am

Hi everyone,

I would like to run Opensim tools through command line. I have no problem with commands "id" or "ik". But when I try to run the command "analyze", it does not work. For example: analyze -S arm26_Setup_InverseDynamics.xml
shows the error "Exception in analyze: AnalysisTool.run: ERROR- no analyses have been set.

Wonder if anyone could help?
Thanks in advance.

User avatar
Dimitar Stanev
Posts: 1096
Joined: Fri Jan 31, 2014 5:14 am

Re: Error run analyze tool through command line

Post by Dimitar Stanev » Mon Oct 10, 2016 11:30 pm

Hi,

You can't provide the same setup of ID into Analyze Tool. If you use the GUI, you will see that there are some differences. Also, you need to add an analysis. You can try to generate the xml file from the GUI and see what you didn't define correctly.

Best

User avatar
Vinh Nguyen
Posts: 21
Joined: Fri Sep 26, 2014 8:53 pm

Re: Error run analyze tool through command line

Post by Vinh Nguyen » Tue Oct 11, 2016 2:43 pm

Thanks Dimitar,

I changed the setup file and now it works.

POST REPLY