isaaclab_physx.envs.mdp#
Backend implementations used by the shared isaaclab.envs.mdp event terms.
Configure tasks through the shared terms.
Backend implementations of MDP event terms for PhysX.
Classes:
PhysX backend implementation for material randomization. |
|
PhysX backend implementation for collider offset randomization. |
|
Randomize scene-wide gravity, shared by every environment. |
|
Randomize USD mesh colors with Replicator. |
|
Randomize USD mesh textures with Replicator. |
- class isaaclab_physx.envs.mdp.events.randomize_rigid_body_material[source]#
PhysX backend implementation for material randomization.
Uses the bucket-based approach required by PhysX’s 64000 unique material limit. Materials are pre-sampled into buckets and randomly assigned to shapes.
Methods:
__init__(cfg, env)Sample material buckets and bind the asset shapes.
- __init__(cfg: EventTermCfg, env: ManagerBasedEnv) None[source]#
Sample material buckets and bind the asset shapes.
- class isaaclab_physx.envs.mdp.events.randomize_rigid_body_collider_offsets[source]#
PhysX backend implementation for collider offset randomization.
Uses rest offset and contact offset directly via the PhysX tensor API.
Methods:
__init__(cfg, env)Cache the asset's collider offsets.
- __init__(cfg: EventTermCfg, env: ManagerBasedEnv) None[source]#
Cache the asset’s collider offsets.
- class isaaclab_physx.envs.mdp.events.randomize_physics_scene_gravity[source]#
Randomize scene-wide gravity, shared by every environment.
Environment IDs do not restrict this global operation. Add and scale start from configured gravity each call. Distribution is fixed at construction; distribution parameters [m/s^2] may change at runtime.
Methods:
__init__(cfg, env)Initialize gravity sampling for the active simulation.
- __init__(cfg: EventTermCfg, env: ManagerBasedEnv) None[source]#
Initialize gravity sampling for the active simulation.
- class isaaclab_physx.envs.mdp.events.randomize_visual_color[source]#
Randomize USD mesh colors with Replicator.
Methods:
__init__(cfg, env)Initialize the randomization term.
- __init__(cfg: EventTermCfg, env: ManagerBasedEnv) None[source]#
Initialize the randomization term.
- class isaaclab_physx.envs.mdp.events.randomize_visual_texture_material[source]#
Randomize USD mesh textures with Replicator.
Methods:
__init__(cfg, env)Initialize the term.
- __init__(cfg: EventTermCfg, env: ManagerBasedEnv) None[source]#
Initialize the term.