Page 1 of 2
part defined Hinge joint but it rotating in circumference of circle path
Posted: Wed May 16, 2018 4:00 am
by pavanguled
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
Re: part defined Hinge joint but it rotating in circumference of circle path
Posted: Wed May 16, 2018 10:22 pm
by tkuchida
Joint as to perform like a hinge
It sounds like you should be using a pin joint instead (
https://simtk.org/api_docs/opensim/api_ ... Joint.html).
Re: part defined Hinge joint but it rotating in circumference of circle path
Posted: Thu May 17, 2018 2:31 am
by pavanguled
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
Re: part defined Hinge joint but it rotating in circumference of circle path
Posted: Thu May 17, 2018 2:53 am
by pavanguled
Hi,
And below you can find image of my problem.
- 1.jpg (76.63 KiB) Viewed 429 times
Re: part defined Hinge joint but it rotating in circumference of circle path
Posted: Thu May 17, 2018 10:02 am
by tkuchida
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.
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.
Re: part defined Hinge joint but it rotating in circumference of circle path
Posted: Sat May 19, 2018 5:16 am
by pavanguled
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
Re: part defined Hinge joint but it rotating in circumference of circle path
Posted: Sat May 19, 2018 4:46 pm
by tkuchida
Please upload your model file.
Re: part defined Hinge joint but it rotating in circumference of circle path
Posted: Sun May 20, 2018 3:16 pm
by pavanguled
HI,
Here is the file .
Thanks and regards,
Pavan G
Re: part defined Hinge joint but it rotating in circumference of circle path
Posted: Sun May 20, 2018 6:37 pm
by tkuchida
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.
Re: part defined Hinge joint but it rotating in circumference of circle path
Posted: Mon May 21, 2018 1:03 am
by pavanguled
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