Page 1 of 1

No info available for state erro

Posted: Fri Nov 17, 2023 7:25 am
by ebenezer
Hello!

I'm trying to run the tracking of my data, and I'm getting the following error:

Java exception occurred:
java.lang.RuntimeException: No info available for state '/forceset/glut_med1_r/fiber_length'.
Thrown at MocoProblemRep.cpp:629 in getStateInfo().

at org.opensim.modeling.opensimMocoJNI.MocoTrack_initialize(Native Method)

at org.opensim.modeling.MocoTrack.initialize(MocoTrack.java:549)


Has anyone experienced this before, or does anyone know how I could solve this issue?

I appreciate the help in advance.

Re: No info available for state erro

Posted: Fri Nov 17, 2023 11:46 am
by nbianco
Hi Ebenezer,

You're getting that error message because you're using a model with muscles and have tendon compliance enabled. The state variable for the Millard2012EquilibriumMuscle for tendon compliance dynamics is 'fiber_length', and by default we don't set bounds for that state.

If want to use tendon compliance, I recommend switching to the DeGrooteFregly2016Muscle and using tendon compliance in 'implicit' mode. If not, you can disable tendon compliance to remove the state variable from the problems.

See the Moco documentation for more info: https://opensim-org.github.io/opensim-moco-site/.

Best,
Nick