-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Centralize shared physics preset ownership #7301
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 1 commit
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 |
|---|---|---|
|
|
@@ -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 ordering becomes stack-family default
|
||
| ) | ||
| 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 | ||
| 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( | ||
|
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. 🔵 Suggestion · Api — Lift OV preset widened beyond Kuka Allegro The shared lift |
||
| 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.
When a non-SO-101 stack task uses the default Isaac Sim PhysX preset,
StackEnvCfg.__post_init__now enablessolve_articulation_contact_last, changing the articulation/contact solve order from its previous default and therefore changing grasp and contact dynamics for existing Franka, Galbot, and UR10 tasks.Knowledge Base Used: isaaclab_tasks: Task Registration and Organization
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!