Hello,
does someone know where the original script of how Millard Muscles (e.g. Millard2012EquilibriumMuscle) are implemented can be found? Especially how the muscles are described and where the equations for calculating Activation Dynamics/ Contraction Dynamics are located.
I thought maybe it could be found somewhere in the folders of the OpenSim installation, on Github or the OpenSim Website, but wasn't successful in my search.
Every suggestion helps.
Best Regards,
Maria
Original Script for Millard Muscle Implementation
- Maria Krukovic
- Posts: 3
- Joined: Fri Oct 28, 2022 2:59 am
- Carmichael Ong
- Posts: 393
- Joined: Fri Feb 24, 2012 11:50 am
Re: Original Script for Millard Muscle Implementation
Here are some links:
Millard2012EquilibriumMuscle header: https://github.com/opensim-org/opensim- ... umMuscle.h
Millard2012EquilibriumMuscle implementation: https://github.com/opensim-org/opensim- ... Muscle.cpp
In the header file around line 38, you can see some includes for other models it uses, such as "MuscleFirstOrderActivationDynamicModel.h" that may also be helpful for you.
Millard2012EquilibriumMuscle header: https://github.com/opensim-org/opensim- ... umMuscle.h
Millard2012EquilibriumMuscle implementation: https://github.com/opensim-org/opensim- ... Muscle.cpp
In the header file around line 38, you can see some includes for other models it uses, such as "MuscleFirstOrderActivationDynamicModel.h" that may also be helpful for you.
- Maria Krukovic
- Posts: 3
- Joined: Fri Oct 28, 2022 2:59 am
Re: Original Script for Millard Muscle Implementation
Thank you very much, that's what I was looking for!
- Mohammadreza Rezaie
- Posts: 407
- Joined: Fri Nov 24, 2017 12:48 am
Re: Original Script for Millard Muscle Implementation
Hi, this is also the Matlab implementation:
https://github.com/mjhmilla/Millard2012 ... MatlabPort
https://github.com/mjhmilla/Millard2012 ... MatlabPort
- Maria Krukovic
- Posts: 3
- Joined: Fri Oct 28, 2022 2:59 am
Re: Original Script for Millard Muscle Implementation
Hi, that's perfect, because I'm working with Matlab. Thank you very much!