Skip to content

[pull] develop from isaac-sim:develop - #83

Merged
pull[bot] merged 1 commit into
mataylor-nvidia:developfrom
isaac-sim:develop
Sep 29, 2026
Merged

pull[bot] merged 1 commit into
mataylor-nvidia:developfrom
isaac-sim:develop

Conversation

@pull

@pull pull Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

# Description

Cassie/H1/Go2 velocity tasks converge on a badly lopsided gait: one leg
stays planted while the other
hangs, which reads as "standing on one leg" in playback. 

`feet_air_time_positive_biped` scores the length of the current
single-stance phase and takes the
minimum over the two feet:

```python
in_mode_time  = torch.where(in_contact, contact_time, air_time)
single_stance = torch.sum(in_contact.int(), dim=1) == 1
reward = torch.min(torch.where(single_stance.unsqueeze(-1), in_mode_time, 0.0), dim=1)[0]
reward = torch.clamp(reward, max=threshold)
```

Nothing in it distinguishes left from right or asks the feet to
alternate. Holding one foot planted
and the other airborne lets both timers run and sits at the clamp, while
a symmetric gait scores lower.

This PR adds `feet_air_time_variance`, the variance across feet of the
last completed swing and
stance durations, and enables it on all the three tasks. It vanishes
when both feet are loaded
equally, so it prices the exploit without constraining anything else.


## Type of change

- New feature (non-breaking change which adds functionality)

Policies trained on these two tasks will differ from ones trained before
this change. Setting
`env.rewards.air_time_variance.weight=0.0` recovers the previous reward
exactly.

## Release backport

- [ ] <!-- backport-active-release --> Backport this pull request to the
active release branch after it merges into `develop`

## Checklist

- [x] I have read and understood the [contribution
guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html)
- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [x] I have added a changelog fragment under
`source/<pkg>/changelog.d/` for every touched package
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there

---------

Co-authored-by: ooctipus <zhengyuz@nvidia.com>
@pull pull Bot locked and limited conversation to collaborators Sep 29, 2026
@pull pull Bot added the ⤵️ pull label Sep 29, 2026
@pull
pull Bot merged commit 9f95f70 into mataylor-nvidia:develop Sep 29, 2026
5 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant