Skip to content

Commit

Permalink
save before using quat
Browse files Browse the repository at this point in the history
  • Loading branch information
budzianowski committed Jan 8, 2025
1 parent c9921bb commit 27c1af8
Show file tree
Hide file tree
Showing 4 changed files with 169 additions and 161 deletions.
12 changes: 6 additions & 6 deletions sim/envs/humanoids/zbot2_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,14 +212,14 @@ class physx(LeggedRobotCfg.sim.physx):
contact_collection = 2

class domain_rand(LeggedRobotCfg.domain_rand):
start_pos_noise = 0.03
start_pos_noise = 0.05
randomize_friction = True
friction_range = [0.1, 1.5]
randomize_base_mass = True
added_mass_range = [-0.1, 0.1]
added_mass_range = [-0.1, 0.2]
push_robots = True
push_interval_s = 4
max_push_vel_xy = 0.05
max_push_vel_xy = 0.1
max_push_ang_vel = 0.2
# dynamic randomization
action_delay = 0.5
Expand All @@ -240,12 +240,12 @@ class ranges:

class rewards:
base_height_target = Robot.height
min_dist = 0.03
max_dist = 0.14
min_dist = 0.07
max_dist = 0.2

# put some settings here for LLM parameter tuning
# pfb30
target_joint_pos_scale = 0.24 # rad
target_joint_pos_scale = 0.27 # rad
target_feet_height = 0.03 # m
cycle_time = 0.4 # sec
# if true negative total rewards are clipped at zero (avoids early termination problems)
Expand Down
2 changes: 1 addition & 1 deletion sim/play2.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def play(args: argparse.Namespace) -> None:
env_cfg.terrain.curriculum = False
env_cfg.terrain.max_init_terrain_level = 5
env_cfg.noise.add_noise = True
env_cfg.domain_rand.push_robots = False
env_cfg.domain_rand.push_robots = True
env_cfg.domain_rand.joint_angle_noise = 0.0
env_cfg.noise.curriculum = False
env_cfg.noise.noise_level = 0.5
Expand Down
Loading

0 comments on commit 27c1af8

Please sign in to comment.