Page 1 of 1

Creating and Adding Virtual Markers to .trc Files

Posted: Sat Mar 23, 2024 8:46 am
by ali_fo
Hi everyone,
I'm working on a project in OpenSim where I need to create virtual markers and integrate them into an existing .trc file. I'm looking for guidance on the following:

What's the most efficient way to create virtual markers and add them to my .trc file? Are there specific OpenSim tools or functions I should use?

Does anyone have MATLAB code examples or scripts they'd be willing to share that can accomplish this? I'm interested in a solution that allows me to calculate virtual markers based on existing marker data within the .trc file.

Thank you in advance for your insights!"

Re: Creating and Adding Virtual Markers to .trc Files

Posted: Wed Mar 27, 2024 9:28 am
by nicos1993
Hello Ali,

Have you tried the TRCFileAdapter class?

https://simtk.org/api_docs/opensim/api_ ... apter.html

Perhaps once you have read your *.trc file you then are able to update the table of markers?

Best wishes,

Nicos

Re: Creating and Adding Virtual Markers to .trc Files

Posted: Fri Mar 29, 2024 4:21 am
by ali_fo
Thank you!