MocoParameter for multiple elements
Posted: Wed Mar 27, 2024 7:34 am
I am trying to optimize the stiffness value for multiple Smooth Space Half Sphere forces at the same time. Both forces are components of the model. Currently I am able to optimize the stiffness for each force individually.
How would I combine these two parameters into one?
Thanks.
How would I combine these two parameters into one?
Code: Select all
problem.addParameter(MocoParameter('r_heel', '/r_heelContact', 'stiffness', ...
MocoBounds(800000, 1000000)));
problem.addParameter(MocoParameter('r_toes', '/r_toeContact', 'stiffness', ...
MocoBounds(800000, 1000000)));