Real time inverse kinematics and inverse dynamics

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Peter Rück
Posts: 1
Joined: Thu Oct 26, 2023 3:47 am

Real time inverse kinematics and inverse dynamics

Post by Peter Rück » Thu Oct 26, 2023 3:52 am

Hi,

I am currently working on a project where I can move the joints of a model in real time using a pose estimation program (MediaPipe). Then I want to calculate in real time the inverse kinematics and inverse dynamics.

I have not been working with OpenSim for so long and have only been able to realize the joint movements so far. For the inverse kinematic and inverse dynamic calculations, I haven't found anything for my case so far, since I'm working with Python.

I was able to implement the joint movements with the state class (setQ etc. ).

Since the documentation of OpenSim is very extensive, I would be happy if someone could tell me where I can find the relevant information in the documentation or how I could implement my project.

Tags:

User avatar
Nicos Haralabidis
Posts: 192
Joined: Tue Aug 16, 2016 1:46 am

Re: Real time inverse kinematics and inverse dynamics

Post by Nicos Haralabidis » Sun Oct 29, 2023 12:45 pm

Hello Peter,

Have you come across the article by Pizzolato et al. [1] on this type of work? I believe they managed to do what you describe.

Hope that helps,

Nicos

[1] https://www.tandfonline.com/doi/full/10 ... 16.1240789

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

Re: Real time inverse kinematics and inverse dynamics

Post by Mohammadreza Rezaie » Sun Oct 29, 2023 4:27 pm

Hi, I think InverseKinematicsSolver and InverseDynamicsSolver are required. You may find useful functions and codes here: https://github.com/pslade2/RealTimeKin/tree/main

POST REPLY