-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Description
Issue Description:
I'm trying to configure a RayCaster (lidar) to scan room walls in a multi-environment setup, but I'm having trouble with mesh_prim_paths configuration.
My Setup:
- Multi-environment training with
/World/envs/env_0/,/World/envs/env_1/, etc. - Room with 5 walls created as separate
RigidObjectCfgobjects:/World/envs/env_0/wall_north/World/envs/env_0/wall_south/World/envs/env_0/wall_east/World/envs/env_0/wall_west/World/envs/env_0/wall_mid
Current RayCaster Config:
ray_caster = RayCasterCfg(
prim_path="/World/envs/env_.*/Robot/base_link/lidar_cage",
mesh_prim_paths=??? # This is my problem
pattern_cfg=patterns.LidarPatternCfg(channels=1, vertical_fov_range=[0., 0.])
)Questions:
-
Single path requirement: RayCaster seems to only accept one
mesh_prim_pathsstring, not a list. How can I scan all 5 walls with a single path? -
Multi-environment support: Does
mesh_prim_pathssupport regex patterns like"/World/envs/env_.*/wall_*"or do I need explicit paths like"/World/envs/env_0/wall_north"? -
Parent container approach: If I target a parent path like
"/World/envs/env_0", will it automatically discover all child mesh objects, or do I need each wall to be under a single mesh container?
Errors I've encountered:
ValueError: Prim path '/World/envs/env_.*' is not validwhen using regexRuntimeError: Invalid mesh prim pathwhen using CuboidCfg (I understand this needs to be actual mesh)ValueError: Number of markers cannot be zeroin debug visualization
What's the recommended approach for scanning multiple room walls in a multi-environment RL setup?
Thanks for any guidance! If there is other way to use LiDAR, I am happy to hear about it too. I wonder how we can just bring the from isaacsim.sensors.rtx.LidarRtx into IsaacLab