Moment arm calculation help needed
Posted: Tue Oct 23, 2018 4:16 pm
Hello,
I'm trying to calculate the moment arms in Matlab with wrapping point coordinates copied from OpenSim and my values are not matching up. The methodology I'm using is from Hoy, et al.: http://e.guigon.free.fr/rsc/article/HoyEtAl90.pdf
"We calculated the moment arm as the cross product between the vector connecting the joint center to the origin (insertion), and the unit vector connecting the origin (insertion) to the insertion (origin), using actual origin and insertion coordinates, except when effective ones exist."
Is this how it is calculated in OpenSim? Can someone provide an equation, a link to the source code, and a link to API documentation?
I'm trying to calculate the moment arms in Matlab with wrapping point coordinates copied from OpenSim and my values are not matching up. The methodology I'm using is from Hoy, et al.: http://e.guigon.free.fr/rsc/article/HoyEtAl90.pdf
"We calculated the moment arm as the cross product between the vector connecting the joint center to the origin (insertion), and the unit vector connecting the origin (insertion) to the insertion (origin), using actual origin and insertion coordinates, except when effective ones exist."
Is this how it is calculated in OpenSim? Can someone provide an equation, a link to the source code, and a link to API documentation?