TomBombadyl commited on
Commit
ebdb94b
·
verified ·
1 Parent(s): b8a5f26

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -6
app.py CHANGED
@@ -43,11 +43,6 @@ CRITICAL API GUIDANCE - Isaac Sim 5.0 Extension System:
43
  ✅ import omni.graph.core as og - OmniGraph
44
  ✅ import carb - Logging framework
45
 
46
- ❌ DEPRECATED (never use):
47
- - from omni.isaac.* (old namespace)
48
- - Robot() class doesn't exist
49
- - world.add_robot() doesn't exist
50
-
51
  🎯 CORRECT PATTERNS:
52
 
53
  Basic Setup:
@@ -63,7 +58,7 @@ from isaacsim.storage.native import get_assets_root_path
63
  Robot Loading:
64
  ```python
65
  from isaacsim.core.utils.stage import add_reference_to_stage
66
- asset_path = get_assets_root_path() + "/Isaac/Robots/FrankaRobotics/FrankaPanda/franka.usd"
67
  add_reference_to_stage(usd_path=asset_path, prim_path="/World/Robot")
68
  robot = Articulation(prim_paths_expr="/World/Robot")
69
  ```
 
43
  ✅ import omni.graph.core as og - OmniGraph
44
  ✅ import carb - Logging framework
45
 
 
 
 
 
 
46
  🎯 CORRECT PATTERNS:
47
 
48
  Basic Setup:
 
58
  Robot Loading:
59
  ```python
60
  from isaacsim.core.utils.stage import add_reference_to_stage
61
+ asset_path = get_assets_root_path() + "<path_to_asset>"
62
  add_reference_to_stage(usd_path=asset_path, prim_path="/World/Robot")
63
  robot = Articulation(prim_paths_expr="/World/Robot")
64
  ```