unilab.envs.locomotion.common.terrain_spawn.TerrainCurriculumCfg¶
- class unilab.envs.locomotion.common.terrain_spawn.TerrainCurriculumCfg[source]¶
Bases:
objectTerrainCurriculumCfg(enabled: ‘bool’ = False, promote_frac: ‘float’ = 0.5, demote_frac: ‘float’ = 0.25, cycle_top_frac: ‘float’ = 0.5, spawn_height_margin: ‘float’ = 0.05, seed: ‘int | None’ = None)
- Parameters:
Methods
__init__([enabled, promote_frac, ...])Attributes
When level overflows the top row, resample uniformly in
[num_rows * cycle_top_frac, num_rows - 1].Walked distance < demote_frac * cell_size demotes one level.
If True, levels start at 0 and evolve via promote/demote.
Walked distance > promote_frac * cell_size promotes one level.
Extra z added on top of the sampled terrain surface height.