Page 1 of 1

How can I produce .mot without having .trc ?

Posted: Wed Mar 18, 2020 8:22 am
by yunusrezvani
Hey everyone

In case of not having access to MOCAP equipments and/or IMU equipments
1) is there any other way to have .mot file?
2) Is it possible to use someone else's .trc file and scale it to someone else's anthropometric dimensions and use it to make .mot file?

Best regards.

Re: How can I produce .mot without having .trc ?

Posted: Thu Mar 19, 2020 10:43 am
by tkuchida
You could use experimental data collected by someone else (several projects on simtk have shared experimental data). You could also generate it using a model, but it depends what you are trying to do with it. You could use existing data and scale it somehow, but you are likely to have very large errors.

Re: How can I produce .mot without having .trc ?

Posted: Thu Mar 19, 2020 11:20 am
by yunusrezvani
tkuchida wrote:
Thu Mar 19, 2020 10:43 am
You could also generate it using a model
Could you explain more please?
tkuchida wrote:
Thu Mar 19, 2020 10:43 am
but it depends what you are trying to do with it.
I'm trying to solve femur finite element model considering muscle forces .

.mot is one of my problems to do a valid, accurate simulation.

Re: How can I produce .mot without having .trc ?

Posted: Fri Mar 20, 2020 1:12 pm
by aymanh
Hello,

.mot file is just a text file that you can create in any text editor, following the examples provided with the distribution. Some description of the format is given here
https://simtk-confluence.stanford.edu/d ... na.motFile

A motion file is not a simulation, it is a description of a trajectory/kinematics. When you have a trc file for motion capture and provide a model, you can solve IK you get a motion file. motion files do not support muscle states, to get these you have to run a forward simulation or use an inverse method to compute muscle states and forces.

Hope this helps,
-Ayman

Re: How can I produce .mot without having .trc ?

Posted: Sat Mar 21, 2020 1:34 pm
by yunusrezvani
Hi Ayman
Thanks for the reply
Yah, I'm seeking for a way to calculate muscle forces with OpenSim while the subjects .trc file is not available?
Is there a way to use someone .trc to obtain someone else's .mot file?
aymanh wrote:
Fri Mar 20, 2020 1:12 pm
muscle states, to get these you have to run a forward simulation
Could you tell me more about this, please?

Thanks

Re: How can I produce .mot without having .trc ?

Posted: Sun Mar 22, 2020 9:35 am
by tkuchida
Could you tell me more about this, please?
I suggest checking out the documentation that describes the capabilities of the software (e.g., the "Overview of the OpenSim Workflow" page: https://simtk-confluence.stanford.edu/d ... m+Workflow). There are also examples (https://simtk-confluence.stanford.edu/d ... +Tutorials) that demonstrate some of these capabilities.