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 force() get the current muscle force [N]
LuaNumber normalized_force() get the normalized muscle force [0..1]
LuaNumber max_isometric_force() get the maximum isometric force [N]
LuaNumber contraction_velocity() get the contraction velocity [m/s]
LuaNumber normalized_contraction_velocity() get the contraction velocity [m/s]

Converted from doxygen using dokugen