Creating and Adding Virtual Markers to .trc Files

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Ali Forouzanfar
Posts: 28
Joined: Thu Dec 15, 2022 11:21 pm

Creating and Adding Virtual Markers to .trc Files

Post by Ali Forouzanfar » Sat Mar 23, 2024 8:46 am

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!"

Tags:

User avatar
Nicos Haralabidis
Posts: 196
Joined: Tue Aug 16, 2016 1:46 am

Re: Creating and Adding Virtual Markers to .trc Files

Post by Nicos Haralabidis » Wed Mar 27, 2024 9:28 am

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

User avatar
Ali Forouzanfar
Posts: 28
Joined: Thu Dec 15, 2022 11:21 pm

Re: Creating and Adding Virtual Markers to .trc Files

Post by Ali Forouzanfar » Fri Mar 29, 2024 4:21 am

Thank you!

POST REPLY