LuaMuscle
Muscle type for use in lua scripting.
See ScriptController and ScriptMeasure for details on scripting.
Public Functions
Function | Description |
---|---|
LuaString name() | get the name of the muscle |
void add_input(LuaNumber value) | add a value to the normalized actuator input |
LuaNumber input() | get the current actuator input |
LuaNumber excitation() | get the normalized excitation level [0..1] of the muscle |
LuaNumber activation() | get the normalized activation level [0..1] of the muscle |
LuaNumber fiber_length() | get the fiber length [m] of the contractile element |
LuaNumber normalized_fiber_length() | get the normalized fiber length of the contractile element |
LuaNumber optimal_fiber_length() | get the optimal fiber length [m] |
LuaNumber fiber_velocity() | get the fiber lengthening velocity [m/s] |
LuaNumber normalized_fiber_velocity() | get the normalized fiber lengthening velocity [m/s] |
LuaNumber max_contraction_velocity() | get the maximum fiber contraction velocity [m/s] |
LuaNumber tendon_length() | get the tendon length [m] |
LuaNumber normalized_tendon_length() | get the normalized fiber length of the contractile element |
LuaNumber tendon_slack_length() | get the optimal fiber length [m] |
LuaNumber muscle_tendon_length() | get the muscle-tendon-unit length [m] |
LuaNumber muscle_tendon_velocity() | get the muscle-tendon-unit lengthening velocity [m/s] |
LuaNumber force() | get the current muscle force [N] |
LuaNumber normalized_force() | get the normalized muscle force [0..1] |
LuaNumber active_fiber_force() | get the active fiber force [N] |
LuaNumber active_force_length_multiplier() | get the active fiber force-length multiplier |
LuaNumber passive_fiber_force() | get the passive fiber force [N] |
LuaNumber max_isometric_force() | get the maximum isometric force [N] |
LuaNumber mass() | get the muscle mass [kg], based on a specific tension of 250000 |
Converted from doxygen using dokugen