part defined Hinge joint but it rotating in circumference of circle path
- pavan guled
- Posts: 19
- Joined: Mon Aug 07, 2017 9:42 am
part defined Hinge joint but it rotating in circumference of circle path
Hi all,
I have defined a custom joint similar to that of between Humerus(P) and Ulna radius hand(B) to the links of a manipulator, but thing is Joint as to perform like a hinge but it(B) rotating like following a circumference of the circle. So how to resolve this ?
Thanks and regards,
Pavan G
I have defined a custom joint similar to that of between Humerus(P) and Ulna radius hand(B) to the links of a manipulator, but thing is Joint as to perform like a hinge but it(B) rotating like following a circumference of the circle. So how to resolve this ?
Thanks and regards,
Pavan G
- Thomas Uchida
- Posts: 1793
- Joined: Wed May 16, 2012 11:40 am
Re: part defined Hinge joint but it rotating in circumference of circle path
It sounds like you should be using a pin joint instead (https://simtk.org/api_docs/opensim/api_ ... Joint.html).Joint as to perform like a hinge
- pavan guled
- Posts: 19
- Joined: Mon Aug 07, 2017 9:42 am
Re: part defined Hinge joint but it rotating in circumference of circle path
Hi Thomas,
Thanks for your reply, If i use Pin Joint then," one coordinate about the common Z-axis of parent and child joint frames" will happens but i want about the x-axis, so using custom joint.
Thanks and regards,
Pavan G
Thanks for your reply, If i use Pin Joint then," one coordinate about the common Z-axis of parent and child joint frames" will happens but i want about the x-axis, so using custom joint.
Thanks and regards,
Pavan G
- pavan guled
- Posts: 19
- Joined: Mon Aug 07, 2017 9:42 am
Re: part defined Hinge joint but it rotating in circumference of circle path
Hi,
And below you can find image of my problem.
And below you can find image of my problem.
- Thomas Uchida
- Posts: 1793
- Joined: Wed May 16, 2012 11:40 am
Re: part defined Hinge joint but it rotating in circumference of circle path
You should still use a pin joint---just provide the orientationInParent and orientationInBody arguments. See the "Adding the Joint for the Platform Body" section on this page: https://simtk-confluence.stanford.edu/d ... lker+Model.If i use Pin Joint then," one coordinate about the common Z-axis of parent and child joint frames" will happens but i want about the x-axis, so using custom joint.
- pavan guled
- Posts: 19
- Joined: Mon Aug 07, 2017 9:42 am
Re: part defined Hinge joint but it rotating in circumference of circle path
Hi Thomas,
Actually it solved co-ordinate issue, but the rotation of the part/body continues same as that of above, it's not acting like a hinge, Do i need to give any wrapObject/Constraint anything there? to remain part attached and only to swing ?
Thanks and regards,
Pavan G
Actually it solved co-ordinate issue, but the rotation of the part/body continues same as that of above, it's not acting like a hinge, Do i need to give any wrapObject/Constraint anything there? to remain part attached and only to swing ?
Thanks and regards,
Pavan G
- Thomas Uchida
- Posts: 1793
- Joined: Wed May 16, 2012 11:40 am
Re: part defined Hinge joint but it rotating in circumference of circle path
Please upload your model file.
- pavan guled
- Posts: 19
- Joined: Mon Aug 07, 2017 9:42 am
Re: part defined Hinge joint but it rotating in circumference of circle path
HI,
Here is the file .
Thanks and regards,
Pavan G
Here is the file .
Thanks and regards,
Pavan G
- Thomas Uchida
- Posts: 1793
- Joined: Wed May 16, 2012 11:40 am
Re: part defined Hinge joint but it rotating in circumference of circle path
You have not provided the geometry files ("NAssem - Nlink1-1.STL" and "NAssem - Nlink2-1.STL") so I can't reproduce the issue. Note, however, that the multibody system is defined independently of the geometry you attach to the bodies for visualization, so you might try using existing geometry files first (e.g., from the arm26 model). Once the mechanism is defined, you could then replace the arm26 geometry with your own.
- pavan guled
- Posts: 19
- Joined: Mon Aug 07, 2017 9:42 am
Re: part defined Hinge joint but it rotating in circumference of circle path
Hi Thomas,
Thanks a lot for your time. Sorry, forget to add the files. So here are the parts , , since it was not allowing me to add .stl files , I just renamed at the end by .osim. Please rename it by .stl once you download.
Thanks and regards,
Pavan G
Thanks a lot for your time. Sorry, forget to add the files. So here are the parts , , since it was not allowing me to add .stl files , I just renamed at the end by .osim. Please rename it by .stl once you download.
Thanks and regards,
Pavan G