Hello.
I am working with OpenSIM and i was wondering what do i require to create a .MOV file for motion? Because i am getting XYZ joint data from another input (Microsoft Kinect) but i dont really know how to create the file in order to use it on an OpenSIM model.
Thanks!
Kinect as input for model/motion
Re: Kinect as input for model/motion
Hi David,
A description of the .mot file format for joint angles can be found here;
http://simtk-confluence.stanford.edu:80 ... t%29+Files
There are also numerous examples found in the OpenSim distribution.
The output from your sensors will have to give joint angles that match those of an OpenSim model. In other words, you will have to correct for differences in the body/joint frames between the software you use for the kinect and OpenSim.
hope that helps,
-james
A description of the .mot file format for joint angles can be found here;
http://simtk-confluence.stanford.edu:80 ... t%29+Files
There are also numerous examples found in the OpenSim distribution.
The output from your sensors will have to give joint angles that match those of an OpenSim model. In other words, you will have to correct for differences in the body/joint frames between the software you use for the kinect and OpenSim.
hope that helps,
-james
- Agnieszka Korcz
- Posts: 1
- Joined: Sun Oct 26, 2014 12:12 am
Re: Kinect as input for model/motion
Hi everyonne !
Can anyone tell me from where can I take the data informations' Kinect ? Where the are in Kinect ? or what I should do to get them. I am beginner..I know how use the OpenSim with Kinect but I don't know where this needed data informations are. Please, help !
Can anyone tell me from where can I take the data informations' Kinect ? Where the are in Kinect ? or what I should do to get them. I am beginner..I know how use the OpenSim with Kinect but I don't know where this needed data informations are. Please, help !
- Daniel Krueger
- Posts: 24
- Joined: Fri Jul 09, 2010 12:05 am
Re: Kinect as input for model/motion
Hello Everyone,
we created a software to record motion sequences to opensim using the kinect device. It is not as easy as one might think. Since the KINECT SDK only gives you the spatial orientations of limbs as a rotation matrix, you have to determine the joint angles by decomposing this matrix into a sequence of EULER rotations. The correct sequence depends on your model! An universal approach is to record only the joint positions into a *.trc file and use the inverse kinematics tool to generate a mot file.
We have a paper written in German that explains further details.
A good starting point for Kinect programming is the official guide of the MS Kinect SDK.
Best regards,
Daniel
we created a software to record motion sequences to opensim using the kinect device. It is not as easy as one might think. Since the KINECT SDK only gives you the spatial orientations of limbs as a rotation matrix, you have to determine the joint angles by decomposing this matrix into a sequence of EULER rotations. The correct sequence depends on your model! An universal approach is to record only the joint positions into a *.trc file and use the inverse kinematics tool to generate a mot file.
We have a paper written in German that explains further details.
A good starting point for Kinect programming is the official guide of the MS Kinect SDK.
Best regards,
Daniel
- Michael Sherman
- Posts: 807
- Joined: Fri Apr 01, 2005 6:05 pm
Re: Kinect as input for model/motion
FYI, the SimTK::Rotation class that is accessible from OpenSim's API provides a method for converting a rotation matrix into any Euler angle sequence (once you've figured out which one you want!).
Sherm
Sherm