Torque actuator xml code
Posted: Wed May 18, 2011 4:51 pm
Hi everyone,
I have some questions on torque actuator's xml script.
1- what does "-1.#INF" mean in min_control? can I replace it simply by -1?
2- What does "optimal_force" mean? Is it the maximum torque that the actuator can apply? Is it a force or a torque? and why is it OPTIMAL?
Regards,
Sina
<TorqueActuator>
<isDisabled>False</isDisabled>
<min_control>-1.#INF</min_control><max_control>1.#INF</max_control>
<bodyA></bodyA>
<bodyB></bodyB> <torque_is_global>True</torque_is_global>
<axis>(-1 -0 -0)</axis> <optimal_force>300</optimal_force>
</TorqueActuator>
I have some questions on torque actuator's xml script.
1- what does "-1.#INF" mean in min_control? can I replace it simply by -1?
2- What does "optimal_force" mean? Is it the maximum torque that the actuator can apply? Is it a force or a torque? and why is it OPTIMAL?
Regards,
Sina
<TorqueActuator>
<isDisabled>False</isDisabled>
<min_control>-1.#INF</min_control><max_control>1.#INF</max_control>
<bodyA></bodyA>
<bodyB></bodyB> <torque_is_global>True</torque_is_global>
<axis>(-1 -0 -0)</axis> <optimal_force>300</optimal_force>
</TorqueActuator>