Static Optimization Code

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Alison Rogozinski
Posts: 14
Joined: Tue Jun 07, 2016 7:44 am

Static Optimization Code

Post by Alison Rogozinski » Mon Jun 13, 2016 10:42 am

Currently I am working on a project for work and my static optimization code ran perfectly for the first project. I copied the same code and it is now not working. I keep getting an error when I try and analyze the actuators section. Can anyone help? Thank you!

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

Re: Static Optimization Code

Post by Dimitar Stanev » Wed Jun 15, 2016 1:17 am

What is the error?

User avatar
Alison Rogozinski
Posts: 14
Joined: Tue Jun 07, 2016 7:44 am

Re: Static Optimization Code

Post by Alison Rogozinski » Wed Jun 15, 2016 4:37 am

The error is:
Java exception occurred:
java.io.IOException: Object: ERR- Could not open file Actuators.xmlActuators.xml. It may not exist or you don't have
permission to read it.

at org.opensim.modeling.opensimModelJNI.new_AnalyzeTool__SWIG_2(Native Method)

at org.opensim.modeling.AnalyzeTool.<init>(AnalyzeTool.java:69)

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

Re: Static Optimization Code

Post by Dimitar Stanev » Wed Jun 15, 2016 5:34 am

It can't find the file Actuators.xml, which I suppose you have somewhere. Try to either provide it to SO if you are using the API or double check the path in your static optimization setup file.

User avatar
Alison Rogozinski
Posts: 14
Joined: Tue Jun 07, 2016 7:44 am

Re: Static Optimization Code

Post by Alison Rogozinski » Wed Jun 15, 2016 5:51 am

How can i prove it to the SO that I have it? Or where can i see the path to check if it is wrong?

POST REPLY