Add minimal rough environment - #109
Open
OscarMrZ wants to merge 28 commits into
Open
Conversation
Allows to configure a minimal magnitude per axis, so very small velocities are not over represented. Additionally, forward envs are replaced by straight envs, same logic but both directions
- Fixed gate logic overrepressenting the band edges. Actual resample now - Separate low vel vs normal band - Ability to configure probability of being inside the low/high vel bands - Renamed to DualBandVelocityCommand
Replaces the default with all kinds of terrains with the tested pebbles, random spread and stairs curriculum + adapted rewards better suited for rough low vel
Also change the order of envs so they are group by type
Needed to avoid slight penetration (only visible when using actual geometries as ground) with some feet configurations
Co-authored-by: Sai Kishor Kothakota <sai.kishor@pal-robotics.com>
OscarMrZ
marked this pull request as draft
September 7, 2026 14:12
Minimal changes needed for good enough performance
OscarMrZ
force-pushed
the
add/rough_env_simple
branch
from
September 7, 2026 15:09
07523b6 to
605b8f8
Compare
OscarMrZ
marked this pull request as ready for review
September 7, 2026 15:23
saikishor
requested changes
Sep 8, 2026
Comment on lines
61
to
82
| task_id="Mjlab-Velocity-Rough-Pal-Kangaroo-Lower-Body", | ||
| env_cfg=pal_kangaroo_lower_body_rough_env_cfg(), | ||
| play_env_cfg=pal_kangaroo_lower_body_rough_env_cfg(play=True), | ||
| rl_cfg=pal_kangaroo_ppo_runner_cfg(), | ||
| runner_cls=VelocityOnPolicyRunner, | ||
| ) | ||
|
|
||
| register_mjlab_task( | ||
| task_id="Mjlab-Velocity-Rough-Pal-Kangaroo-Hands", | ||
| env_cfg=pal_kangaroo_hands_rough_env_cfg(), | ||
| play_env_cfg=pal_kangaroo_hands_rough_env_cfg(play=True), | ||
| rl_cfg=pal_kangaroo_ppo_runner_cfg(), | ||
| runner_cls=VelocityOnPolicyRunner, | ||
| ) | ||
|
|
||
| register_mjlab_task( | ||
| task_id="Mjlab-Velocity-Rough-Pal-Kangaroo-Grippers", | ||
| env_cfg=pal_kangaroo_grippers_rough_env_cfg(), | ||
| play_env_cfg=pal_kangaroo_grippers_rough_env_cfg(play=True), | ||
| rl_cfg=pal_kangaroo_ppo_runner_cfg(), | ||
| runner_cls=VelocityOnPolicyRunner, | ||
| ) |
Member
There was a problem hiding this comment.
Shall we comment them out, until we figure something out for the 4DoF variant
Collaborator
Author
There was a problem hiding this comment.
yes, I think that would be better
Comment on lines
+442
to
+443
| "x": (-0.05, 0.05), | ||
| "y": (-0.05, 0.05), |
Member
There was a problem hiding this comment.
That small, can't we increase it o 20 cms?
Collaborator
Author
There was a problem hiding this comment.
Yes, it was a leftover from earlier experiments.
Co-authored-by: Sai Kishor Kothakota <sai.kishor@pal-robotics.com>
Collaborator
Author
|
I have applied your suggestions @saikishor, with two additional changes:
Now with std = sqrt(0.1)
Before with std = sqrt(0.0225)
|
Member
Double agreed
I think it is a wise choice |
saikishor
requested changes
Sep 8, 2026
saikishor
left a comment
Member
There was a problem hiding this comment.
Rest LGTM. Please also update the release notes.
Thank you
Comment on lines
+7
to
13
| # pal_kangaroo_grippers_rough_env_cfg, | ||
| pal_kangaroo_hands_flat_env_cfg, | ||
| pal_kangaroo_hands_rough_env_cfg, | ||
| # pal_kangaroo_hands_rough_env_cfg, | ||
| pal_kangaroo_lower_body_flat_env_cfg, | ||
| pal_kangaroo_lower_body_rough_env_cfg, | ||
| pal_kangaroo_rough_env_cfg, | ||
| ) |
Member
There was a problem hiding this comment.
Suggested change
| # pal_kangaroo_grippers_rough_env_cfg, | |
| pal_kangaroo_hands_flat_env_cfg, | |
| pal_kangaroo_hands_rough_env_cfg, | |
| # pal_kangaroo_hands_rough_env_cfg, | |
| pal_kangaroo_lower_body_flat_env_cfg, | |
| pal_kangaroo_lower_body_rough_env_cfg, | |
| pal_kangaroo_rough_env_cfg, | |
| ) | |
| pal_kangaroo_hands_flat_env_cfg, | |
| pal_kangaroo_lower_body_flat_env_cfg, | |
| pal_kangaroo_rough_env_cfg, | |
| pal_kangaroo_lower_body_rough_env_cfg, | |
| # pal_kangaroo_grippers_rough_env_cfg, | |
| # pal_kangaroo_hands_rough_env_cfg, | |
| ) |
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.


Cleans up #89 to only add the absolutely necessary terms.