Repository navigation
Replies: 1 comment
|
In setattr(cls, "replace", _replace_class_with_kwargs)
...
def _replace_class_with_kwargs(obj, **kwargs):
return replace(obj, **kwargs) # dataclasses.replaceSo this line: robot_cfg: ArticulationCfg = CARTPOLE_CFG.replace(prim_path="/World/envs/env_.*/Robot")means: take the shared Some properties that matter in practice:
The same decorator also adds |
Uh oh!
There was an error while loading. Please reload this page.
From here: https://isaac-sim.github.io/IsaacLab/main/source/setup/walkthrough/api_env_design.html
What does the
replacefunction do? I can't find any docs about this.All reactions