Hi, here is the solution of a Isaac Sim tutorial error.
Problem
When the code below in the Isaac Sim tutorial ‘3.7. Segment a Point Cloud’ is run:
https://docs.omniverse.nvidia.com/app_isaacsim/app_isaacsim/tutorial_advanced_range_sensor_lidar.html#segment-a-point-cloud
The following error happens:
2022-06-02 03:03:12 [Error] [omni.kit.app.plugin] [py stderr]: NameError: name ‘Semantics’ is not defined
At:
executing: Python 0…(42):
Solution
‘Semantics’ should be imported as below:
Before:
from pxr import UsdGeom, Gf, UsdPhysics
After:
from pxr import UsdGeom, Gf, UsdPhysics, Semantics
Environment
Isaac Sim AMI Image Container install on AWS EC2