build a new model with joints defined by myself

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Le Zhou
Posts: 4
Joined: Thu Oct 11, 2018 12:02 pm

build a new model with joints defined by myself

Post by Le Zhou » Tue Oct 23, 2018 9:26 pm

Hi all, I meet a problem, I use depth sensor of ORBBEC to get some data of joints on the human body like left hip,right hip, torso.... and put them into a cvs file. What I want to do is to convert data I detected into opensim file and build a new model in the opensim, and then use them to calculate the hip flexion angle and hip abduction angle using the tools in the opensim. Because the depth sensor I used only can get 19 joints , I have to build a new model. Did anyone do the projects like I described above before? Please give me some tutoring ? The joints I get from the depth sensor is in the attachment file.
Attachments
joints.png
joints.png (266.93 KiB) Viewed 412 times

Tags:

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

Re: build a new model with joints defined by myself

Post by Dimitar Stanev » Wed Oct 24, 2018 2:54 am

Hi,

I have done something similar with Kinect (https://github.com/mitkof6/KinectMotionCapture). The approach that I followed is as follows:

1) Use a pre-existing full body model (e.g. https://simtk.org/projects/runningsim) and do not change the joint and body definitions. The notion of a joint in your device has nothing to do with the actual joint, it just reports the position of a point on the body that it calls a joint.
2) Add 19 markers on the OpenSim model corresponding to the locations of the "joints" as provided by your device.
3) Export the trajectory of the "joints" to a .trc file format (see the example files in the OpenSim vX.X/Models folder) so that it can be recognized by OpenSim inverse kinematics.
4) Scale the model segments using a static motion from your device.
5) Perform inverse kinematics on the main motion.

https://simtk-confluence.stanford.edu:8 ... %27s+Guide

User avatar
Le Zhou
Posts: 4
Joined: Thu Oct 11, 2018 12:02 pm

Re: build a new model with joints defined by myself

Post by Le Zhou » Thu Oct 25, 2018 2:55 pm

mitkof6 wrote:
Wed Oct 24, 2018 2:54 am
Hi,

I have done something similar with Kinect (https://github.com/mitkof6/KinectMotionCapture). The approach that I followed is as follows:

1) Use a pre-existing full body model (e.g. https://simtk.org/projects/runningsim) and do not change the joint and body definitions. The notion of a joint in your device has nothing to do with the actual joint, it just reports the position of a point on the body that it calls a joint.
2) Add 19 markers on the OpenSim model corresponding to the locations of the "joints" as provided by your device.
3) Export the trajectory of the "joints" to a .trc file format (see the example files in the OpenSim vX.X/Models folder) so that it can be recognized by OpenSim inverse kinematics.
4) Scale the model segments using a static motion from your device.
5) Perform inverse kinematics on the main motion.

https://simtk-confluence.stanford.edu:8 ... %27s+Guide
Hi

Thank you for your help.I have a question : if I use the model built by others , how can I find the correct points on the model corresponding to my detected points ? I mean how can I define the joints on the model correctly but not just estimate the position?


User avatar
Le Zhou
Posts: 4
Joined: Thu Oct 11, 2018 12:02 pm

Re: build a new model with joints defined by myself

Post by Le Zhou » Fri Dec 14, 2018 11:26 pm

Hi Dimitar

Are you willing to do project to help me? I have solved the convert data from depth sensor into trc file. But the depth sensor what I used is orbbec depth sensor. Can you help me to connect the opensim and orbbec sensor, I can offer what you want, Please.

POST REPLY