I was performing CMC on one of the models that I am developing in OpenSim. The RRA and CMC were computed without errors. While analyzing the data using MATLAB, I got the following error while executing osimTableToStruct(cmc_actuator_file_name).
Code: Select all
Unexpected number of columns in line 24. Expected = 87. Received = 95.
Thrown at DelimFileAdapter.h:441 in extendRead().
at org.opensim.modeling.opensimCommonJNI.new_TimeSeriesTable__SWIG_5(Native Method)
at org.opensim.modeling.TimeSeriesTable.<init>(TimeSeriesTable.java:61)
These extra columns are generated for actuation_force, actuation_power, actuation_speed. (For some of these files it has a default value of 1000, but the values are the same throughout the file.)
It would be good to know how to fix these 8 extra columns. I could manually delete them but I have a lot of trials to process.
Thanks,
Vishal