Data transfer with inertial sensor system

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Hans-Jochen Edenhart
Posts: 9
Joined: Mon May 06, 2019 2:06 am

Data transfer with inertial sensor system

Post by Hans-Jochen Edenhart » Wed May 22, 2019 4:53 am

hello all.
I am still training to handle OpenSim as part of my practical semester.
My task is to create a new model, but not with motion capture rather with an inertial sensor system (shimmer sensors).
These Data I want to transfer with MatLab into OpenSim.
So, does anyone have experinces in working with these sensors?
Sorry for my bad english, I try to improve.
Thanks for your advice.

Tags:

User avatar
Dimitar Stanev
Posts: 1096
Joined: Fri Jan 31, 2014 5:14 am

Re: Data transfer with inertial sensor system

Post by Dimitar Stanev » Wed May 22, 2019 7:54 am

I have done something similar:

https://www.dropbox.com/s/6hzza0kd9hmhf ... 3.mp4?dl=0

However, you cannot do this in Matlab, because OpenSim does not support tracking of IMU in its inverse kinematics implementation. Fortunately, Simbody supports orientation sensor tracking therefore your task is possible through the C++ API:

https://github.com/opensim-org/opensim- ... matics.cpp

The above implementation is old and not very generic. The transformation between the different reference frames (L187) is counter intuitive. At present, I have re-implemented inverse kinematics to support both markers and orientation targets. As you may see on the video, you can attach a dummy body representing the sensor through a weld joint. If the dummy body is properly oriented according to the IMU reference system, then this acts similarly to the virtual markers for marker-based tracking. Therefore, you can add the virtual bodies of the sensor on the different parts of the musculoskeletal system.
Last edited by Dimitar Stanev on Thu May 23, 2019 2:02 am, edited 1 time in total.

User avatar
Hans-Jochen Edenhart
Posts: 9
Joined: Mon May 06, 2019 2:06 am

Re: Data transfer with inertial sensor system

Post by Hans-Jochen Edenhart » Wed May 22, 2019 11:40 pm

Thank you.

POST REPLY