I have been trying to solve a tracking problem as a MocoStudy problem.
In doing so, I am wanting to optimise the Elastic Foundation Force parameters that I have created between 2 contact geometries. However, I have met an issue that I haven't figured out yet and I was hoping to get some advice.
The problem that I'm having is defining the AbsolutePathString of the stiffness, dissipation and friction parameters.
I'll try to be more clear. this is what is given in the doxygen to register a MocoParamer to optimise muscle optimal length:
Code: Select all
study = opensim.MocoStudy();
problem = study.updProblem();
param = opensim.MocoParameter('my_param_name', '/forceset/soleus_r', 'optimal_fiber_length', opensim.MocoBounds(0.04, 0.06))
Code: Select all
stiffness = osim.MocoParameter('pb1_stiffness', '/forceset/pb1_force', 'stiffness', osim.MocoBounds(250000, 800000))
Any suggestion?
Thanks in advance for you help!
Andrea