Hi,
I’m new around here so hope I’m posting this in the correct section.
I’m using Vicon Bodybuilder to build a model of the lower limbs. I’m trying to write in BodyLanguage code to define the pelvis using the CODA method, which defines the pelvis segment origin as the mid-point between ASIS markers and the hip joint centres as:
RightHipJC=(0.36*ASIS Distance,-0.19*ASIS Distance,-0.3*ASIS Distance)
LeftHipJC=(-0.36*ASIS Distance,-0.19*ASIS Distance,-0.3*ASIS Distance)
My BodyLanguage code so far is:
The issue I’m having is that the vector I’m adding to the pelvis origin (i.e. {(0.19*InterAsisDist),(-0.36*InterAsisDist),(-0.3*InterAsisDist)} ) is relative to the global coordinate system, not the local coordinate system of the pelvis. This is a problem when the pelvis rotates; the hip joint centres do not rotate with it!
Can anyone help re how to apply the rotation of the pelvis in the above coding, or how to define the hip joint centres relative to the pelvis coordinate frame instead of the global. Any ideas are greatly appreciated!
I’m new around here so hope I’m posting this in the correct section.
I’m using Vicon Bodybuilder to build a model of the lower limbs. I’m trying to write in BodyLanguage code to define the pelvis using the CODA method, which defines the pelvis segment origin as the mid-point between ASIS markers and the hip joint centres as:
RightHipJC=(0.36*ASIS Distance,-0.19*ASIS Distance,-0.3*ASIS Distance)
LeftHipJC=(-0.36*ASIS Distance,-0.19*ASIS Distance,-0.3*ASIS Distance)
My BodyLanguage code so far is:
Code:
PelvisOrigin=(RASIS+LASIS)/2 Sacrum=(RPSIS+LPSIS)/2 Pelvis=[PelvisOrigin,(RASIS-PelvisOrigin),(Sacrum-PelvisOrigin),xzy] InterAsisDist=DIST(LASIS,RASIS) LHJC=PelvisOrigin+{(0.19*InterAsisDist),(-0.36*InterAsisDist),(-0.3*InterAsisDist)} RHJC=PelvisOrigin+{(0.19*InterAsisDist),(0.36*InterAsisDist),(-0.3*InterAsisDist)} Output(LHJC,RHJC)
Can anyone help re how to apply the rotation of the pelvis in the above coding, or how to define the hip joint centres relative to the pelvis coordinate frame instead of the global. Any ideas are greatly appreciated!
Comment