hi dear all
i have been faced the follwing error in cmc tool. what could be the possible reason?(i incresed the number of input kinematics points but it did not solve the problem).
here is the exception massage when i clicked details:
java.lang.RuntimeException: SimTK Exception thrown at GCVSPLUtil.h:81:
Bad call to Simbody API method GCVSPLUtil::gcvspl(): Too few data points
(Required condition 'n >= 2*m' was not met.)
at org.opensim.modeling.opensimModelJNI.CMCTool_run(Native Method)
at org.opensim.modeling.CMCTool.run(CMCTool.java:157)
at org.opensim.tracking.CMCToolModel$CMCToolWorker.construct(CMCToolModel.java:181)
at org.opensim.swingui.SwingWorker$2.run(SwingWorker.java:108)
[catch] at java.lang.Thread.run(Thread.java:745)
CMC error
- Dimitar Stanev
- Posts: 1096
- Joined: Fri Jan 31, 2014 5:14 am
Re: CMC error
We cannot determine the exact location of the problem from the error message. Some of you input files are incorrect, in the sense that they don't have the necessary number of entries to fit the splines. You can go through the source code to determine which inputs may cause the problem
https://github.com/opensim-org/opensim- ... l.cpp#L556
https://github.com/opensim-org/opensim- ... l.cpp#L556