Page 1 of 1
Static Optimization Code
Posted: Mon Jun 13, 2016 10:42 am
by alisonrogo
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!
Re: Static Optimization Code
Posted: Wed Jun 15, 2016 1:17 am
by mitkof6
What is the error?
Re: Static Optimization Code
Posted: Wed Jun 15, 2016 4:37 am
by alisonrogo
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)
Re: Static Optimization Code
Posted: Wed Jun 15, 2016 5:34 am
by mitkof6
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.
Re: Static Optimization Code
Posted: Wed Jun 15, 2016 5:51 am
by alisonrogo
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?