Skip to content

Commit

Permalink
deploy: 71e3ed9
Browse files Browse the repository at this point in the history
  • Loading branch information
Mayankm96 committed Oct 4, 2024
1 parent 840c501 commit b26396c
Show file tree
Hide file tree
Showing 3 changed files with 2,307 additions and 2,283 deletions.
8 changes: 7 additions & 1 deletion _modules/omni/isaac/lab/sim/utils.html
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,13 @@ <h1>Source code for omni.isaac.lab.sim.utils</h1><div class="highlight"><pre>
<span class="kn">import</span> <span class="nn">omni.isaac.core.utils.stage</span> <span class="k">as</span> <span class="nn">stage_utils</span>
<span class="kn">import</span> <span class="nn">omni.kit.commands</span>
<span class="kn">from</span> <span class="nn">omni.isaac.cloner</span> <span class="kn">import</span> <span class="n">Cloner</span>
<span class="kn">from</span> <span class="nn">pxr</span> <span class="kn">import</span> <span class="n">PhysxSchema</span><span class="p">,</span> <span class="n">Sdf</span><span class="p">,</span> <span class="n">Semantics</span><span class="p">,</span> <span class="n">Usd</span><span class="p">,</span> <span class="n">UsdGeom</span><span class="p">,</span> <span class="n">UsdPhysics</span><span class="p">,</span> <span class="n">UsdShade</span>
<span class="kn">from</span> <span class="nn">pxr</span> <span class="kn">import</span> <span class="n">PhysxSchema</span><span class="p">,</span> <span class="n">Sdf</span><span class="p">,</span> <span class="n">Usd</span><span class="p">,</span> <span class="n">UsdGeom</span><span class="p">,</span> <span class="n">UsdPhysics</span><span class="p">,</span> <span class="n">UsdShade</span>

<span class="c1"># from Isaac Sim 4.2 onwards, pxr.Semantics is deprecated</span>
<span class="k">try</span><span class="p">:</span>
<span class="kn">import</span> <span class="nn">Semantics</span>
<span class="k">except</span> <span class="ne">ModuleNotFoundError</span><span class="p">:</span>
<span class="kn">from</span> <span class="nn">pxr</span> <span class="kn">import</span> <span class="n">Semantics</span>

<span class="kn">from</span> <span class="nn">omni.isaac.lab.utils.string</span> <span class="kn">import</span> <span class="n">to_camel_case</span>

Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

Loading

0 comments on commit b26396c

Please sign in to comment.