creating a trc file

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Valentina Gallego
Posts: 29
Joined: Wed Jan 10, 2018 3:45 pm

creating a trc file

Post by Valentina Gallego » Mon Mar 05, 2018 1:02 pm

Can a .trc file be made by hand? from excel or something like that. I already have the markers positions in an excel file

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

Re: creating a trc file

Post by Thomas Uchida » Mon Mar 05, 2018 2:26 pm

Yes. You can find examples in your OpenSim installation directory. Also see the "Marker (.trc) Files" page in the Confluence documentation (https://simtk-confluence.stanford.edu:8 ... c%29+Files).

User avatar
Josh Baxter
Posts: 29
Joined: Fri Mar 11, 2016 12:29 pm

Re: creating a trc file

Post by Josh Baxter » Tue Mar 06, 2018 7:24 am

TRCs are just text files containing some header info and marker trajectories.

I believe there are some MATLAB functions written by members of the opensim community posted somewhere on simTK. I've attached a function I wrote and use to generate scaling TRC files.
Attachments
writetrc.m.txt
(1.67 KiB) Downloaded 41 times

POST REPLY