Skip to content

Conversation

ooctipus
Copy link
Collaborator

Description

This PR adds api to set physxscene:solveArticulationContactLast through PhysxCfg,
this is only available in sim 5.1

Fixes # (issue)

Type of change

  • New feature (non-breaking change which adds functionality)

Screenshots

Please attach before and after screenshots of the change if applicable.

Checklist

  • I have read and understood the contribution guidelines
  • I have run the pre-commit checks with ./isaaclab.sh --format
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • [] I have added tests that prove my fix is effective or that my feature works
  • I have updated the changelog and the corresponding version in the extension's config/extension.toml file
  • I have added my name to the CONTRIBUTORS.md or my name already exists there

@github-actions github-actions bot added enhancement New feature or request isaac-lab Related to Isaac Lab team labels Sep 19, 2025
physx_scene_api.CreateEnableEnhancedDeterminismAttr(self.cfg.physx.enable_enhanced_determinism)
# -- Set solve_articulation_contact_last by add attribute to the PhysxScene prim, and add attribute there.
physx_prim = physx_scene_api.GetPrim()
if self.cfg.physx.solve_articulation_contact_last:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is parameter is False? Shouldn't that be set as well?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good point, the small issue with set to false is that we break the backward compatibility, I think such flag does not exist pre isaac-sim 5.1

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's test to see if it will break 5.0, we may want to add in a check if that's the case

@Mayankm96 Mayankm96 changed the title Adds exposure to physxscene:solveArticulationContactLast api from PhysxCfg Exposes physxscene:solveArticulationContactLast flag through PhysxCfg Sep 22, 2025
@Mayankm96
Copy link
Contributor

Do we have an example showing that this feature helps?

@ooctipus
Copy link
Collaborator Author

this flag was troduced when mimic gripper had the issues iirc, @peterd-NV , do you think we can engage with you to document the incidence of gripper behavior and how adding this flag can make gripper behave well, to illustrate the impact of this flag?

ooctipus and others added 2 commits September 22, 2025 17:20
Co-authored-by: Mayank Mittal <12863862+Mayankm96@users.noreply.github.com>
Signed-off-by: ooctipus <zhengyuz@nvidia.com>
Co-authored-by: Mayank Mittal <12863862+Mayankm96@users.noreply.github.com>
Signed-off-by: ooctipus <zhengyuz@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request isaac-lab Related to Isaac Lab team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants