Duplicate column labels encountered

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Brody Hicks
Posts: 32
Joined: Wed Jun 19, 2019 11:55 am

Duplicate column labels encountered

Post by Brody Hicks » Tue Feb 14, 2023 11:46 am

Hello everyone,

I'm wondering if anyone has seen/fixed this issue before:

I'm trying to use the "Associate Motion Data..." tab to add a marker.trc file to my IK results to visualize my experimental markers relative to my model markers. However, this isn't working, and I'm getting the error: "filename.trc cannot be associated to IKResults -- duplicate column labels encountered".

I thought this could be due to an error in the trc file, but the trc file was used to generate the scaled model without any issues, and I was able to associate the exact same trc file to the static pose generated from the Scale Tool. However, when I run IK, I have problems associating the trc file. I thought it could be that there are duplicate marker names in the trc file, but I've double checked and this is not the case.

Any thoughts?

Thanks so much,
Brody

Tags:

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

Re: Duplicate column labels encountered

Post by Ayman Habib » Tue Feb 14, 2023 2:35 pm

Hi Brody,

I wouldn't use associate motion data (which is typically used to show objects that are attached to body/segments while in motion), instead you could use (File->Preview Experimental Data) which displays data in ground frame (as typically is the case for trc files). At this point you can synchronize the two motions to see how the two marker clouds relate to each other (model markers vs experimental markers).

The duplicate columns is likely due to the fact that OpenSim is trying to "merge" the two motions where the same markers appear in ground frame (trc) and on associated bodies (IK solution).

Hope this helps,
-Ayman

User avatar
Brody Hicks
Posts: 32
Joined: Wed Jun 19, 2019 11:55 am

Re: Duplicate column labels encountered

Post by Brody Hicks » Wed Feb 15, 2023 8:41 am

Thanks, Ayman! This is very helpful!

Best,
Brody

POST REPLY