Skip to content

[Bug Report] AttributeError when running check_mesh_subterrains.py: missing platform_height in repeated object terrain configs #3336

@BaoyiCui

Description

@BaoyiCui

Describe the bug

I was experimenting with mesh sub-terrains in my environment. When running the script source/isaaclab/test/terrains/check_mesh_subterrains.py, I encountered the following error:

AttributeError: 'MeshRepeatedPyramidsTerrainCfg' object has no attribute 'platform_height'. Did you mean: 'platform_width'?

It looks like every call to test_repeated_objects_terrain fails with a similar issue.

Steps to reproduce

conda activate env_isaaclab
cd IsaacLab # replace this with your isaaclab root directory
python source/isaaclab/test/terrains/check_mesh_subterrains.py

System Info

  • Isaac Sim Version: 5.0
  • OS: Ubuntu 22.04
  • GPU: RTX 5090
  • CUDA: 12.9
  • GPU Driver: 575.64.03

Additional context

Relevant log excerpt:

[INFO][AppLauncher]: Using device: cuda:0
[INFO][AppLauncher]: Loading experience file: /home/baoyicui/Environments/IsaacLab/apps/isaaclab.python.headless.kit
[Warning] [simulation_app.simulation_app] Modules: ['omni.kit_app'] were loaded before SimulationApp was started and might not be loaded correctly.
[Warning] [simulation_app.simulation_app] Please check to make sure no extra omniverse or pxr modules are imported before the call to SimulationApp(...)
Loading user config located at: '/home/baoyicui/Environments/miniconda3/envs/env_isaaclab/lib/python3.11/site-packages/omni/data/Kit/Isaac-Sim/5.0/user.config.json'
[Info] [carb] Logging to file: /home/baoyicui/Environments/miniconda3/envs/env_isaaclab/lib/python3.11/site-packages/omni/logs/Kit/Isaac-Sim/5.0/kit_20250903_193117.log
2025-09-03T11:31:17Z [109ms] [Warning] [omni.usd_config.extension] Enable omni.materialx.libs extension to use MaterialX
2025-09-03T11:31:18Z [459ms] [Warning] [omni.isaac.dynamic_control] omni.isaac.dynamic_control is deprecated as of Isaac Sim 4.5. No action is needed from end-users.
2025-09-03T11:31:23Z [5,456ms] [Warning] [gpu.foundation.plugin] Skipping unsupported non-NVIDIA GPU: AMD Radeon Graphics (RADV RAPHAEL_MENDOCINO)
2025-09-03T11:31:23Z [5,456ms] [Warning] [gpu.foundation.plugin] Skipping unsupported non-NVIDIA GPU: AMD Radeon Graphics (RADV RAPHAEL_MENDOCINO)

|---------------------------------------------------------------------------------------------|
| Driver Version: 575.64.03     | Graphics API: Vulkan
|=============================================================================================|
| GPU | Name                             | Active | LDA | GPU Memory | Vendor-ID | LUID       |
|     |                                  |        |     |            | Device-ID | UUID       |
|     |                                  |        |     |            | Bus-ID    |            |
|---------------------------------------------------------------------------------------------|
| 0   | NVIDIA GeForce RTX 5090          | Yes: 0 |     | 32607   MB | 10de      | 0          |
|     |                                  |        |     |            | 2b85      | 55b0f5d7.. |
|     |                                  |        |     |            | 1         |            |
|---------------------------------------------------------------------------------------------|
| 1   | AMD Radeon Graphics (RADV RAPH.. |        |     | 21974   MB | 1002      | 0          |
|     |                                  |        |     |            | 13c0      | 00000000.. |
|     |                                  |        |     |            | 77        |            |
|=============================================================================================|
| OS: 24.04.3 LTS (Noble Numbat) ubuntu, Version: 24.04.3, Kernel: 6.14.0-29-generic
| XServer Vendor: The X.Org Foundation, XServer Version: 12101011 (1.21.1.11)
| Processor: AMD Ryzen 9 9950X3D 16-Core Processor
| Cores: 16 | Logical Cores: 32
|---------------------------------------------------------------------------------------------|
| Total Memory (MB): 61828 | Free Memory: 49249
| Total Page/Swap (MB): 73727 | Free Page/Swap: 73727
|---------------------------------------------------------------------------------------------|
2025-09-03T11:31:27Z [9,600ms] [Warning] [gpu.foundation.plugin] CPU performance profile is set to powersave. This profile sets the CPU to the lowest frequency reducing performance.
2025-09-03T11:31:27Z [9,661ms] [Warning] [gpu.foundation.plugin] IOMMU is enabled.
2025-09-03T11:31:27Z [9,661ms] [Warning] [gpu.foundation.plugin] Detected IOMMU is enabled. Running CUDA peer-to-peer bandwidth and latency validation.
Unidirectional P2P=Enabled Bandwidth (P2P Writes) Matrix (GB/s)
   D\D     0 
     0 1543.97 
P2P=Enabled Latency (P2P Writes) Matrix (us)
   GPU     0 
     0   2.27 

   CPU     0 
     0   1.69 
Traceback (most recent call last):
  File "/home/baoyicui/Environments/IsaacLab/source/isaaclab/test/terrains/check_mesh_subterrains.py", line 428, in <module>
    main()
  File "/home/baoyicui/Environments/IsaacLab/source/isaaclab/test/terrains/check_mesh_subterrains.py", line 418, in main
    test_repeated_objects_terrain(difficulty=0.75, object_type="pyramid", output_dir=output_dir, headless=headless)
  File "/home/baoyicui/Environments/IsaacLab/source/isaaclab/test/terrains/check_mesh_subterrains.py", line 383, in test_repeated_objects_terrain
    meshes, origin = cfg.function(difficulty=difficulty, cfg=cfg)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/baoyicui/Environments/IsaacLab/source/isaaclab/isaaclab/terrains/trimesh/mesh_terrains.py", line 776, in repeated_objects_terrain
    platform_height = cfg.platform_height if cfg.platform_height >= 0.0 else height
                                             ^^^^^^^^^^^^^^^^^^^
AttributeError: 'MeshRepeatedPyramidsTerrainCfg' object has no attribute 'platform_height'. Did you mean: 'platform_width'?
2025-09-03T11:31:37Z [19,641ms] [Warning] [omni.physx.plugin] USD stage detach not called, holding a loose ptr to a stage!
2025-09-03T11:31:37Z [19,810ms] [Warning] [carb] Recursive unloadAllPlugins() detected!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions