Extra columns with no headers in CMC generated outputs file
Posted: Tue Mar 30, 2021 6:15 am
Hi,
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).
When I opened up the actuation_force.sto file that is generated as a result of CMC, there were 8 extra columns with no header but only 0 in it. I think that was the reason for the error shown above.
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
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