minor inconsistencies with the Arnold's model in OpenSim 4.0

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Arash Mohammadzadeh Gonabadi
Posts: 34
Joined: Sun Sep 10, 2017 10:44 am

minor inconsistencies with the Arnold's model in OpenSim 4.0

Post by Arash Mohammadzadeh Gonabadi » Wed Jul 24, 2019 10:24 pm

Hello all,

I have a question about Arnold's model (Lower Limb Model 2010). The following link is the model:
https://simtk.org/projects/lowlimbmodel09

=> When I run this model in OpenSim 3.3 (GUI) and extract the IK results, everything seems good.

=> But, When I run this model in OpenSim 4.0 (GUI) and extract the IK results, there are some conflicts and issues.
I noticed that there are some minor inconsistencies with the Arnold model. For example, it appears that the joint angle and joint angular velocity for the left hip and right knee are stored in degrees, and the right hip and the left knee is in radians.

I was wondering if someone could help me. Also, I have attached the files.
OpenSim - Arnold's model.rar
(378.41 KiB) Downloaded 20 times
Thank you so much.

Best,
Arash

Tags:

User avatar
jimmy d
Posts: 1375
Joined: Thu Oct 04, 2007 11:51 pm

Re: minor inconsistencies with the Arnold's model in OpenSim 4.0

Post by jimmy d » Sun Jul 28, 2019 11:01 am

Hi, Arash-

There have been changes in 4.0 with how motion types are specified which cause the behavior your describing. The details are in the OpenSim changelog with the relevant part below;
The MotionType of a Coordinate is now fully determined by the Joint. The user cannot set the MotionType for a Coordinate. There are instances such as in the leg6dof9musc and Rajagopal2015 models, where a Coordinate was assigned an incorrect type (e.g. when a coordinate of a CustomJoint is not a measure of a Cartesian angle). In 4.0, the coordinate is correctly marked as Coupled since a function couples the coordinate value to the angular displacement of the patella in Cartesian space. NOTE, this causes issues (e.g. opensim-org/opensim-gui#617, #2088) when using kinematics files generated in 3.3 (or earlier) where Rotational coordinates have been converted to degrees. Because OpenSim 4.0 does not recognize the coordinate's MotionType to be Rotational it will not convert it back to radians internally.
Cheers,
-James

User avatar
Arash Mohammadzadeh Gonabadi
Posts: 34
Joined: Sun Sep 10, 2017 10:44 am

Re: minor inconsistencies with the Arnold's model in OpenSim 4.0

Post by Arash Mohammadzadeh Gonabadi » Tue Jul 30, 2019 9:08 pm

Thanks a lot, James.
It was really helpful. I really do appreciate your consideration.

Best,
Arash

POST REPLY