Search found 14 matches

by Nathan Knodel
Wed Jun 30, 2021 2:07 pm
Forum: OpenSim
Topic: Muscle Via Point Location when not in Coordinate Range
Replies: 0
Views: 170

Muscle Via Point Location when not in Coordinate Range

Hello, I'm working on extracting muscle unit vectors from OpenSim models for given motions collected by motion capture. I recently noticed that some of my unit vectors do not look correct at certain points in time and traced it back to via points (specifically the quadriceps muscles). I understand f...
by Nathan Knodel
Mon Jun 21, 2021 10:46 am
Forum: OpenSim plugin to extract the muscle lines of action
Topic: OpenSim plugin to extract the muscle lines of action Public Forum
Replies: 28
Views: 6008

Re: OpenSim plugin to extract the muscle lines of action Public Forum

Hello,

Is there any update on when the MATLAB version will be released? Additionally, is there a way to select which muscles to run the analysis on if there are additional muscles in the model that you do not wish to receive the results for? Thank you.

Nathan
by Nathan Knodel
Tue Apr 20, 2021 9:53 am
Forum: OpenSim
Topic: MATLAB error with 'getLocation' while trying to get muscle path points
Replies: 5
Views: 663

Re: MATLAB error with 'getLocation' while trying to get muscle path points

Hello, I have since made some progress on my previous question after finding the following forum link: https://simtk.org/plugins/phpBB/viewtopicPhpbb.php?f=91&t=6480&p=31950&start=0&view= However, when implementing this example into my MATLAB program: %% Import opensim modeling library - load model ...
by Nathan Knodel
Mon Apr 19, 2021 7:16 am
Forum: OpenSim
Topic: MATLAB error with 'getLocation' while trying to get muscle path points
Replies: 5
Views: 663

Re: MATLAB error with 'getLocation' while trying to get muscle path points

Got it, thank you for the references. I do have a follow up question regarding my overall goal. I mentioned in my original post that I would like to obtain this information throughout an exercise (i.e. at each time step). If I have the IK results for an exercise using a marker set, how can I accompl...
by Nathan Knodel
Fri Apr 16, 2021 5:19 pm
Forum: OpenSim
Topic: MATLAB error with 'getLocation' while trying to get muscle path points
Replies: 5
Views: 663

Re: MATLAB error with 'getLocation' while trying to get muscle path points

Hi Thomas, Thank you for the reply. Does that mean that the method has changed since my previously mentioned post and that the line should read locInBody = pathPoint.getLocation(state); instead? If so, are there many other instances like this where methods' arguments have changed (specifically from ...
by Nathan Knodel
Fri Apr 16, 2021 12:35 pm
Forum: OpenSim
Topic: MATLAB error with 'getLocation' while trying to get muscle path points
Replies: 5
Views: 663

MATLAB error with 'getLocation' while trying to get muscle path points

Hello, I am trying to write a MATLAB script that will be able to calculate specific muscles' unit vectors and moment arms throughout a specific motion. To do this, I need the muscles' path points. I'm new to scripting in OpenSim's API, and during some searches on the forum came across this thread: h...
by Nathan Knodel
Fri Apr 16, 2021 9:12 am
Forum: OpenSim plugin to extract the muscle lines of action
Topic: OpenSim plugin to extract the muscle lines of action Public Forum
Replies: 28
Views: 6008

Re: OpenSim plugin to extract the muscle lines of action Public Forum

Just wanted to give an update. I tried uninstalling everything and then re-installing once again and this time it is now working. I'm not sure what I was doing incorrectly before, but it's good to go now. Thank you for all of your help. Also, if you're still willing to share your MATLAB script that ...
by Nathan Knodel
Tue Mar 16, 2021 11:16 am
Forum: OpenSim plugin to extract the muscle lines of action
Topic: OpenSim plugin to extract the muscle lines of action Public Forum
Replies: 28
Views: 6008

Re: OpenSim plugin to extract the muscle lines of action Public Forum

If you're willing to share the MATLAB version of the code that would be great. I'll also try what you just suggested, but it may be several days before I get the chance.
by Nathan Knodel
Thu Mar 11, 2021 1:21 pm
Forum: OpenSim plugin to extract the muscle lines of action
Topic: OpenSim plugin to extract the muscle lines of action Public Forum
Replies: 28
Views: 6008

Re: OpenSim plugin to extract the muscle lines of action Public Forum

It turns out that my path variable was set to OpenSim 3.3. I went ahead and changed it to OpenSim 4.1 and attempted to load the plugin into OpenSim 4.1 once again but still got the same error. Not sure if there's anything else that needs changed outside of what was shown in the referenced gif. I may...
by Nathan Knodel
Mon Mar 08, 2021 6:45 am
Forum: OpenSim plugin to extract the muscle lines of action
Topic: OpenSim plugin to extract the muscle lines of action Public Forum
Replies: 28
Views: 6008

Re: OpenSim plugin to extract the muscle lines of action Public Forum

I'm not sure what you mean by path variable, I don't remember that being an option when I installed the software (or is it taken care of in another way?). I don't believe OpenSim was installed incorrectly since I can run all of it's base functionality just fine. Unless you mean for the use of plugin...