[Question] randomize_visual_texture_material.__init__() got an unexpected keyword argument 'asset_cfg' #2793
Replies: 3 comments
-
Thanks for posting this. A similar issue was reported in #2388. Would the workarounds in the comments work in your case? |
Beta Was this translation helpful? Give feedback.
-
Hi, I got it working. Thanks, since I didn't see an implementation of it in IsaacLab, I will share my code here for future reference for others:
I am very curious though, is the replicator not compatible with IsaacLab? I even made a custom function based on randomize_visual_texture_material which doesn't have the TypeError: randomize_visual_texture_material.init() got an unexpected rep.randomizer.texture( ) or rep.randomizer.color( )... It would be insanely helpful if replicator was compatible with isaaclab... is my implementation wrong or something? I had this:
|
Beta Was this translation helpful? Give feedback.
-
This is great to hear. I'll move this post into our Discussions for follow up. Thank you for sharing your solution. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I am using Isaac Sim 4.5.0.
I want to change the texture of one of my assets in my scene and I saw that I can use randomize_visual_texture_material for that. But I don't understand the implementation. The asset is as follows:
`
I want that on reset, the png file changes for the material (I have 50 png files and I want it to be random)
I think randomize_visual_texture_material can do this but I tried adding this to my interactive scene:
and my event cfg as:
where
but it gives error:
TypeError: randomize_visual_texture_material.init() got an unexpected
keyword argument 'asset_cfg'
Beta Was this translation helpful? Give feedback.
All reactions