randomize_rigid_body_material failing #3682
Replies: 3 comments
-
| Thank you for posting this. The error occurs because some “randomization functions” in isaaclab.envs.mdp.events are implemented as ManagerTerm classes (with init/call), not plain functions, so they expect their arguments as constructor kwargs, not via an asset_cfg keyword when used incorrectly as a callable signature mismatch inside EventTerm wiring. When using EventTerm, pass the params exactly as the class/function signature defines; for randomize_rigid_body_material specifically, the correct pattern is to provide asset_cfg and the ranges inside params. Things to consider
 import isaaclab_tasks.manager_based.manipulation.lift.mdp as mdp
 | 
Beta Was this translation helpful? Give feedback.
-
| Hi, I encountered the same issue yesterday. I suspect that this is not a  Both of the following  import isaaclab_tasks.manager_based.manipulation.lift.mdp as mdpimport isaaclab.envs.mdp as mdp | 
Beta Was this translation helpful? Give feedback.
-
| Thank you for following up. I will move this to our Discussions section, but if you have found a bug you can document, please open a bug report. Thank you. | 
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to add some domain randomization event terms to lift_env_cfg.py.
which gives
It appears that all randomization functions in isaaclab.env.mdp.event work(such as reset_root_state_uniform), but some are defined as classes with init() and call(), which seems to be causing problem.
what is the proper way to add randomization classes(randomize_rigid_body_material, randomize_visual_texture_material, etc) to EventCfg?
setup: Isaac Sim 5.0 latest release, IsaacLab/feat/isaac_sim_5_0, ubuntu 22.04, driver 570, rtx 5080
Beta Was this translation helpful? Give feedback.
All reactions