Closed AdamStelmaszczyk closed 6 years ago
It looks like the note there should be corrected. Both fiber_force
and the forces
list give "correct" answers, depending on what you're looking for. The fiber_force
corresponds to the force generated by the muscle, and list from forces
are the ones applied by the tendon that connects that muscle to the bone.
(Read on for details on the biology and modeling): The muscle fibers don't necessarily align with the tendon fibers. The angle between their directions is the "pennation angle". The larger this angle is, the larger the difference between the fiber and tendon forces:
tendon_force = muscle_fiber_force*cos(pennation)
So, abd
and glut_max
muscles match because they have a pennation angle of 0. Notice how the forces
list has values that are either the same or lower than fiber_force
, because they correspond to the tendon force.
That's great @carmichaelong, thank you.
I printed
state_desc
during run, relevant part:abd_r
has the same force 3726.6585693212783, ok.But for example
hamstrings_r
doesn't, inmuscles
dict it hasfiber_force
: 1102.6684776303782, but inforces
it has 971.1118568715812.iliopsoas_l
differs too.Despite it's written "Note that in the forces dictionary, forces corresponding to muscles are redundant with fiber_force in muscles dictionaries" on http://osim-rl.stanford.edu/docs/nips2018/observation/.
Which value is the correct force?