Closed antoinefalisse closed 6 years ago
I had some issues with the function FiberLength_Ftilde when running the opensim examples in this version. We have to adjust the size of matrix Atendon and the matrix shift to account for the collocation/mesh points.
Should we adjust the FIberLength_Ftilde function ?
Atendon = ones(size(Ftilde,1),1)Atendon; shift = ones(size(Ftilde,1),1)shift;
Thanks @MaartenAfschrift, I push a new commit. For some reasons, it worked for me without that change.
@MaartenAfschrift, @tomvanwouwe1992, @FriedlDeGroote
This PR addresses issue #3 and allows changing the tendon stiffness and automatically adjusting the tendon force-length curve. I think the results are the same as compared to what they were before (I checked a couple of cases) but it might be good to carefully double check the equations I changed and the outputs. For now, this remains a feature hidden in the code. I guess we should provide an example where we change the stiffness of a muscle and explain how this should be done.