some questions (yi wang)
Posted: Fri Aug 06, 2010 4:00 am
Thanks deeply!I'm using the toolkit and I can't help to say this is really great!
I encountered two problems now, any help would be thankful.
1. When running the testWalking, the toolkit could not continue when showing "the file testWalking_myEMG.mot could not be read", I don't know why because that file has been generated at that time.
2. I really got confused about the coordinate system transforming formulas. As you mentioned in the user's manual, "
% This section sets transformation vectors that are crucial to the
% rigid body transformations needed between the Force Plate, Vicon,
% and the Model coordinate systems.
%
% Example: FP coord system -> Model coord system
% glab.dirVec.FPMODEL(3,:) = [2 -3 -1];
%
% MODEL X = FP Y
% MODEL Y = FP -Z
% MODEL Z = FP -X
then in my thought, 2 lines of that are enough for the transforms among 3 coordinate systems, why need 8 lines like below in the "LOADLABLES.M"?
% X direction (Vicon) Gait -> transformation vectors
glab.dirVec.FPMODEL(1,:) = [-1 -3 -2]; % FP coord system -> Model coord system
glab.dirVec.VICMODEL(1,:) = [1 3 -2]; % Vicon coord system -> Model coord system
% -X direction (Vicon) Gait -> transformation vectors
glab.dirVec.FPMODEL(2,:) = [1 -3 2]; % FP coord system -> Model coord system
glab.dirVec.VICMODEL(2,:) = [-1 3 2]; % Vicon coord system -> Model coord system
% Y direction (Vicon) Gait -> transformation vectors
glab.dirVec.FPMODEL(3,:) = [2 -3 -1]; % FP coord system -> Model coord system
glab.dirVec.VICMODEL(3,:) = [2 3 1]; % Vicon coord system -> Model coord system
% -Y direction (Vicon) Gait -> transformation vectors
glab.dirVec.FPMODEL(4,:) = [-2 -3 1]; % FP coord system -> Model coord system
glab.dirVec.VICMODEL(4,:) = [-2 3 -1]; % Vicon coord system -> Model coord system
Anyone mind sparing a little to explain? Thanks!
Yi.
I encountered two problems now, any help would be thankful.
1. When running the testWalking, the toolkit could not continue when showing "the file testWalking_myEMG.mot could not be read", I don't know why because that file has been generated at that time.
2. I really got confused about the coordinate system transforming formulas. As you mentioned in the user's manual, "
% This section sets transformation vectors that are crucial to the
% rigid body transformations needed between the Force Plate, Vicon,
% and the Model coordinate systems.
%
% Example: FP coord system -> Model coord system
% glab.dirVec.FPMODEL(3,:) = [2 -3 -1];
%
% MODEL X = FP Y
% MODEL Y = FP -Z
% MODEL Z = FP -X
then in my thought, 2 lines of that are enough for the transforms among 3 coordinate systems, why need 8 lines like below in the "LOADLABLES.M"?
% X direction (Vicon) Gait -> transformation vectors
glab.dirVec.FPMODEL(1,:) = [-1 -3 -2]; % FP coord system -> Model coord system
glab.dirVec.VICMODEL(1,:) = [1 3 -2]; % Vicon coord system -> Model coord system
% -X direction (Vicon) Gait -> transformation vectors
glab.dirVec.FPMODEL(2,:) = [1 -3 2]; % FP coord system -> Model coord system
glab.dirVec.VICMODEL(2,:) = [-1 3 2]; % Vicon coord system -> Model coord system
% Y direction (Vicon) Gait -> transformation vectors
glab.dirVec.FPMODEL(3,:) = [2 -3 -1]; % FP coord system -> Model coord system
glab.dirVec.VICMODEL(3,:) = [2 3 1]; % Vicon coord system -> Model coord system
% -Y direction (Vicon) Gait -> transformation vectors
glab.dirVec.FPMODEL(4,:) = [-2 -3 1]; % FP coord system -> Model coord system
glab.dirVec.VICMODEL(4,:) = [-2 3 -1]; % Vicon coord system -> Model coord system
Anyone mind sparing a little to explain? Thanks!
Yi.