Skip to content

Commit

Permalink
Fixes for startup performance
Browse files Browse the repository at this point in the history
  • Loading branch information
kellyguo11 committed Mar 13, 2024
1 parent 22df12f commit 7e80e14
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2023.1.1
2023.1.1a
9 changes: 9 additions & 0 deletions docs/release_notes.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
Release Notes
=============

2023.1.1a - March 13, 2024
--------------------------

Fixes
-----
- Add workaround for nucleus hang issue on startup
- Fix USD update flags being reset after creating new stage


2023.1.1 - December 12, 2023
----------------------------

Expand Down
22 changes: 22 additions & 0 deletions omniisaacgymenvs/utils/config_utils/sim_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,28 @@ def dock_window(space, name, location, ratio=0.5):
if window:
window.visible = False

# workaround for asset root search hang
carb.settings.get_settings().set_string(
"/persistent/isaac/asset_root/default",
"http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/2023.1.1",
)
carb.settings.get_settings().set_string(
"/persistent/isaac/asset_root/nvidia",
"http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/2023.1.1",
)

# make sure the correct USD update flags are set
if self._sim_params["use_fabric"]:
carb.settings.get_settings().set_bool("/physics/updateToUsd", False)
carb.settings.get_settings().set_bool("/physics/updateParticlesToUsd", False)
carb.settings.get_settings().set_bool("/physics/updateVelocitiesToUsd", False)
carb.settings.get_settings().set_bool("/physics/updateForceSensorsToUsd", False)
carb.settings.get_settings().set_bool("/physics/outputVelocitiesLocalSpace", False)
carb.settings.get_settings().set_bool("/physics/fabricUpdateTransformations", True)
carb.settings.get_settings().set_bool("/physics/fabricUpdateVelocities", False)
carb.settings.get_settings().set_bool("/physics/fabricUpdateForceSensors", False)
carb.settings.get_settings().set_bool("/physics/fabricUpdateJointStates", False)

def _parse_config(self):
# general sim parameter
self._sim_params = copy.deepcopy(default_sim_params)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
setup(
name="omniisaacgymenvs",
author="NVIDIA",
version="2023.1.1",
version="2023.1.1a",
description="RL environments for robot learning in NVIDIA Isaac Sim.",
keywords=["robotics", "rl"],
include_package_data=True,
Expand Down

0 comments on commit 7e80e14

Please sign in to comment.