Hello
Bing me a question when I read the model file, Why the knee_r and knee_l joint locations in the parent frame which is the femur frame, are zero in the models? I have been checked "gait2392" and "gait2354"
Please see the attached file.
Best regards
Soroosh
joint location in parent frame
- soroosh bagheri
- Posts: 15
- Joined: Sat Jan 28, 2017 1:27 am
- Thomas Uchida
- Posts: 1793
- Joined: Wed May 16, 2012 11:40 am
Re: joint location in parent frame
The motion of the knee is defined by a CustomJoint, where "the child body moves with respect to the parent as a function of the generalized coordinates." The SpatialTransform contains the functions that define how the joint moves. For the knee joint, the SimmSpline functions that define the location of the child (knee) frame's origin are defined relative to the femur frame. Note that the SimmSpline for "translation2" is the following:
For example, when knee_angle_r = -2.0944 radians = -120 degrees, the origin of the child frame is located 42.26 cm away from the origin of the parent frame along the -Y axis. More information about these models can be found on the "Gait 2392 and 2354 Models" page in the documentation (https://simtk-confluence.stanford.edu:8 ... 354+Models) and in the publications listed at the bottom of that page.
Code: Select all
<x> -2.0944 -1.22173 -0.523599 -0.349066 -0.174533 0.159149 2.0944</x>
<y> -0.4226 -0.4082 -0.399 -0.3976 -0.3966 -0.395264 -0.396</y>
- soroosh bagheri
- Posts: 15
- Joined: Sat Jan 28, 2017 1:27 am
Re: joint location in parent frame
Thank you for your clear explanation. I should have searched more before.
Thanks again.
Thanks again.