Residual Reduction Algorithm Error

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
fay fang
Posts: 2
Joined: Sun Dec 31, 2017 11:43 pm

Residual Reduction Algorithm Error

Post by fay fang » Wed Jan 17, 2018 3:35 am

Hello all,

My name is Fay. I just have a problem to run RRA tool with my model based on "02Full Body Model ".
I adapted all the files. When I run RRA tool, the error appears like this:

java.lang.RuntimeException: SimTK Exception thrown at GCVSPLUtil.h:82:
Bad call to Simbody API method GCVSPLUtil::gcvspl(): The values in x must be strictly increasing
(Required condition 'ier != 2' was not met.)

at org.opensim.modeling.opensimModelJNI.RRATool_run(Native Method)
at org.opensim.modeling.RRATool.run(RRATool.java:149)
at org.opensim.tracking.RRAToolModel$RRAToolWorker.construct(RRAToolModel.java:139)
at org.opensim.swingui.SwingWorker$2.run(SwingWorker.java:108)
[catch] at java.lang.Thread.run(Thread.java:745)

if someone could help me with the problem?

Thank you,

Best regards

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

Re: Residual Reduction Algorithm Error

Post by Dimitar Stanev » Wed Jan 17, 2018 5:00 am

Try to plot the trajectories of the input files. Probably your kinematics data are not strictly increasing in time. This can cause problems when GCVSPLUtil tries to fit the splines.

For example (not increasing in t):

[t, d]
0.0, 1
0.1, 2
0.05, 3

Best

User avatar
fay fang
Posts: 2
Joined: Sun Dec 31, 2017 11:43 pm

Re: Residual Reduction Algorithm Error

Post by fay fang » Wed Jan 17, 2018 6:13 am

Thank you, Dimitar.
I have checked the original kinematics data with the "02 Full body model" and other models.
Some data are not strictly increasing in time, however, it runs successfully.
I should check my data and if it doesn't run again, I may come back for help.

POST REPLY