converting c3d file using c3d2opensim

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
HK Kim
Posts: 6
Joined: Thu Apr 28, 2016 6:13 pm

converting c3d file using c3d2opensim

Post by HK Kim » Wed Oct 14, 2020 9:55 am

Hi

I am trying to convert experimental c3d data (from Qualisys) into OpenSim compatible files using c3d2opensim https://simtk.org/projects/c3d2opensim_btk

When I load the c3d file, it displays the path and file name, but when I run animation (to view the extracted c3d data), an error dialog appears and says "please load a c3d file''.

It normally has no problem when I loaded the Vicon c3d file, but somehow Qualisys c3d file is not loaded.
Does anyone know how to fix this problem?

Thanks,
H
Attachments
Capture1.PNG
Capture1.PNG (79.7 KiB) Viewed 297 times

User avatar
Aaron Fox
Posts: 293
Joined: Sun Aug 06, 2017 10:54 pm

Re: converting c3d file using c3d2opensim

Post by Aaron Fox » Wed Oct 14, 2020 3:09 pm

Hi Hyun,

Not sure if you're set on the approach you're using (it does look like you're using Matlab though), but I found the code available for importing data into Matlab on this page quite useful: https://simtk-confluence.stanford.edu:8 ... d%29+Files. This uses OpenSim's relatively new osimC3D class/object and has a number of associated methods that allow you to get marker and force data from the c3d file. Combined with things like the TRC and STO File Adapter classes it can be quite useful for converting your data.

Aaron

POST REPLY