You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was using this repository for reinforcement learning control of the Unitree A1.
I make some object for each environment like below(pictures) and add cube like this
CUBE_CFG = AssetBaseCfg(
prim_path="/World/Origin.*/Cube",
spawn=sim_utils.CuboidCfg(
size=(3., 3., 0.5),
# rigid_props=sim_utils.RigidBodyPropertiesCfg(),
# mass_props=sim_utils.MassPropertiesCfg(mass=1.0),
collision_props=sim_utils.CollisionPropertiesCfg(),
visual_material=sim_utils.PreviewSurfaceCfg(diffuse_color=(1.0, 1.0, 1.0)),
),
init_state=AssetBaseCfg.InitialStateCfg(pos=(0, 0, 2)),
)
self.scene.obj = CUBE_CFG.replace(prim_path="{ENV_REGEX_NS}/OBJ")
and have an error 'AttributeError: 'RayCaster' object has no attribute 'drift''.
or i add one asset (Cube) and tried 'mesh_prim_paths=["/World/Cube/"],' but i got the same error
i add cube like this.CUBE.func("/World/Cube", CUBE, translation=(0.0, 0.0, 1.0))
CUBE = sim_utils.CuboidCfg(
size=(10., 10., 0.5),
collision_props=sim_utils.CollisionPropertiesCfg(),
visual_material=sim_utils.PreviewSurfaceCfg(diffuse_color=(1.0, 1.0, 1.0)),
)
Is there a way to configure the raycast sensor to measure objects generated in each environment?
Or is there a way to add a single object and configure the raycast sensor to measure it?
Is there update for Raycast Sensor sensing multi static mesh or dynamic mesh?
The text was updated successfully, but these errors were encountered:
I am guessing that your objects do not all belong to the same mesh. I was getting similar errors until I merged all objects into a single mesh in Isaac Sim.
There are many issues / discussions about RayCasterCamera limited to a single static mesh.
I was using this repository for reinforcement learning control of the Unitree A1.

I make some object for each environment like below(pictures) and add cube like this
CUBE_CFG = AssetBaseCfg(
prim_path="/World/Origin.*/Cube",
spawn=sim_utils.CuboidCfg(
size=(3., 3., 0.5),
# rigid_props=sim_utils.RigidBodyPropertiesCfg(),
# mass_props=sim_utils.MassPropertiesCfg(mass=1.0),
collision_props=sim_utils.CollisionPropertiesCfg(),
visual_material=sim_utils.PreviewSurfaceCfg(diffuse_color=(1.0, 1.0, 1.0)),
),
init_state=AssetBaseCfg.InitialStateCfg(pos=(0, 0, 2)),
)
self.scene.obj = CUBE_CFG.replace(prim_path="{ENV_REGEX_NS}/OBJ")
i tried below
and have an error 'AttributeError: 'RayCaster' object has no attribute 'drift''.
or i add one asset (Cube) and tried 'mesh_prim_paths=["/World/Cube/"],' but i got the same error
i add cube like this.CUBE.func("/World/Cube", CUBE, translation=(0.0, 0.0, 1.0))
CUBE = sim_utils.CuboidCfg(
size=(10., 10., 0.5),
collision_props=sim_utils.CollisionPropertiesCfg(),
visual_material=sim_utils.PreviewSurfaceCfg(diffuse_color=(1.0, 1.0, 1.0)),
)
Is there a way to configure the raycast sensor to measure objects generated in each environment?
Or is there a way to add a single object and configure the raycast sensor to measure it?
Is there update for Raycast Sensor sensing multi static mesh or dynamic mesh?
The text was updated successfully, but these errors were encountered: