Open extraymond opened 7 years ago
Umm I admit I actually have no idea how to do that but that would be nice. Feel free to add it yourself or make a fork and do it there if you want.
Thanks for your reply! It seems simple on the official manual, however I haven't tried it myself XD
I think your code is clear enough to use, so a fork is not necessary IMO.
I'm curious, this is unrelated but what are you doing with this? I wrote this for biologically based animation as a hobby thing and it should work but I ended up moving to other projects because the other components of biologically based animation (simulation, physics, high performance, nice GUI, etc.) are hard XD
Hi! I'm currently working on sports biomechanics simulation and optimizations. The same reason you listed make your project awesome in my opinion.
For rigid body dynamics or simulation I recommend you take a look at pydy, it's super awesome to setup a system using kane's method. And it gives a clear interface for controlling the torque activity using custom defined functions. It even have a nice visualization class.
The very hard part of a good simulation is to assess whether the results is human muscle dynamics. I've seen opensim for that matter, but python is more friendly for me XD.
Oh cool :) Yea same, opensim is gross, that's why I made this :) I did want to clarify that while I'm fairly certain this implementation is correct and have done some basic testing, I haven't done any formal comparisons to other implementations of Hill-type muscle models. This was ported and adapted from the paper and its' code given as a link at the top of openmuscle.py that is about how to implement a modern muscle model but I just did this as a hobby. So if it is not correct it is very close to being correct, but please do some more testing before using in a formal setting. Feel free to share if you do :)
Hi! Thanks for building this, it's really nice. It would be a lot easier to distribute if it's on conda/pypi or other distribution services.