Issue with Physical offset frame in v4.1

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Alex Noakes
Posts: 7
Joined: Thu Feb 11, 2021 6:55 am

Issue with Physical offset frame in v4.1

Post by Alex Noakes » Fri Feb 19, 2021 2:54 am

Hi,
I'm trying to convert the Caruthers et al sit to stand model from the v3.3 to v4.1 of OpenSim and I'm having an issue with the offset of the pelvis. The interface gives me an error saying "Attempting to assign an invalid SimTK::Mobilizedbodyindex. In object 'pelvis_offset' of type PhysicalOffsetFrame. Thrown at PhysicalFrame.cpp:37 in setMobilizedBodyIndex()." I'm unable to find the item pelvis_offset and therefore cannot understand the issue. Thank you for your help!
Kind regards
Alex

Tags:

User avatar
Ayman Habib
Posts: 2248
Joined: Fri Apr 01, 2005 12:24 pm

Re: Issue with Physical offset frame in v4.1

Post by Ayman Habib » Fri Feb 19, 2021 10:04 am

Hi Alex,

Please post a link to the model (as it is not a model that we regularly distribute/maintain), so we can check it out.

Best regards,
-Ayman

User avatar
Alex Noakes
Posts: 7
Joined: Thu Feb 11, 2021 6:55 am

Re: Issue with Physical offset frame in v4.1

Post by Alex Noakes » Fri Feb 19, 2021 10:16 am

Thank you for responding. The link for the model is below.
https://simtk.org/projects/osufullbody_sts
Cheers
Alex

User avatar
Ayman Habib
Posts: 2248
Joined: Fri Apr 01, 2005 12:24 pm

Re: Issue with Physical offset frame in v4.1

Post by Ayman Habib » Fri Feb 19, 2021 10:32 am

Hello,

The download link states that the model is compatible with version 3.3 so I'm not sure what updates you need to make so it works in version 4.0+ however attempted loading of the model fails due to:
BodySet 'bodyset' has subcomponents with duplicate name 'radius_l'. The duplicate is being renamed to 'radius_l_0'.
JointSet 'jointset' has subcomponents with duplicate name 'sternoclavicular'. The duplicate is being renamed to 'sternoclavicular_0'.
JointSet 'jointset' has subcomponents with duplicate name 'radioulnar_l'. The duplicate is being renamed to 'radioulnar_l_0'

Renaming the bodies/joints causes downstream effects as bodies are not found. We didn't enforce the name uniqueness pre 4.0 but you should manually change the names in the osim file to be unique before attempting to load the model, also a long list of coordinates have inconsistent type which should be fixed according to the release notes of version 4.0.

Hope this helps,
-Ayman

User avatar
Alex Noakes
Posts: 7
Joined: Thu Feb 11, 2021 6:55 am

Re: Issue with Physical offset frame in v4.1

Post by Alex Noakes » Mon Feb 22, 2021 2:01 am

Okay, thank you for you help. Is there any way to download the older 3.3 version of open sim so that I can bypass having to change the code in the model?
Kind regards
Alex

User avatar
Thomas Uchida
Posts: 1793
Joined: Wed May 16, 2012 11:40 am

Re: Issue with Physical offset frame in v4.1

Post by Thomas Uchida » Mon Feb 22, 2021 7:10 pm

Yes- older versions of OpenSim are available on the SimTK project page (https://simtk.org/projects/opensim; click "Downloads" at the top and then expand the "Previous Releases" section under "OpenSim 4.1").

POST REPLY