Search found 7 matches

by Alex Wilson
Wed Dec 02, 2015 1:21 pm
Forum: OpenSim
Topic: Static Optimisation API Linux
Replies: 15
Views: 2382

Re: Static Optimisation API Linux

Hi Chris, I see. However, now I get the following Java problem. Java exception occurred: java.io.IOException: Object: ERR- Could not open file ExternalLoads.xml. It may not exist or you don't have permission to read it. at org.opensim.modeling.opensimModelJNI.AnalyzeTool_run__SWIG_0(Native Method) a...
by Alex Wilson
Tue Dec 01, 2015 6:53 pm
Forum: OpenSim
Topic: Static Optimisation API Linux
Replies: 15
Views: 2382

Re: Static Optimisation API Linux

Hi Chris many thanks for your help. These are now the files I am using, along with a MATLAB script to invoke the calling of the analyse tool from the command line. My output file is also attached. - Alex MATLAB filepath = '"D:\Users\awil749\Documents\ProcessedData3DOF\1017\Walk\Walk_11\'; xmlfilepat...
by Alex Wilson
Tue Dec 01, 2015 5:48 pm
Forum: OpenSim
Topic: Static Optimisation API Linux
Replies: 15
Views: 2382

Re: Static Optimisation API Linux

Hi Chris,

Yes I believe I do have absolute paths.

All my files are on D drive so that should not be an issue (including OpenSim due to administration rights).

How would I define a relative path for all the files that are in the same folder?

Cheers,
Alex
by Alex Wilson
Tue Dec 01, 2015 4:30 pm
Forum: OpenSim
Topic: Static Optimisation API Linux
Replies: 15
Views: 2382

Re: Static Optimisation API Linux

Hi Chris,

Currently all my files are local to the trial, and are all located in the same directory. I have attached my ExternalLoads and setup files, can you see a bug or why the filenames are incorrect?

Alex
by Alex Wilson
Tue Dec 01, 2015 12:57 pm
Forum: OpenSim
Topic: Static Optimisation API Linux
Replies: 15
Views: 2382

Re: Static Optimisation API Linux

Hi Christopher,

I have tried using the analyze tool on my windows machine but with no success.

On your Ubuntu 14.04, what scripts do you use for the API? My issue seems to be around the external loads files and relative filepathing.
by Alex Wilson
Sun Nov 29, 2015 1:51 pm
Forum: OpenSim
Topic: Static Optimisation API Linux
Replies: 15
Views: 2382

Re: Static Optimisation API Linux

In the linked thread, how are all the relative filepaths defined? That is currently my issue when previously trying to use the API.

Also, will the analyze tool work in Linux?
by Alex Wilson
Wed Nov 25, 2015 5:39 pm
Forum: OpenSim
Topic: Static Optimisation API Linux
Replies: 15
Views: 2382

Static Optimisation API Linux

Hi all,

Does anybody have experience running Static Optimisation on Linux through either scripting or using the API?

Many thanks in advance!

Alex