Issues converting C3D files with no force data
Posted: Thu Jan 23, 2020 10:41 am
I am hoping to convert a bunch of C3D files into a openSim compatible files (TRC and Mot extension). I am using the Matlab conversion code that was included in the openSim 4.0 download. One problem I encountered is that my static trials do not have force data, while my dynamic trials do. Since there is no force data, I get an error when the code calls the following:''tables = C3DFileAdapter().read(path2c3d, ForceLocation).''
Since I do not have access to ''C3DFileAdapter'' I can't go in and eliminate the need for force data or insert columns of zeros for the force data. Any suggests on how to write my own function or convert the static trials in some other way?
Thanks all!
Since I do not have access to ''C3DFileAdapter'' I can't go in and eliminate the need for force data or insert columns of zeros for the force data. Any suggests on how to write my own function or convert the static trials in some other way?
Thanks all!