An algorithm to estimate muscle tendon properties and/or compute muscle coordination by tracking experimental data with a musculoskeletal model assuming optimal control to solve for the muscle redundancy.
Hey, I have forked the repository so I can continue making additional changes without risking the main code.
So far, I have allowed pennation angle to be optimised as I think this may be the reason the fibre lengths are ending up approximiatly 6x normal. Currently carrying out testing.
In addition, I have attempted to solve the sqrt(-ve) problem by making lM.^2 - w.^2 a constraint that >0. Might not be the right solution but I was having issues before hand.
I have also had to increase lMtilde_max back to 1.8 as 1.5 was leading to a infeasable solution.