Question about Forward Dynamics simulation
Posted: Tue Oct 01, 2024 7:49 pm
It is the beginner question. When configuring the XML file used in forward dynamics, can we set the degree of muscle activation related to the joint angle? For example, the muscle is fully activated when the joint angle reaches 90. When the joint angle is 0, the muscle is not activated. Currently, I find we can only set the activation level point-by-point. Thanks in advance.
Code: Select all
<ControlLinear name="ECRL">
<is_model_control>true</is_model_control>
<extrapolate>true</extrapolate>
<default_min>0.02</default_min>
<default_max>1</default_max>
<filter_on>false</filter_on>
<use_steps>false</use_steps>
<x_nodes>
<ControlLinearNode>
<t>0</t>
<value>0.40611812899412514</value>
</ControlLinearNode>
<ControlLinearNode>
<t>0.0083333299999999999</t>
<value>0.63439237487184641</value>
</ControlLinearNode>
</x_nodes>
<min_nodes/>
<max_nodes/>
<kp>100</kp>
<kv>20</kv>
</ControlLinear>