u0078867 / ulema-ul-analyzer

U.L.E.M.A. is a MATLAB-based GUI tool (for Windows) for quickly processing motion capture data (C3D files) relative to upper limb movements
18 stars 7 forks source link

Lab reference frame to global body frame #14

Closed Robert-Steidl closed 10 years ago

Robert-Steidl commented 10 years ago

Do I have to take care about the orientation of the lab frame axes and the global body frame axes (for example x-axis of the global body frame in the same direction of the x-axis of the lab frame, y-axis o y-axis and so on) or is there no influence from the orientation on the results?

u0078867 commented 10 years ago

Hello Robert,

the orientation of the laboratory reference frame only matters if, in the Kinematics settings, you choose Laboratory Reference Frame, under Absolute Angles. In this case, for all the joints indicated as follow in a BodyMech file (proximal segment set to 0):

CreateBodyJoint('joint_name', joint_idx, [dist_seg_idx 0], decomp_seq_array,'solution type');

the proximal segment will be considered as the Laboratory Reference Frame setting (the string will be parsed in MATLAB). This can be convenient for visrtually rotating the lab refrence frame to be aligned to thorax anatomical reference frame, for instance.

Regards, Davide