You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Actuator Type and PD Control Implementation in Locomotion Settings #194
In the locomotion settings, most robots defined in the XML files use the position actuator type. From my understanding, this setup is intended to mimic a PD controller via position control.
Why not use the kv parameter in actuator/position for implementing the derivative (velocity) term of the PD controller? What is the fundamental difference between using joint damping versus kv in the actuator definition?
Why choose position actuators instead of motor actuators? Are there specific benefits in terms of stability, controllability, or compatibility with your framework that motivated this design choice?
The fundamental difference between joint damping and kv parameters are that joint damping is a passive force, which means that even if there is no control signal, there is a torque $\tau_{d}\ \alpha\ v$. But the kv term comes to play only when there is a control signal on that actuator. (Refer to the damping term in https://mujoco.readthedocs.io/en/stable/XMLreference.html#body-joint)
It could be because of the fact that with position actuator, MuJoCo handles the PD computations and gives us the options to choose k_p, k_d. But motor actuator is more of like a direct torque and would be amplified based on the gear parameter. (Reference: https://mujoco.readthedocs.io/en/stable/XMLreference.html#actuator)
I am not related with the creators of this repository, answers are based on my own understanding. Hope this helps!!
Activity
vishcomestrue commentedon Aug 27, 2025
Based on my understanding,
joint dampingandkvparameters are thatjoint dampingis a passive force, which means that even if there is no control signal, there is a torquekvterm comes to play only when there is a control signal on that actuator. (Refer to the damping term in https://mujoco.readthedocs.io/en/stable/XMLreference.html#body-joint)positionactuator, MuJoCo handles the PD computations and gives us the options to choosek_p,k_d. Butmotoractuator is more of like a direct torque and would be amplified based on thegearparameter. (Reference: https://mujoco.readthedocs.io/en/stable/XMLreference.html#actuator)I am not related with the creators of this repository, answers are based on my own understanding. Hope this helps!!