IK error in Matlab API
Posted: Mon Nov 19, 2012 6:05 pm
Hello,
I am running Inverse Kinematics with GUI and it works well. But now I want to run through Matlab because I need to process several files. But I have the following error:
Could anybody help me?
Thank you very much,
Gil SerrancolĂ
I am running Inverse Kinematics with GUI and it works well. But now I want to run through Matlab because I need to process several files. But I have the following error:
It seems that reads the model ok as well as gets the information from the .trc file, but then it gets this SimTK error that I don't understand.Constructing tool from setup file Setup_InverseKinematics.xml.
reading object from file ...
Loaded model ...
Running tool ...
Loaded marker file ...
InverseKinematicsTool Failed: AssemblySolver::assemble() Failed: SimTK Exception thrown at Assembler.cpp:842:
Method Assembler::assemble() failed because:
Optimizer failed with message: SimTK Exception thrown at Assembler.cpp:225:
Error detected by Simbody method AssemblerSystem::objectiveFunc(): calcGoal() method of assembly condition Markers returned a negative or non-finite value -1.#IND.
(Required condition 'goalValue >= 0' was not met.)
Assembly error tolerance achieved: 0 required: 1e-006.
Exception in IK: InverseKinematicsTool Failed, please see messages window for details...
Could anybody help me?
Thank you very much,
Gil SerrancolĂ