opensim-muscle fatigue
- Vikrama Raghuraman
- Posts: 3
- Joined: Mon Sep 17, 2018 9:05 am
opensim-muscle fatigue
How to get the declined force curve if the model is allowed to walk for 1 hour? i.e how to show the fatigueness of muscle after a long walk in opensim ? I am able to get the same pattern of individual muscle force repeating after running CMC tool or static optimisation tool once we simulate the model to walk for the period of 1 hour.I have been struck in this for past two months.pls help me out.
Tags:
- Thomas Uchida
- Posts: 1793
- Joined: Wed May 16, 2012 11:40 am
Re: opensim-muscle fatigue
These resources may be helpful:
- "Design of a Fatigable Muscle" course project page on Confluence and the papers that are referenced at the bottom: https://simtk-confluence.stanford.edu:8 ... ble+Muscle
- "Developing a fatigable muscle model" project page on simtk: https://simtk.org/projects/fatigablemuscle
- "Design of a Fatigable Muscle" course project page on Confluence and the papers that are referenced at the bottom: https://simtk-confluence.stanford.edu:8 ... ble+Muscle
- "Developing a fatigable muscle model" project page on simtk: https://simtk.org/projects/fatigablemuscle
- Tylan Templin
- Posts: 40
- Joined: Mon Jan 15, 2018 10:55 am
Re: opensim-muscle fatigue
Hello,
I am also interested in using a muscle fatigue model. I would like to start by using the resources that were previously provided but I am having difficulty finding the .dll file for the plugin. The following website says that there should be a .dll file for download but I cannot locate it:
[url=https://simtk-confluence.stanford.edu:8 ... luginFiles]
I can only find the source file on the project downloads page:
[url=https://simtk.org/frs/?group_id=863]
Can someone point me to where I can find the .dll file so I can use the plugin in the GUI without having to build from source?
Thanks!
Ty
I am also interested in using a muscle fatigue model. I would like to start by using the resources that were previously provided but I am having difficulty finding the .dll file for the plugin. The following website says that there should be a .dll file for download but I cannot locate it:
[url=https://simtk-confluence.stanford.edu:8 ... luginFiles]
I can only find the source file on the project downloads page:
[url=https://simtk.org/frs/?group_id=863]
Can someone point me to where I can find the .dll file so I can use the plugin in the GUI without having to build from source?
Thanks!
Ty
- Thomas Uchida
- Posts: 1793
- Joined: Wed May 16, 2012 11:40 am
Re: opensim-muscle fatigue
Here is a direct link to the file: https://simtk-confluence.stanford.edu:8 ... dll?api=v2. Note that the DLL will be compatible only with some versions of OpenSim. To use the plugin with other versions, you will need to build it from the source code.
- Tylan Templin
- Posts: 40
- Joined: Mon Jan 15, 2018 10:55 am
Re: opensim-muscle fatigue
As you suggested the .dll file did not work for OpenSim 4.1. So I ended up building from source, based on the examples in C:\OpenSim 4.1\Resources\Code\CPP.
When I open the plugin in the GUI I get a message saying that the library was loaded in successfully, but when I load in a model with the new muscle instead of a Millard muscle I get the message :
"Object::newInstanceOfType(): object type 'FatigableMuscle' is not a registered Object!
Object type FatigableMuscle not recognized"
I am missing a step to use the plugin in properly? I am happy to send the .dll file that I generated if that will help understand what is going wrong.
Please let me know if you have any other suggestions to test that it is working properly.
Thanks,
Ty
When I open the plugin in the GUI I get a message saying that the library was loaded in successfully, but when I load in a model with the new muscle instead of a Millard muscle I get the message :
"Object::newInstanceOfType(): object type 'FatigableMuscle' is not a registered Object!
Object type FatigableMuscle not recognized"
I am missing a step to use the plugin in properly? I am happy to send the .dll file that I generated if that will help understand what is going wrong.
Please let me know if you have any other suggestions to test that it is working properly.
Thanks,
Ty
- Thomas Uchida
- Posts: 1793
- Joined: Wed May 16, 2012 11:40 am
Re: opensim-muscle fatigue
A similar issue was reported in Topic 13676 (viewtopicPhpbb.php?f=91&t=13676); one of Ayman's suggestions there may help.
- Tylan Templin
- Posts: 40
- Joined: Mon Jan 15, 2018 10:55 am
Re: opensim-muscle fatigue
Thank you for the reply! I just posted an additional comment in that thread, but I had one more question here that is probably a very basic thing in C++.
Based on the examples, it seems like you need the .cpp and .h files to build the plugin but the fatigable muscle project download only has a source file. Do I first need to extract the .cpp and .h file from this source file? If so how do you do this? If not, how do you build the plugin from just that source file and not the .cpp and .h files.
I am currently using the fatigablemuscle.h and fatigablmuscle.cpp files in Code/CPP/MuscleExample but I will eventually would like to use the code develop in the fatigable muscle project.
Thanks again,
Ty
Based on the examples, it seems like you need the .cpp and .h files to build the plugin but the fatigable muscle project download only has a source file. Do I first need to extract the .cpp and .h file from this source file? If so how do you do this? If not, how do you build the plugin from just that source file and not the .cpp and .h files.
I am currently using the fatigablemuscle.h and fatigablmuscle.cpp files in Code/CPP/MuscleExample but I will eventually would like to use the code develop in the fatigable muscle project.
Thanks again,
Ty