Search found 30 matches

by Glen Lichtwark
Tue Jul 05, 2022 11:46 pm
Forum: OpenSim
Topic: OpenSim API: problem of muscle force velocity function with Millard muscle type
Replies: 13
Views: 5593

Re: OpenSim API: problem of muscle force velocity function with Millard muscle type

I believe this is a problem with the implementation via Millard muscle type. After setting the states in the model I have been calling the following - Mod.realizePosition(state); Mod.realizeVelocity(state); Mod.equilibrateMuscles(state); When I do this, the I get force calculations, but the fibre ve...
by Glen Lichtwark
Tue May 05, 2015 5:02 pm
Forum: OpenSim
Topic: error in reporting marker locations from IK
Replies: 1
Views: 1349

error in reporting marker locations from IK

We have been having some problems running inverse kinematics via the command line executable (via Matlab). IK works fine when ‘ReportMarkerLocations’ and ‘ReportErrors’ is set to false, however when set to true an error box saying 'ik.exe failed to work' pops up. We have the same error on both 64bit...
by Glen Lichtwark
Sun Sep 21, 2014 2:15 pm
Forum: OpenSim
Topic: Subject-specific muscle parameters
Replies: 2
Views: 1393

Re: Subject-specific muscle parameters

This is an interesting question. Generally, there is not a strong relationship between an anthropometric variable like height or leg length and muscle fibre lengths in more distal muscles that have long tendons and short fibres (e.g. gastroc, soleus, tib ant). There is very large variation which is ...
by Glen Lichtwark
Sun Sep 21, 2014 2:04 pm
Forum: OpenSim
Topic: ligament models
Replies: 13
Views: 12625

Re: ligament models

The ligament models are very sensitive to the resting length, and this needs to be scaled along with the origin and insertion points. If you take your model through the range of motion at the joint of interest and calculate the tension in the ligaments, then be careful to make sure this tension deve...
by Glen Lichtwark
Thu Sep 11, 2014 2:13 am
Forum: OpenSim
Topic: ligament models
Replies: 13
Views: 12625

Re: ligament models

Thanks for this Sherm. This is exactly what I expected after looking into the visualiser code. The getMultibodyDynamics class is not exposed such that it can be accessed from Matlab or Python, however after looking at some previous posts I was able to achieve the same thing using - model.computeStat...
by Glen Lichtwark
Wed Sep 10, 2014 4:54 am
Forum: OpenSim
Topic: ligament models
Replies: 13
Views: 12625

Re: ligament models

Yes, Luca. I have also found this to be the case. In which case there must be something called within the visualiser that adjusts the states properly. Does anyone know what this step is so I can call it directly from the API?
by Glen Lichtwark
Thu Aug 28, 2014 4:47 am
Forum: OpenSim
Topic: ligament models
Replies: 13
Views: 12625

Re: ligament models

Sorry to keep reposting on my own post - but it seems that the path scaling is NOT working in the current version. At least in my implementation using the ScaleTool.
by Glen Lichtwark
Tue Aug 26, 2014 5:40 am
Forum: OpenSim
Topic: ligament models
Replies: 13
Views: 12625

Re: ligament models

Some things I have learnt about the following questions through exploration and communication with Ayman Habib (thanks Ayman) What do the x-values for the force-length relationship represent? The equation used to calculate ligament force or tension is Tension = forceLengthCurve(path.getLength(s)/res...
by Glen Lichtwark
Thu Aug 21, 2014 2:57 am
Forum: OpenSim
Topic: ligament models
Replies: 13
Views: 12625

Re: ligament models

I just wanted to add that I have been able to fix the problem with the 'getTension' method. Somewhere along the line the states that I were not adjusting were being reset to some default values which was causing the crash.
by Glen Lichtwark
Wed Aug 20, 2014 5:59 am
Forum: OpenSim
Topic: ligament models
Replies: 13
Views: 12625

ligament models

Hi everyone, I was wondering if someone may be able to help me out with regard to the Ligament model in the latest version of Opensim (3.2). I have read a few recent posts, but I would like the following to be clarified - How does the 'pcsa' value scale the ligament force-length relationship. Does i...