Skip to content

[BUG FIX] Fix material friction being ignore when parsing URDF/MJCF files.#1501

Merged
duburcqa merged 1 commit intoGenesis-Embodied-AI:mainfrom
duburcqa:fix_material_friction
Aug 5, 2025
Merged

[BUG FIX] Fix material friction being ignore when parsing URDF/MJCF files.#1501
duburcqa merged 1 commit intoGenesis-Embodied-AI:mainfrom
duburcqa:fix_material_friction

Conversation

@duburcqa
Copy link
Collaborator

@duburcqa duburcqa commented Aug 4, 2025

Description

Parse geometry-specific friction coefficient if and only if material friction coefficient is undefined.

Motivation and Context

Global material friction coefficient should have higher priority than pre-defined URDF / MJCF geometry-specific friction coefficient. This would better aligns with what is done for primitive geometries and meshes, and probably less confusing / error prone for the end-user.

Checklist:

  • I read the CONTRIBUTING document.
  • I followed the Submitting Code Changes section of CONTRIBUTING document.
  • I tagged the title correctly (including BUG FIX/FEATURE/MISC/BREAKING)
  • I updated the documentation accordingly or no change is needed.
  • I tested my changes and added instructions on how to test it for reviewers.

@duburcqa duburcqa requested a review from YilingQiao as a code owner August 4, 2025 21:42
@duburcqa duburcqa changed the title Fix material friction being ignore when parsing URDF/MJCF files. [BUG FIX] Fix material friction being ignore when parsing URDF/MJCF files. Aug 4, 2025
@duburcqa duburcqa force-pushed the fix_material_friction branch 5 times, most recently from a74ca5c to bc50653 Compare August 5, 2025 15:24
@duburcqa duburcqa force-pushed the fix_material_friction branch from bc50653 to ac5270c Compare August 5, 2025 15:24
@duburcqa duburcqa closed this Aug 5, 2025
@duburcqa duburcqa deleted the fix_material_friction branch August 5, 2025 15:27
@duburcqa duburcqa restored the fix_material_friction branch August 5, 2025 15:28
@duburcqa duburcqa reopened this Aug 5, 2025
@duburcqa duburcqa merged commit 3b8499c into Genesis-Embodied-AI:main Aug 5, 2025
17 of 34 checks passed
@duburcqa duburcqa deleted the fix_material_friction branch August 6, 2025 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants