Is it possible to define 2 joints on single body?

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Mahshida hamid
Posts: 19
Joined: Sun Jan 30, 2022 10:49 am

Is it possible to define 2 joints on single body?

Post by Mahshida hamid » Mon Oct 09, 2023 12:44 am

I am trying to attach a walker on an OpenSim model and as such I need to attach both the left and right hands to the handle of the walker. i tried various methods but it isn't working.
Attachments
Screenshot 2023-09-20 155358.png
Screenshot 2023-09-20 155358.png (97.37 KiB) Viewed 489 times

User avatar
Aaron Fox
Posts: 272
Joined: Sun Aug 06, 2017 10:54 pm

Re: Is it possible to define 2 joints on single body?

Post by Aaron Fox » Mon Oct 09, 2023 10:44 pm

Hi Mahshida,

I recall someone having a similar problem on this forum (it might have been Bas van Hooren) when trying to model the connection between two hands to a barbell for weight lifting exercises; and I think the problem in doing this is that it 'closes' the loop in the model joint definition tree. I'm not sure what the end solution was, but I'm pretty sure what you're proposing (joining both hands to the walker frame) isn't possible. One solution I recall being talked about was to have the object (i.e. walker frame) as two bodies and join these with a weld joint, and then you can attach your hands to each side of the frame individually. I think you still might run into an issue with closing the joint definition tree with this though. I think you get a similar problem when trying to join feet to pedals when simulating cycling, and have seen people address this issue using constraints rather than joints.

Aaron

User avatar
Mohammadreza Rezaie
Posts: 376
Joined: Fri Nov 24, 2017 12:48 am

Re: Is it possible to define 2 joints on single body?

Post by Mohammadreza Rezaie » Thu Oct 26, 2023 6:34 am

Hi Mahshida, thanks for reaching out to me via LinkedIn. I worked on your files, and this is what I'm thinking in your case. Please note that I'm not an expert.

1) separated your walker geometry into two parts (right and left geometries),
2) simulated 90 deg wrist pronation,
3) attached each hand to each walker part using a weld join.
4) converted the walker parts into one rigid body using a weld constraint.

This is not perfect. You may want to adjust the translations/orientations. Now, it's working, if you change the arm, elbow, or hand coordinates, you will see how it moves. You may get assembly solver error. If IK tool couldn't find a good solution, you may need to add more DoF to the joints and/or unclamping/increasing the RoM. Also, don't forget to adjust the mass and inertial properties of the walker parts.
Mahshida.zip
(211.31 KiB) Downloaded 39 times
Also, this software may help build your models efficiently: https://opensimcreator.com/

Hope this helps.
Mohammadreza

User avatar
Mahshida hamid
Posts: 19
Joined: Sun Jan 30, 2022 10:49 am

Re: Is it possible to define 2 joints on single body?

Post by Mahshida hamid » Mon Oct 30, 2023 12:16 am

Thanks a lot rezza

POST REPLY