Repository navigation
Replies: 1 comment
|
The terrain comes from the env config. # set terrain generation probability to 0 for boxes and stairs
self.scene.terrain.terrain_generator.sub_terrains["random_rough"].proportion = 0.4
self.scene.terrain.terrain_generator.sub_terrains["hf_pyramid_slope"].proportion = 0.3
self.scene.terrain.terrain_generator.sub_terrains["hf_pyramid_slope_inv"].proportion = 0.3
self.scene.terrain.terrain_generator.sub_terrains["boxes"].proportion = 0.0
self.scene.terrain.terrain_generator.sub_terrains["pyramid_stairs"].proportion = 0.0
self.scene.terrain.terrain_generator.sub_terrains["pyramid_stairs_inv"].proportion = 0.0That is why your policy has never seen a step. To train on stairs, give them a nonzero share (the generator normalizes the proportions) and set a step height that suits a small quadruped. The Isaac Lab default is sub = self.scene.terrain.terrain_generator.sub_terrains
sub["random_rough"].proportion = 0.2
sub["hf_pyramid_slope"].proportion = 0.15
sub["hf_pyramid_slope_inv"].proportion = 0.15
sub["pyramid_stairs"].proportion = 0.25 # climbing up
sub["pyramid_stairs_inv"].proportion = 0.25 # going down
sub["pyramid_stairs"].step_height_range = (0.02, 0.15)
sub["pyramid_stairs_inv"].step_height_range = (0.02, 0.15)The terrain-level curriculum ( You can start from your rough-terrain policy instead of from scratch: python scripts/reinforcement_learning/rsl_rl/train.py --task=Rough-Deeprobotics-Lite3-v0 --headless \
--resume --load_run <your_run_folder> --checkpoint model_XXXX.ptTwo notes:
|
Uh oh!
There was an error while loading. Please reload this page.
hi! I wanna know how to change the environment where robot runs, i've achieved good training result in rough terrain i wanna try if robot can walk stairs. Thanks!
All reactions