CMC error

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
mohamad rasool mohamadi
Posts: 14
Joined: Tue Oct 17, 2017 12:59 am

CMC error

Post by mohamad rasool mohamadi » Fri Feb 22, 2019 11:29 am

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)

User avatar
Dimitar Stanev
Posts: 1096
Joined: Fri Jan 31, 2014 5:14 am

Re: CMC error

Post by Dimitar Stanev » Sat Feb 23, 2019 12:02 pm

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

POST REPLY