[Question] PD Gains being set to odd values for default Humanoid28 file #1975
-
I'm trying to follow the tutorial on modifying I downloaded the USD file and the stiffness values are all in the range of 100-600, with damping values being one tenth of them for each drive. When observing the Humanoid28 in IsaacSim, by clicking under "Joints" I can see each of the joints has the proper stiffness / damping values from the USD file itself. However, when looking at the output of
Where are these values coming from? I think they're the ones that are being applied in the simulation, even though the "joints" for Humanoid28 have the correct values from the USD (see screenshot): I did some more logging and checked the values coming in from the |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Thanks for posting this. The discrepancy you notice may be related to the different units used in the Isaac Sim UI. See this doc for more details. I will move this post to our Discussions. Thanks. |
Beta Was this translation helpful? Give feedback.
-
Following up, let us know if we can be of further help. Thanks. |
Beta Was this translation helpful? Give feedback.
-
Isaac Sim uses the units degrees and meters for angles and distances respectively. Meanwhile, PhysX internally uses radians for angles. Since the stiffness and damping units depend on the unit chosen, what you set in the UI is related to degrees. The printed values are those from PhysX which are in radians. So a stiffness of 600 "Nm/deg" corresponds to 34377.6 "Nm/rad". Hence what you see is the correct conversion. We understand this is confusing that the UI and internal workings use different units but right now there isn't an easy fix for this from IsaacLab side. @RandomOakForest --> We should assign this issue to IsaacSim/Kit teams to make this consistent. Noone really in robotics uses degrees 😓 |
Beta Was this translation helpful? Give feedback.
Isaac Sim uses the units degrees and meters for angles and distances respectively. Meanwhile, PhysX internally uses radians for angles.
Since the stiffness and damping units depend on the unit chosen, what you set in the UI is related to degrees. The printed values are those from PhysX which are in radians.
So a stiffness of 600 "Nm/deg" corresponds to 34377.6 "Nm/rad". Hence what you see is the correct conversion.
We understand this is confusing that the UI and internal workings use different units but right now there isn't an easy fix for this from IsaacLab side.
@RandomOakForest --> We should assign this issue to IsaacSim/Kit teams to make this consistent. Noone really in robotics uses…