*.c3d file exporting

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Nicholas Sotirelis
Posts: 11
Joined: Fri Aug 16, 2019 11:15 am

*.c3d file exporting

Post by Nicholas Sotirelis » Thu Aug 29, 2019 10:47 am

Hello,

I am using c3dExport.m in the OpenSim Matlab Scripts directory.
On some of my *.c3d files it appears to be working correctly, writing test-data.trc
On others, I have an issue with:
tables = C3DFileAdapter().read(path2c3d, ForceLocation);
The error is:
Java exception occurred:
java.lang.RuntimeException: invalid map<K, T> key

at org.opensim.modeling.opensimCommonJNI.C3DFileAdapter_read__SWIG_2(Native Method)

at org.opensim.modeling.C3DFileAdapter.read(C3DFileAdapter.java:82)

Could anyone provide any insight into this issue?

Tags:

User avatar
jimmy d
Posts: 1375
Joined: Thu Oct 04, 2007 11:51 pm

Re: *.c3d file exporting

Post by jimmy d » Fri Aug 30, 2019 6:53 am

I think there has been an issue with exporting data when there is only one of force or marker data in the C3D. Do the c3d files that cause the exception have both force and marker data in them?

User avatar
Nicholas Sotirelis
Posts: 11
Joined: Fri Aug 16, 2019 11:15 am

Re: *.c3d file exporting

Post by Nicholas Sotirelis » Fri Aug 30, 2019 2:05 pm

No, the offending *.c3d files have only marker data.

POST REPLY