MarkerPlacer Processing Error in Scale Tool
Posted: Sun Sep 20, 2015 4:12 pm
Hi OpenSim team,
I am running into this error below anytime I try to execute the MarkerPlacer tool in the MATLAB API scripting environment. The ModelScaler has worked fine for me every time.
Java exception occurred:
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.MarkerPlacer_processModel__SWIG_0(Native
Method)
at org.opensim.modeling.MarkerPlacer.processModel(MarkerPlacer.java:73)
I have run both the ModelScaler and MarkerPlacer in MATLAB for Tutorial 3 (with modifications to runTutorialThree.py) without any issues.
The main difference is that I am now attaching a coordinate MOT file containing the joint angles of the static pose (calculated for a single frame), and I am using the folder organization from the MOtoNMS tool. At first, I thought that this was an issue with the file paths that I was setting in the scaleTool, but I have tried numerous variations on this with no success.
If anyone can help shed some light on what 'n' and 'm' are referring to exactly, I would really appreciate it.
Thank you for your help.
I am running into this error below anytime I try to execute the MarkerPlacer tool in the MATLAB API scripting environment. The ModelScaler has worked fine for me every time.
Java exception occurred:
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.MarkerPlacer_processModel__SWIG_0(Native
Method)
at org.opensim.modeling.MarkerPlacer.processModel(MarkerPlacer.java:73)
I have run both the ModelScaler and MarkerPlacer in MATLAB for Tutorial 3 (with modifications to runTutorialThree.py) without any issues.
The main difference is that I am now attaching a coordinate MOT file containing the joint angles of the static pose (calculated for a single frame), and I am using the folder organization from the MOtoNMS tool. At first, I thought that this was an issue with the file paths that I was setting in the scaleTool, but I have tried numerous variations on this with no success.
If anyone can help shed some light on what 'n' and 'm' are referring to exactly, I would really appreciate it.
Thank you for your help.