Xsens csv to OpenSense

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
huihui wang
Posts: 5
Joined: Mon Apr 12, 2021 5:13 am

Xsens csv to OpenSense

Post by huihui wang » Tue Apr 27, 2021 12:32 am

Hi guys:
I am working with Xsens sensors trying to get my data to read into Opensense (using Matlab 2017b scripting on windows 10).I can get the example data to work, however it seems that the Xsens csv files are now output in a different configuration than in the example data. I have tried making my data the same format as the example data(making the same header names )however I am getting an error:
Java exception occurred:
java.lang.RuntimeException: Table does not have metadata for 'header'.
Thrown at XsensDataReader.cpp:94 in extendRead().

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

at org.opensim.modeling.DataAdapter.read(DataAdapter.java:48)
How can I solve the problem?
Thanks for your reply.
huihui wang

Tags:

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

Re: Xsens csv to OpenSense

Post by Ayman Habib » Mon May 03, 2021 2:25 pm

Hello,

This seems like an issue with the header of the csv file, please compare your file with the published example csv file and let us know the difference.
Keep in mind that there're multiple options when exporting csv files from Xsens, so we may not support all possible options/fomats but it would be helpful to the community to understand the issues if any.

Best regards,
-Ayman

POST REPLY