at exts/omni.isaac.core/omni/isaac/core/physics_context/physics_context.py. kit_20231117_031816.log (685.2 KB)
It occurred when I trained my RL code which worked well on ver.2022. You can check my attachment. I will work on OmniIsaacGymEnvs and I left only my custom files. omniisaacgymenvs.zip (12.1 MB)
Thanks.
.
.
[Problem 2] SOLVED!
There is a point cloud segmentation example in the documentation (link). I modified it to standalone version (below attachment) and get the same results with documentation on ver.2022. However, it seems not working well on the new version and prints warning messages.
2023-11-16 18:55:18 [16,435ms] [Warning] [omni.isaac.range_sensor.python] Lidar get_semantic_data is deprecated and will not return any data, use get_prim_data and access semantics via usd
Anyway, I can get point cloud data even though the warning message appears but, I cannot get semantics.
I think the prim_path is not the reason for this problem.
I guess the simulator did not find any Lidar Sensor so if it has an empty np.ndarray value then it cannot convert the value.
I also checked the entire prim_path via the code below and then, entered the Lidar-related path but, it did not work.
stage = omni.usd.get_context().get_stage()
# Check if stage is valid
if stage:
# Iterate over all prims in the stage
for prim in stage.TraverseAll():
# Print the prim path
print(prim.GetPath())
@toni.sm@ahaidu I’m sorry, but can you shed some light on this issue?
From 2023, get_semantic_data is deprecated. I think it should be changed to get_prim_data.
If there are any point cloud data, the type is assigned into numpy.unit16. It caused the shutdown Isaac Sim. I think it would be better to convert it into another data type.