In Mujoco 3.1.0, the kv attribute was added for position actuators. This is currently still missing from the Unity plugin, which only looks for kp in the Custom Params for a position actuator. Can this be added in the plugin?
Fix should be minimal, adding kv as a GUI element when position actuator is selected, and adding the get/set for the attribute in PositionToMjcf and PositionFromMjcf. A variable for kv already exists for velocity controllers.
In Mujoco 3.1.0, the
kv
attribute was added for position actuators. This is currently still missing from the Unity plugin, which only looks for kp in the Custom Params for a position actuator. Can this be added in the plugin?Fix should be minimal, adding
kv
as a GUI element whenposition
actuator is selected, and adding the get/set for the attribute in PositionToMjcf and PositionFromMjcf. A variable forkv
already exists for velocity controllers.