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
[Proposal] Many naming inconsistencies in the joint properties inside Articulation #1583
Going over recent changes in the Articulation class and there are a few inconsistencies that have popped up in the recent merges.
Variables such as joint_armature and joint_friction are not a part of ArticulationData
It is unclear what joint_limits refer to unless we start digging into the code? Same for default_joint_limits.
There are attributes for joint_velocity_limits but at the same time there isn't joint_efforts_limits
There are attributes like soft_joint_pos_limits and soft_joint_vel_limits which are not getting updated when one calls write_xxx_to_sim methods
As attributes are exploding, it is getting very unclear what is meant by "default" and non-default members in the class. We should be documenting this very explicitly and clearly.
The same applies for quantities that are shared between sim and explicit actuators. The docstrings are not clear about them and code complexity has increated.
Similar arguments hold now for the event term:
randomize_joint_parameters - It is trying to do so many operations in one go. Not clear what lower_limit_distribution_params means in there without again checking the code. We should split it up into separate functions that -- one for joint properties and other for joint limits. Modularity goes big time over complexity.
Motivation
Would be great to make sure we stay consistent in our code and operations inside the classes.
Checklist
I have checked that there is no similar issue in the repo (required)
The more I work with the Articulation class, the huger the mess seems.
The default_ parameters, for instance. They are set to the values from inside the USD and not the values passed from the configuration. This isn't what is expected IMO. The configured values should be the default values.
Also default_joint_stiffness and joint_stiffness are not the same "set". The former has stiffness/damping from explicit, while the latter only has the values set inside the simulation. This makes things buggy.
To be fair, I want to deprecate all the joint_xxx parameters to make them joint_xxx_sim (for explicit clarity). But this breaks too many things and can be annoying. Since the docstrings mention they are the value provided to the simulation, I can live with that for now. Thoughts?
Activity
RandomOakForest commentedon Jan 3, 2025
Thank you for posting this suggestion. It has been duly noted.
Mayankm96 commentedon Feb 15, 2025
The more I work with the Articulation class, the huger the mess seems.
The
default_parameters, for instance. They are set to the values from inside the USD and not the values passed from the configuration. This isn't what is expected IMO. The configured values should be the default values.Also
default_joint_stiffnessandjoint_stiffnessare not the same "set". The former has stiffness/damping from explicit, while the latter only has the values set inside the simulation. This makes things buggy.Mayankm96 commentedon Feb 15, 2025
Made the MR #1875 for this.
To be fair, I want to deprecate all the
joint_xxxparameters to make themjoint_xxx_sim(for explicit clarity). But this breaks too many things and can be annoying. Since the docstrings mention they are the value provided to the simulation, I can live with that for now. Thoughts?Clarifies the default parameters in ArticulationData (#1875)
Clarifies the default parameters in ArticulationData (#1875)
Clarifies the default parameters in ArticulationData (isaac-sim#1875)
Clarifies the default parameters in ArticulationData (isaac-sim#1875)