issue with updating Simm Spline at the knee
Posted: Mon Mar 30, 2015 9:21 pm
Hi All,
I have been playing around with the 2392 model, moving the yamaguchi knee to different locations to test a separate knee mechanism we are using. I have found that if I change the location of the joint medial or lateral I don't have any issues.
Pseudo Code:
1) get model
2) instantiate
3) get joint set
4) index to 'knee_r'
5) apply vector (0 0 -0.02) to parent and child locations
6) print
So far so good, the spline translations at the knee function exactly as specified in 2392 as a function of flexion angle.
Then as a separate test I am modifying the the vertical position of the joint as well.
Pseudo Code:
Same as above, except
5) apply vector (0 -0.035 -0.02) for example. (The second entry is different from above)
Now when I print what I get is the joint in the correct spot, however when I toggle the knee flexion in the coordinate pane the knee only appears to rotate and there no corresponding translations, neither in the x or y directions.
This is very odd to me because I have not touched the transform axes or functions, used only the API to construct and print the model, used a generic model from the version release which I have tested and works.
My conclusion: for some reason the vertical offset I've applied is the issue. Why?
Has anyone experienced this issue at the knee or other joints?
Best,
David
I have been playing around with the 2392 model, moving the yamaguchi knee to different locations to test a separate knee mechanism we are using. I have found that if I change the location of the joint medial or lateral I don't have any issues.
Pseudo Code:
1) get model
2) instantiate
3) get joint set
4) index to 'knee_r'
5) apply vector (0 0 -0.02) to parent and child locations
6) print
So far so good, the spline translations at the knee function exactly as specified in 2392 as a function of flexion angle.
Then as a separate test I am modifying the the vertical position of the joint as well.
Pseudo Code:
Same as above, except
5) apply vector (0 -0.035 -0.02) for example. (The second entry is different from above)
Now when I print what I get is the joint in the correct spot, however when I toggle the knee flexion in the coordinate pane the knee only appears to rotate and there no corresponding translations, neither in the x or y directions.
This is very odd to me because I have not touched the transform axes or functions, used only the API to construct and print the model, used a generic model from the version release which I have tested and works.
My conclusion: for some reason the vertical offset I've applied is the issue. Why?
Has anyone experienced this issue at the knee or other joints?
Best,
David