Repository navigation
feat(hetero_humanoid): add gait symmetry rewards and tune rough terrain locomotion - #3
Merged
modanesh merged 5 commits intoOct 6, 2026
Conversation
…matics for Unitree H2
…in locomotion - Add gait_symmetry reward terms to Cassie, Digit, G1, H1, and H2 to eliminate limping and promote symmetric bipedal gaits - Fix tensor indexing in hetero_humanoid_rewards.py to slice contact sensor data by robot_env_ids - Tune feet air time thresholds, action scales, and joint deviation penalties for rough terrain - Relax termination limits (orientation_limit, min_root_height) in robot_configs.py to prevent premature termination on stairs and ramps
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
Stacked Pull Request: This PR is stacked on top of the Unitree H2 integration #2 PR (
feature/h2-integration). Please review and merge that PR first.Description
This pull request introduces gait symmetry rewards and locomotion stability improvements across the heterogeneous humanoid suite (
cassie,digit,g1,h1,h2) on rough terrain (pyramids, inverted pyramids, and discrete obstacles):hetero_humanoid_rewards.py(feet_air_time_biped,feet_air_time_symmetry_biped,feet_slide,no_fly,undesired_contacts,desired_contacts) to properly slice contact sensor buffers usingrobot_env_ids.feet_air_time_symmetry_bipedreward penalties across all 5 bipedal humanoids (Cassie,Digit,G1,H1,H2) to prevent single-leg favoring/limping and encourage synchronized alternating footfall cycles during straight walking.orientation_limitterminations forCassieandH2inrobot_configs.pythat previously triggered false-positive resets when pitching on steep stairs or ramps.feet_air_timethresholds and weights to incentivize stepping over rough terrain obstacles.joint_deviation_hip_roll_h2andjoint_deviation_hip_yaw_h2) to prevent inward knee and lateral leg drift while maintaining yaw responsiveness.action_scale_h2 = 0.25for smoother joint position setpoint tracking.Fixes # (issue)
Type of change
Visuals
cassie.mp4
digit.mp4
h1.mp4
h2.mp4
g1.mp4
Checklist
pre-commitchecks with./isaaclab.sh --formatconfig/extension.tomlfileCONTRIBUTORS.mdor my name already exists there