How to convert the *.csv docs to *.trc docs?

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Dongdong LI
Posts: 9
Joined: Wed Sep 20, 2017 6:06 am

How to convert the *.csv docs to *.trc docs?

Post by Dongdong LI » Sat May 26, 2018 8:09 pm

Hi, Professors and Doctors. I am a freshman of the OpenSim, so hope to get some guidance.

Now I meet a problem that I don't know how to convert the the *.csv docs to *.trc docs, in order to scale my model. Though there is a tool "Lee-Sonstoolbox", when I applied it to my documents, it would show no response and didn't work. And I find other Matlab tool on our website hasn't such function. So I require how to convert the *.csv docs to *.trc docs?

In the attachment, I added my data example.

Thanks!
Attachments
LI Dongdong-data.zip
(269.29 KiB) Downloaded 9 times

Tags:

User avatar
Thomas Uchida
Posts: 1793
Joined: Wed May 16, 2012 11:40 am

Re: How to convert the *.csv docs to *.trc docs?

Post by Thomas Uchida » Sat May 26, 2018 8:14 pm

Please see the "Tools for Preparing Motion Data" page in the Confluence documentation (https://simtk-confluence.stanford.edu/d ... otion+Data).

User avatar
Dongdong LI
Posts: 9
Joined: Wed Sep 20, 2017 6:06 am

Re: How to convert the *.csv docs to *.trc docs?

Post by Dongdong LI » Sat May 26, 2018 8:19 pm

Yes, thanks. I have checked the related tools "Matlab_Opensim_Tools_v2" and "Lee-Son's Toolbox". However, the "Matlab_Opensim_Tools_v2" didn't have such function and "Lee-Son's Toolbox" didn't work. So could you please give me more detail about how to use them? Thanks!

User avatar
Thomas Uchida
Posts: 1793
Joined: Wed May 16, 2012 11:40 am

Re: How to convert the *.csv docs to *.trc docs?

Post by Thomas Uchida » Sun May 27, 2018 1:41 pm

You could try contacting the authors directly. You may need to modify the scripts if they're designed to start with c3d files. It might be easiest to just write a MATLAB script that reads your csv file and writes a trc file in the correct format (the format is described on this page: https://simtk-confluence.stanford.edu/d ... c%29+Files). If you have only one file to convert, you could also try using Excel.

User avatar
Dongdong LI
Posts: 9
Joined: Wed Sep 20, 2017 6:06 am

Re: How to convert the *.csv docs to *.trc docs?

Post by Dongdong LI » Sun May 27, 2018 7:24 pm

thanks a lot!

User avatar
Arash Mohammadzadeh Gonabadi
Posts: 34
Joined: Sun Sep 10, 2017 10:44 am

Re: How to convert the *.csv docs to *.trc docs?

Post by Arash Mohammadzadeh Gonabadi » Fri Jul 27, 2018 1:49 pm

Please take a look at the following link:

https://works.bepress.com/arash-mohamma ... onabadi/2/

Thank you.

POST REPLY