I am running OpenSim 4.2. I am trying to drive motion of my model through IMU data. My data is in the .json format, and includes acceleration (g), orientation (degrees), and rotation (degrees/second). I am trying to convert that input into .sto format to then import it into OpenSim to drive my model. I have converted my data into a .txt document that is tab separated. When I try to run posted codes to convert into .sto files, I get the 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)"
- Any suggestions on how to convert from .txt to .sto?
- Is there a better way to go about converting and/or importing my IMU data?
Thank you!
Best Wishes