Motion Files

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
N R
Posts: 3
Joined: Mon Dec 11, 2023 3:34 pm

Motion Files

Post by N R » Mon Dec 18, 2023 7:40 pm

Hello everyone,

I'm reaching out to ask whether it's possible to create 3 separate motion files to make my model kick, run, and jump. How could I create a motion file :?:

Looking forward to your responses

User avatar
Ayman Habib
Posts: 2252
Joined: Fri Apr 01, 2005 12:24 pm

Re: Motion Files

Post by Ayman Habib » Mon Dec 18, 2023 10:07 pm

Hello,

A motion file is just a text file on a tabular format (similar to csv but space separated) with a time column and corresponding coordinate values, an example can be found in the distribution, linked below from Tutorial 1:
https://github.com/opensim-org/opensim- ... normal.mot
If you know the coordinate values to produce any motion you can create the desired mot file(s) in any text editor.

Hope this helps,
-Ayman

User avatar
N R
Posts: 3
Joined: Mon Dec 11, 2023 3:34 pm

Re: Motion Files

Post by N R » Tue Dec 19, 2023 4:15 pm

Thank you for your help

Do you have any advice/resources that you could please share regarding how to get the coordinate values? Would I need to use something like OpenSense or is there any other way?

Looking forward to your response

User avatar
N R
Posts: 3
Joined: Mon Dec 11, 2023 3:34 pm

Re: Motion Files

Post by N R » Tue Dec 19, 2023 7:37 pm

Please disregard my previous post. I figured out how to create the motion file

Thank you for your help :)

POST REPLY