File tree Expand file tree Collapse file tree 2 files changed +55
-0
lines changed
source/isaaclab_tasks/isaaclab_tasks/manager_based/locomotion/velocity/config/anymal_d Expand file tree Collapse file tree 2 files changed +55
-0
lines changed Original file line number Diff line number Diff line change 33
33
},
34
34
)
35
35
36
+ gym .register (
37
+ id = "Isaac-Velocity-Flat-Anymal-D-Distillation-v0" ,
38
+ entry_point = "isaaclab.envs:ManagerBasedRLEnv" ,
39
+ disable_env_checker = True ,
40
+ kwargs = {
41
+ "env_cfg_entry_point" : f"{ __name__ } .flat_env_cfg:AnymalDFlatEnvCfg" ,
42
+ "rsl_rl_cfg_entry_point" : f"{ agents .__name__ } .rsl_rl_distillation_cfg:AnymalDFlatDistillationRunnerCfg" ,
43
+ },
44
+ )
45
+
46
+ gym .register (
47
+ id = "Isaac-Velocity-Flat-Anymal-D-Distillation-Play-v0" ,
48
+ entry_point = "isaaclab.envs:ManagerBasedRLEnv" ,
49
+ disable_env_checker = True ,
50
+ kwargs = {
51
+ "env_cfg_entry_point" : f"{ __name__ } .flat_env_cfg:AnymalDFlatEnvCfg_PLAY" ,
52
+ "rsl_rl_cfg_entry_point" : f"{ agents .__name__ } .rsl_rl_distillation_cfg:AnymalDFlatDistillationRunnerCfg" ,
53
+ },
54
+ )
55
+
36
56
gym .register (
37
57
id = "Isaac-Velocity-Rough-Anymal-D-v0" ,
38
58
entry_point = "isaaclab.envs:ManagerBasedRLEnv" ,
Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2022-2025, The Isaac Lab Project Developers (https://github.com/isaac-sim/IsaacLab/blob/main/CONTRIBUTORS.md).
2
+ # All rights reserved.
3
+ #
4
+ # SPDX-License-Identifier: BSD-3-Clause
5
+
6
+ from isaaclab .utils import configclass
7
+
8
+ from isaaclab_rl .rsl_rl import (
9
+ RslRlDistillationAlgorithmCfg ,
10
+ RslRlDistillationRunnerCfg ,
11
+ RslRlDistillationStudentTeacherCfg ,
12
+ )
13
+
14
+
15
+ @configclass
16
+ class AnymalDFlatDistillationRunnerCfg (RslRlDistillationRunnerCfg ):
17
+ num_steps_per_env = 120
18
+ max_iterations = 300
19
+ save_interval = 50
20
+ experiment_name = "anymal_d_flat"
21
+ obs_groups = {"policy" : ["policy" ], "teacher" : ["policy" ]}
22
+ policy = RslRlDistillationStudentTeacherCfg (
23
+ init_noise_std = 0.1 ,
24
+ noise_std_type = "scalar" ,
25
+ student_obs_normalization = False ,
26
+ teacher_obs_normalization = False ,
27
+ student_hidden_dims = [128 , 128 , 128 ],
28
+ teacher_hidden_dims = [128 , 128 , 128 ],
29
+ activation = "elu" ,
30
+ )
31
+ algorithm = RslRlDistillationAlgorithmCfg (
32
+ num_learning_epochs = 2 ,
33
+ learning_rate = 1.0e-3 ,
34
+ gradient_length = 15 ,
35
+ )
You can’t perform that action at this time.
0 commit comments