Skip to content

Commit

Permalink
Make sleep threshold lower
Browse files Browse the repository at this point in the history
  • Loading branch information
hang-yin committed Oct 15, 2024
1 parent 964c09b commit a819749
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion omnigibson/prims/entity_prim.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
m = create_module_macros(module_path=__file__)

# Default sleep threshold for all objects -- see https://docs.omniverse.nvidia.com/extensions/latest/ext_physics/simulation-control/physics-settings.html?highlight=sleep#sleeping
m.DEFAULT_SLEEP_THRESHOLD = 0.001
m.DEFAULT_SLEEP_THRESHOLD = 0.00005


class EntityPrim(XFormPrim):
Expand Down
1 change: 0 additions & 1 deletion omnigibson/simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,6 @@ def _set_renderer_settings(self):
lazy.carb.settings.get_settings().set_bool("/physics/fabricUpdateJointStates", False)
lazy.carb.settings.get_settings().set_bool("/physics/fabricUpdateResiduals", False)
lazy.carb.settings.get_settings().set_bool("/physics/fabricUseGPUInterop", True)
# lazy.carb.settings.get_settings().set_bool("/physics/disableSleeping", True)

def _validate_dts(self, physics_dt, rendering_dt, sim_step_dt):
"""
Expand Down

0 comments on commit a819749

Please sign in to comment.