-
Notifications
You must be signed in to change notification settings - Fork 3.9k
[Backport release/3.0.0] Centralize shared physics preset ownership #7312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| Changed | ||
| ^^^^^^^ | ||
|
|
||
| * **Breaking:** Changed Newton MJWarp velocity environments to use two physics substeps from their | ||
| shared family configuration. Robot-specific velocity configs no longer override the substep count. | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -296,6 +296,8 @@ class PhysicsCfg(PresetCfg): | |
| gpu_found_lost_aggregate_pairs_capacity=1024 * 1024 * 4, | ||
| gpu_total_aggregate_pairs_capacity=2**21, | ||
| friction_correlation_distance=0.00625, | ||
| # Let object contacts stall position-driven grippers before they tunnel through a grasp. | ||
| solve_articulation_contact_last=True, | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟡 Warning · Design Architecture — SO-101 contact workaround applied family-wide
|
||
| ) | ||
| newton_mjwarp = NewtonCfg( | ||
| solver_cfg=MJWarpSolverCfg( | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,6 +6,7 @@ | |
| from dataclasses import MISSING | ||
|
|
||
| from isaaclab_newton.physics import MJWarpSolverCfg, NewtonCfg, NewtonCollisionPipelineCfg, NewtonShapeCfg | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
If Knowledge Base Used: |
||
| from isaaclab_ov.physics import OvPhysxCfg | ||
| from isaaclab_physx.physics import PhysxCfg | ||
|
|
||
| import isaaclab.sim as sim_utils | ||
|
|
@@ -490,6 +491,10 @@ class PhysicsCfg(PresetCfg): | |
| gpu_max_rigid_patch_count=4 * 5 * 2**15, | ||
| gpu_found_lost_pairs_capacity=2**26, | ||
| ) | ||
| ovphysx = OvPhysxCfg( | ||
| gpu_max_rigid_patch_count=4 * 5 * 2**15, | ||
| gpu_found_lost_pairs_capacity=2**26, | ||
| ) | ||
| newton_mjwarp = NewtonCfg( | ||
| solver_cfg=MJWarpSolverCfg( | ||
| solver="newton", | ||
|
|
@@ -509,7 +514,7 @@ class PhysicsCfg(PresetCfg): | |
| num_substeps=2, | ||
| debug_mode=False, | ||
| ) | ||
| physx = PhysxAutoCfg(isaacsim_physx=isaacsim_physx) | ||
| physx = PhysxAutoCfg(isaacsim_physx=isaacsim_physx, ovphysx=ovphysx) | ||
| default = newton_mjwarp | ||
|
|
||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🟡 Warning · Api — Changelog omits removed preset classes
This fragment covers only substeps, but the change also deletes importable
PhysicsCfgclasses from nineflat_env_cfgmodules plusKukaAllegroPhysicsCfgandSO101StackPhysicsCfg, and makes flat velocity envs inherit the family collision/shape settings. Downstream imports of those symbols now fail with no documented replacement. List the removed classes, their shared-preset replacements, and how to restore the previous single-substep configuration.