Muscle Analysis

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
User avatar
Thomas Uchida
Posts: 1800
Joined: Wed May 16, 2012 11:40 am

Re: Muscle Analysis

Post by Thomas Uchida » Thu Feb 23, 2017 4:55 pm

In case you haven't contacted Ajay yet, this issue appears to be related to a bug in 3.3. Sorry I didn't know that. Here's the GitHub issue:
MomentArmSolver was assuming vector of mobilizedBodyForces equivalent to the number of OpenSim bodies, but we are allowing Joints to be composed of multiple mobilized bodies internally and consequently, the size was wrong. The fix was to use the system sized vector of mobilizedBodyForces.

Dimitra Blana discovered this bug trying to plot moment-arms in 3.3 (and 3.2) for the Scapulothoracic joint (plugin). The moment-arm calculation in 2.4 was different (i.e. there was no MomentArmsSolver).
This issue should be fixed in 4.0.

User avatar
Kathleen Lewicki
Posts: 21
Joined: Wed Jun 24, 2015 6:48 am

Re: Muscle Analysis

Post by Kathleen Lewicki » Fri Feb 24, 2017 5:17 am

Hi Tom,

Thanks for following up. I had already contacted Ajay and he was aware of the problem so he's going to help me out and see if there's a way to get the fix to me. I really appreciate your diligence and quick responses to all these questions.

Thanks again!
Kathleen

User avatar
Pierre PUCHAUD
Posts: 6
Joined: Sun Oct 04, 2015 6:13 am

Re: Muscle Analysis

Post by Pierre PUCHAUD » Fri May 12, 2017 3:48 am

Hi,

I'm getting the same error for the same problematic on musculoskeletal model using the scapulothoracic joint.

Code: Select all

SimTK Exception thrown at SimbodyMatterSubsystem.cpp1090 
  Error detected by Simbody method SimbodyMatterSubsystemmultiplyBySystemJacobianTranspose() The supplied spatial forces vector had length 33; expected 37. 
  (Required condition 'F_G.size() == nb' was not met.)
Thank you both of you for your pieces of advice. I was wondering if there is any updating concerning this issue on computing moment arms ?

My second question is, when the opensim 4.0 will be release ?

Best regards,

Pierre.

User avatar
Gabriel Oliveira
Posts: 5
Joined: Thu Apr 20, 2017 3:51 pm

Re: Muscle Analysis

Post by Gabriel Oliveira » Fri Sep 01, 2017 6:39 am

Hi everyone,

I am getting the same error too.

If you have some new about it, please let me now.

Thank you

POST REPLY