Bug Fix: Inverse dynamics splines invalid
Hi all,
A few users have recently received an error like:
ERROR: The X values for spline .World.Isaac_NStiss_1.recorded are not increasing at N=26, X=0.022000
ERROR: The X values for spline .World.Isaac_NStiss_1.recorded are not increasing at N=26, X=0.022000
This appears after training the muscles and attempting to replace the muscles with trained muscles. What is going on is that Adams is reporting contact events that happen between standard output time steps. Apparently we had a fix in prior releases, but in the Adams 2008r1/MDR3 versions that fix quit working, so we will re-implement the fix going forward for future releases.
If you do encounter this error, the fix requires only a variable change; try adding these commands, either in the command window (F3 or View>Command Window) or directly into a script, prior to running the Inverse run:
var set var=sjunk str=(eval(PUTENV("MDI_ADAMS_CONTACT_OUT" , "off")))
var del var=sjunk
This should fix the problem completely, and this way you are able to use any of the integrator settings. An alternative is to switch to the Robust integrator, as this seemed to avoid the problem as well.
repost.
repost.