Search found 17 matches

by Martin Mössner
Wed Jun 03, 2020 9:51 am
Forum: Model with Knee Ligaments
Topic: Version for OpenSim 4.0
Replies: 1
Views: 502

Version for OpenSim 4.0

I would be very interested in experimenting with this model.
Unfortunately the model does not work with OpenSim 4.0.
I can open the model with OpenSim 4.0, but a StaticOptimization does not work.

Does anybody know, why?
Does there exist an upgrade for OpenSim 4.0.

Sincerely, Martin
by Martin Mössner
Wed Aug 14, 2019 4:56 am
Forum: OpenSim
Topic: Differences OpenSim 3.3 versus 4.0
Replies: 3
Views: 561

Re: Differences OpenSim 3.3 versus 4.0

I would have another question. Is there a function to get the OpenSim version in Matlab. It would be convenient to have code, like: version = ... if (version == 3.3) % specific code for OpenSim 3.3 % set options for 3.3 elseif (version == 4.0) % specific code for OpenSim 4.0 % set options for 4.0 el...
by Martin Mössner
Wed Aug 14, 2019 12:56 am
Forum: OpenSim
Topic: Differences OpenSim 3.3 versus 4.0
Replies: 3
Views: 561

Re: Differences OpenSim 3.3 versus 4.0

Thanks Ayman, your link gave me some clues, but did not resolve the problem. After some search I found the problem: Some options in the configuration files have to be changed. The problem arises, because OpenSim uses a standard value, whenever the user uses an option which is not appropriate/impleme...
by Martin Mössner
Mon Aug 12, 2019 2:29 am
Forum: OpenSim
Topic: Differences OpenSim 3.3 versus 4.0
Replies: 3
Views: 561

Differences OpenSim 3.3 versus 4.0

We are working on an OpenSim project that does a static optimization and a joint reaction analysis for a simple squat movement. We use either the OpenSim model of Rajagopal or that of Catelli. With contrast to the normal gait model these models implement a patella. External forces are a vertical for...
by Martin Mössner
Mon Aug 05, 2019 5:58 am
Forum: OpenSim
Topic: knee modelin in opensim
Replies: 0
Views: 267

knee modelin in opensim

Hi there, we are trying to calculate the ACL loads. For this we have chosen following approach: 1) Chose a OpenSim model with approriate knee modeling 2) Chose a posture, e.g a standing position with knee flexed to some extent 3) Chose a loading: e.g. a normal force compensating the weight and (!) s...
by Martin Mössner
Tue May 21, 2019 8:30 am
Forum: OpenSim
Topic: Geometry files *.vtp not found in Matlab
Replies: 2
Views: 559

Re: Geometry files *.vtp not found in Matlab

The thread "Interfacing matlab with opensim" brought me the solution.
In my case following code works:

Code: Select all

   import org.opensim.modeling.*
   p='c:\pgm\OpenSim40\Geometry';
   ModelVisualizer.addDirToGeometrySearchPaths(p);
   model=Model('myopensimmodel.osim');
by Martin Mössner
Tue May 21, 2019 7:54 am
Forum: OpenSim
Topic: Geometry files *.vtp not found in Matlab
Replies: 2
Views: 559

Geometry files *.vtp not found in Matlab

My Matlab program complains about not finding the geometry files *.vtp.
Is there a possibility to set the geometry path either by an environment variable in windows or by
a command in Matlab?
Maybe I have to edit OpenSim model file and use full pathnames for the vtp-files.

Thank you
by Martin Mössner
Wed May 15, 2019 3:50 am
Forum: OpenSim
Topic: analysistool, jointreaction analysis, muscle foces file, matlab
Replies: 10
Views: 1739

Re: analysistool, jointreaction analysis, muscle foces file, matlab

@Aaron .. the most working time is spent in the Static Optimization for the calculations
by Martin Mössner
Tue May 14, 2019 5:41 am
Forum: OpenSim
Topic: analysistool, jointreaction analysis, muscle foces file, matlab
Replies: 10
Views: 1739

Re: analysistool, jointreaction analysis, muscle foces file, matlab

Aaron I understand your approach ;) ... but I start with a working configuration file that works with the GUI in a single case. In the next step I write Matlab code that does the same. And in the third step I write a loop to do parameter studies. In my case the simplest way would be just to change t...
by Martin Mössner
Mon May 13, 2019 4:33 am
Forum: OpenSim
Topic: analysistool, jointreaction analysis, muscle foces file, matlab
Replies: 10
Views: 1739

Re: analysistool, jointreaction analysis, muscle foces file, matlab

Thanks @Aaron, thanks @James your comments lead to a working version ... I already figured out that getAnalysisSet() gives a list of analyses Here is my code. There are some questions, improvements I would like to add. name0 = 'JointReaction' cfg1 = ['cfg_',name0,'.xml'] a = AnalyzeTool(cfg1); a.set...