When trying to read my IMUdata I get this 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:80)
The columns of my data (an example is attached) are already separated by tabs, so I don't think the error is due to that, maybe I need to add an header to my txt file? In this case what I need to add and how?
Thanks for your collaboration
Error in tables = xsensReader.read('IMUData/')
- Filippo Motta
- Posts: 3
- Joined: Tue Nov 02, 2021 9:59 am
Error in tables = xsensReader.read('IMUData/')
- Attachments
-
- MatrixLF.txt
- (166.93 KiB) Downloaded 12 times
Tags:
- Ayman Habib
- Posts: 2252
- Joined: Fri Apr 01, 2005 12:24 pm
Re: Error in tables = xsensReader.read('IMUData/')
Hello,
The format of the file is strict and is fully specified by XSens, as such you can't change the tab separated labels with spaces or replace labels like Mat[1][1] with your own M11.
I strongly recommend you check the example data files included with the distribution (typically under the [resources folder]\Code\Python\OpenSenseExample\IMUData\*.txt) and make your file matches the same format.
Hope this helps,
-Ayman
The format of the file is strict and is fully specified by XSens, as such you can't change the tab separated labels with spaces or replace labels like Mat[1][1] with your own M11.
I strongly recommend you check the example data files included with the distribution (typically under the [resources folder]\Code\Python\OpenSenseExample\IMUData\*.txt) and make your file matches the same format.
Hope this helps,
-Ayman