Page 1 of 1

momentum

Posted: Fri Aug 05, 2022 8:32 am
by amini_opensim
Hello
I would like to get momentum generated by a muscle like this:

gastroc_r.ankle_angle_r.momentum

and also momentum arm.

how to get these in Lua script controller.

And do you why the following code doesn't worked?

T = model:find_muscle("gastroc_r")
Tr = T:active_fiber_force()

Thanks

Re: momentum

Posted: Mon Aug 08, 2022 3:05 am
by tgeijten
Please see the online documentation for all the available script functions:

https://scone.software/doku.php?id=ref:lua_muscle