Original Script for Millard Muscle Implementation

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Maria Krukovic
Posts: 3
Joined: Fri Oct 28, 2022 2:59 am

Original Script for Millard Muscle Implementation

Post by Maria Krukovic » Mon Mar 13, 2023 1:31 pm

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

Tags:

User avatar
Carmichael Ong
Posts: 401
Joined: Fri Feb 24, 2012 11:50 am

Re: Original Script for Millard Muscle Implementation

Post by Carmichael Ong » Mon Mar 13, 2023 3:37 pm

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.

User avatar
Maria Krukovic
Posts: 3
Joined: Fri Oct 28, 2022 2:59 am

Re: Original Script for Millard Muscle Implementation

Post by Maria Krukovic » Tue Mar 14, 2023 12:40 am

Thank you very much, that's what I was looking for!

User avatar
Mohammadreza Rezaie
Posts: 407
Joined: Fri Nov 24, 2017 12:48 am

Re: Original Script for Millard Muscle Implementation

Post by Mohammadreza Rezaie » Tue Mar 14, 2023 9:15 am

Hi, this is also the Matlab implementation:
https://github.com/mjhmilla/Millard2012 ... MatlabPort

User avatar
Maria Krukovic
Posts: 3
Joined: Fri Oct 28, 2022 2:59 am

Re: Original Script for Millard Muscle Implementation

Post by Maria Krukovic » Tue Mar 14, 2023 11:02 am

Hi, that's perfect, because I'm working with Matlab. Thank you very much!

POST REPLY